cifs / DFS mount

Yuri Chornoivan yurchor at ukr.net
Mon May 3 07:53:53 BST 2021


понеділок, 3 травня 2021 р. 09:21:43 EEST Domenico Cacciari написано:
> Hi,
> 
> since tow weeks, after some updates, I'm not able to mount DFS anymore.
> 
> In syslog at startup I don't have a real error but only:
> 
> 
> May  3 07:38:27 my-pc-hostname systemd[1]: Mounting /mnt/dfs-mount-point...
> May  3 07:38:27 my-pc-hostname systemd[1]: Condition check resulted in
> Automatically configures the flathub.org flatpak repository being skipped.
> May  3 07:38:27 my-pc-hostname systemd[1]: man-db.service: Succeeded.
> May  3 07:38:27 my-pc-hostname systemd[1]: Finished Daily man-db
> regeneration.
> May  3 07:38:28 my-pc-hostname kernel: [    8.595177] FS-Cache: Loaded
> May  3 07:38:28 my-pc-hostname kernel: [    8.607151] FS-Cache: Netfs
> 'cifs' registered for caching
> May  3 07:38:28 my-pc-hostname kernel: [    8.609399] Key type
> cifs.spnego registered
> May  3 07:38:28 my-pc-hostname kernel: [    8.609400] Key type
> cifs.idmap registered
> May  3 07:38:28 my-pc-hostname kernel: [    8.609707] CIFS: Attempting
> to mount //my.domain/dfs-mount-point
> May  3 07:38:28 my-pc-hostname kernel: [    8.657519] CIFS VFS:
> Autodisabling the use of server inode numbers on new server.
> May  3 07:38:28 my-pc-hostname kernel: [    8.657520] CIFS VFS: The
> server doesn't seem to support them properly or the files might be on
> different servers (DFS).
> May  3 07:38:28 my-pc-hostname kernel: [    8.657521] CIFS VFS:
> Hardlinks will not be recognized on this mount. Consider mounting with
> the "noserverino" option to silence this message.
> May  3 07:38:28 my-pc-hostname systemd[1]: Mounted /mnt/dfs-mount-point.
> 
> 
> if I try adding option noserverino I get this error:
> 
> 
> May  3 08:09:23 my-pc-hostname systemd[2700]: mnt-dfs-mount-point.mount:
> Succeeded.
> May  3 08:09:23 my-pc-hostname systemd[1]: mnt-dfs-mount-point.mount:
> Succeeded.
> May  3 08:09:55 my-pc-hostname kernel: [ 1898.492759] CIFS: Attempting
> to mount //my.domain/dfs-mount-point
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.508854] CIFS: Attempting
> to mount //server-name.my.domain/dfs-mount-point/dir1
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509585] FS-Cache:
> Duplicate cookie detected
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509596] FS-Cache: O-cookie
> c=00000000754cb827 [p=00000000070eacae fl=222 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509600] FS-Cache: O-cookie
> d=00000000eb76ffec n=00000000f372b9d4
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509602] FS-Cache:
> O-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509611] FS-Cache: N-cookie
> c=000000003cb3530b [p=00000000070eacae fl=2 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509614] FS-Cache: N-cookie
> d=00000000eb76ffec n=000000001f319d0f
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.509616] FS-Cache:
> N-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511571] FS-Cache:
> Duplicate cookie detected
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511580] FS-Cache: O-cookie
> c=00000000754cb827 [p=00000000070eacae fl=222 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511584] FS-Cache: O-cookie
> d=00000000eb76ffec n=00000000f372b9d4
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511586] FS-Cache:
> O-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511595] FS-Cache: N-cookie
> c=000000003cb3530b [p=00000000070eacae fl=2 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511598] FS-Cache: N-cookie
> d=00000000eb76ffec n=00000000d6956da7
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.511600] FS-Cache:
> N-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.516794] CIFS VFS:
> cifs_read_super: get root inode failed
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.517648] CIFS: Attempting
> to mount //server-name.my.domain/dfs-mount-point/dir1
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518150] FS-Cache:
> Duplicate cookie detected
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518159] FS-Cache: O-cookie
> c=00000000754cb827 [p=00000000070eacae fl=222 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518163] FS-Cache: O-cookie
> d=00000000eb76ffec n=00000000f372b9d4
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518166] FS-Cache:
> O-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518174] FS-Cache: N-cookie
> c=00000000929a21cf [p=00000000070eacae fl=2 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518177] FS-Cache: N-cookie
> d=00000000eb76ffec n=000000002ef23f6c
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.518180] FS-Cache:
> N-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519727] FS-Cache:
> Duplicate cookie detected
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519736] FS-Cache: O-cookie
> c=00000000754cb827 [p=00000000070eacae fl=222 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519740] FS-Cache: O-cookie
> d=00000000eb76ffec n=00000000f372b9d4
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519743] FS-Cache:
> O-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519752] FS-Cache: N-cookie
> c=00000000929a21cf [p=00000000070eacae fl=2 nc=0 na=1]
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519755] FS-Cache: N-cookie
> d=00000000eb76ffec n=000000002ef23f6c
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.519757] FS-Cache:
> N-key=[7] '4f524d41444653'
> May  3 08:10:03 my-pc-hostname kernel: [ 1906.524828] CIFS VFS:
> cifs_read_super: get root inode failed
> 
> 
> What can I do?
> 
> Thanks,
> 
> Domenico

Hi,

This list is for KDE documentation writers so your question is off topic here.

According to this bug report

https://bugzilla.kernel.org/show_bug.cgi?id=200145

you can try the 'vers=4.0' mount option to avoid the error.

Hope this helps.

Best regards,
Yuri





More information about the kde-doc-english mailing list