mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) [ 205.641825] CIFS: fs/cifs/cifsfs.c: Devname: //nonsuch/myshare/folder flags: 1 [ 205.641862] CIFS: fs/cifs/connect.c: iocharset set to utf8 [ 205.641900] CIFS: fs/cifs/connect.c: Username: myuser [ 205.641903] CIFS: fs/cifs/connect.c: file mode: 0444 dir mode: 0555 [ 205.641906] CIFS: fs/cifs/connect.c: VFS: in mount_get_conns as Xid: 5 with uid: 0 [ 205.641907] CIFS: fs/cifs/connect.c: UNC: \\nonsuch\myshare [ 205.641925] CIFS: fs/cifs/connect.c: Socket created [ 205.641927] CIFS: fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x1b58 [ 205.642203] CIFS: fs/cifs/connect.c: VFS: in cifs_get_smb_ses as Xid: 6 with uid: 0 [ 205.642204] CIFS: fs/cifs/connect.c: Existing smb sess not found [ 205.642208] CIFS: fs/cifs/connect.c: Demultiplex PID: 2078 [ 205.642209] CIFS: fs/cifs/smb2pdu.c: Negotiate protocol [ 205.642241] CIFS: fs/cifs/transport.c: Sending smb: smb_len=106 [ 205.642451] CIFS: fs/cifs/connect.c: RFC1002 header 0x80 [ 205.642457] CIFS: fs/cifs/smb2misc.c: SMB2 data length 0 offset 128 [ 205.642458] CIFS: fs/cifs/smb2misc.c: SMB2 len 129 [ 205.642460] CIFS: fs/cifs/smb2misc.c: Calculated size 129 length 128 mismatch mid 0 [ 205.642476] CIFS: fs/cifs/transport.c: cifs_sync_mid_result: cmd=0 mid=0 state=4 [ 205.642480] CIFS: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 205.642482] CIFS: fs/cifs/smb2pdu.c: mode 0x1 [ 205.642483] CIFS: fs/cifs/smb2pdu.c: negotiated smb3.0 dialect [ 205.642484] CIFS: fs/cifs/smb2pdu.c: missing security blob on negprot [ 205.642486] CIFS: fs/cifs/connect.c: Security Mode: 0x1 Capabilities: 0x300057 TimeAdjust: 0 [ 205.642488] CIFS: fs/cifs/smb2pdu.c: Session Setup [ 205.642489] CIFS: fs/cifs/smb2pdu.c: sess setup type 4 [ 205.642494] CIFS: fs/cifs/transport.c: Sending smb: smb_len=124 [ 205.642759] CIFS: fs/cifs/connect.c: RFC1002 header 0xf2 [ 205.642763] CIFS: fs/cifs/smb2misc.c: SMB2 data length 170 offset 72 [ 205.642763] CIFS: fs/cifs/smb2misc.c: SMB2 len 242 [ 205.642776] CIFS: fs/cifs/transport.c: cifs_sync_mid_result: cmd=1 mid=1 state=4 [ 205.642779] CIFS: Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED [ 205.642826] CIFS: fs/cifs/smb2maperror.c: Mapping SMB2 status code 0xc0000016 to POSIX err -5 [ 205.642827] CIFS: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 205.642829] CIFS: fs/cifs/smb2pdu.c: rawntlmssp session setup challenge phase [ 205.642855] CIFS: fs/cifs/transport.c: Sending smb: smb_len=336 [ 205.644914] CIFS: fs/cifs/connect.c: RFC1002 header 0x48 [ 205.644917] CIFS: fs/cifs/smb2misc.c: SMB2 data length 0 offset 72 [ 205.644919] CIFS: fs/cifs/smb2misc.c: SMB2 len 73 [ 205.644921] CIFS: fs/cifs/smb2misc.c: Calculated size 73 length 72 mismatch mid 2 [ 205.644940] CIFS: fs/cifs/transport.c: cifs_sync_mid_result: cmd=1 mid=2 state=4 [ 205.644943] CIFS: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 205.644962] CIFS: fs/cifs/smb2pdu.c: SMB2/3 session established successfully [ 205.644966] CIFS: fs/cifs/connect.c: VFS: leaving cifs_get_smb_ses (xid = 6) rc = 0 [ 205.644970] CIFS: fs/cifs/connect.c: VFS: in cifs_setup_ipc as Xid: 7 with uid: 0 [ 205.644971] CIFS: fs/cifs/smb2pdu.c: TCON [ 205.645009] CIFS: fs/cifs/smb2ops.c: Encrypt message returned 0 [ 205.645015] CIFS: fs/cifs/transport.c: Sending smb: smb_len=188 [ 205.645184] CIFS: fs/cifs/connect.c: Received no data or error: 0 [ 205.645187] CIFS: fs/cifs/connect.c: cifs_reconnect: will not do DFS failover: rc = -22 [ 205.645189] CIFS: fs/cifs/connect.c: cifs_reconnect: will retry 1 target(s) [ 205.645191] CIFS: fs/cifs/connect.c: Mark tcp session as need reconnect [ 205.645192] CIFS: fs/cifs/connect.c: cifs_reconnect: marking sessions and tcons for reconnect [ 205.645194] CIFS: fs/cifs/connect.c: cifs_reconnect: tearing down socket [ 205.645196] CIFS: fs/cifs/connect.c: State: 0x3 Flags: 0x0 [ 205.645221] CIFS: fs/cifs/connect.c: Post shutdown state: 0x3 Flags: 0x0 [ 205.645227] CIFS: fs/cifs/connect.c: cifs_reconnect: moving mids to private list [ 205.645228] CIFS: fs/cifs/connect.c: cifs_reconnect: issuing mid callbacks [ 205.645243] CIFS: fs/cifs/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\nonsuch [ 205.645250] CIFS: fs/cifs/transport.c: cifs_sync_mid_result: cmd=3 mid=3 state=8 [ 205.645253] CIFS: fs/cifs/dns_resolve.c: dns_resolve_server_name_to_ip: resolved: nonsuch to 10.45.1.72 [ 205.645255] CIFS: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release [ 205.645258] CIFS: fs/cifs/connect.c: VFS: leaving cifs_setup_ipc (xid = 7) rc = -11 [ 205.645260] CIFS: VFS: \\nonsuch failed to connect to IPC (rc=-11) [ 205.645305] CIFS: fs/cifs/connect.c: Socket created [ 205.645321] CIFS: fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x1b58 [ 205.645323] CIFS: fs/cifs/connect.c: VFS: in cifs_get_tcon as Xid: 8 with uid: 0 [ 205.645324] CIFS: fs/cifs/smb2pdu.c: TCON [ 205.645489] CIFS: fs/cifs/smb2ops.c: set credits to 1 due to smb2 reconnect [ 205.645499] CIFS: fs/cifs/smb2pdu.c: In echo request [ 205.645501] CIFS: fs/cifs/smb2pdu.c: Need negotiate, reconnecting tcons [ 205.645503] CIFS: fs/cifs/smb2ops.c: trying to put 1 credits from the old server instance 1 [ 205.645503] CIFS: fs/cifs/smb2pdu.c: Reconnecting tcons finished [ 205.645505] CIFS: fs/cifs/smb2ops.c: add 1 credits total=3 [ 205.645507] CIFS: fs/cifs/connect.c: VFS: leaving cifs_get_tcon (xid = 8) rc = -11 [ 205.645508] CIFS: fs/cifs/connect.c: Tcon rc = -11 [ 205.645510] CIFS: fs/cifs/connect.c: build_unc_path_to_root: full_path=\\nonsuch\myshare [ 205.645511] CIFS: fs/cifs/connect.c: build_unc_path_to_root: full_path=\\nonsuch\myshare\folder [ 205.645512] CIFS: fs/cifs/connect.c: build_unc_path_to_root: full_path=\\nonsuch\myshare\folder [ 205.645515] CIFS: fs/cifs/dfs_cache.c: __dfs_cache_find: search path: \nonsuch\myshare [ 205.645517] CIFS: fs/cifs/dfs_cache.c: get_dfs_referral: get an DFS referral for \nonsuch\myshare [ 205.645518] CIFS: fs/cifs/smb2ops.c: smb2_get_dfs_refer: path: \nonsuch\myshare [ 205.645519] CIFS: VFS: session 000000002e67514d has no tcon available for a dfs referral request [ 205.645559] CIFS: fs/cifs/dfs_cache.c: dfs_cache_noreq_find: path: \nonsuch\myshare [ 205.645560] CIFS: fs/cifs/connect.c: cifs_put_smb_ses: ses_count=1 [ 205.645562] CIFS: fs/cifs/connect.c: VFS: in cifs_put_smb_ses as Xid: 9 with uid: 0 [ 205.645563] CIFS: fs/cifs/smb2pdu.c: disconnect session 000000002e67514d [ 205.645582] CIFS: fs/cifs/connect.c: VFS: leaving mount_put_conns (xid = 5) rc = 0 [ 205.645583] CIFS: VFS: cifs_mount failed w/return code = -2