Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@linuxserver ~/scripts]# modprobe cifs
- [root@linuxserver ~/scripts]# echo 7 > /proc/fs/cifs/cifsFYI
- [root@linuxserver ~/scripts]# mount -t cifs -o username=administrator,password=1 //192.168.0.11/jobs /mnt/backups/montaz/jobs
- [root@linuxserver ~/scripts]# ls /mnt/backups/montaz/jobs/
- ls: reading directory /mnt/backups/montaz/jobs/: Input/output error
- total 0
- [root@linuxserver ~/scripts]# cat /proc/fs/cifs/DebugData
- Display Internal CIFS Data Structures for Debugging
- ---------------------------------------------------
- CIFS Version 1.76
- Features: dfs fscache lanman posix spnego xattr acl
- Active VFS Requests: 0
- Servers:
- 1) Name: 192.168.0.11 Domain: WORKGROUP Uses: 1 OS: Windows 5.1
- NOS: Windows 2000 LAN Manager Capability: 0xe3fd
- SMB session status: 1 TCP status: 1
- Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
- Shares:
- 1) \\192.168.0.11\jobs Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x700ff
- PathComponentMax: 255 Status: 0x1 type: DISK
- MIDs:
- [root@linuxserver ~/scripts]# umount /mnt/backups/montaz/jobs
- [root@linuxserver ~/scripts]# echo 0 > /proc/fs/cifs/cifsFYI
- [96232.010437] device eth1 entered promiscuous mode
- [96255.800611] fs/cifs/cifsfs.c: Devname: //192.168.0.11/jobs/ flags: 0
- [96255.800617] fs/cifs/connect.c: Username: administrator
- [96255.800620] fs/cifs/connect.c: file mode: 0x1ed dir mode: 0x1ed
- [96255.800661] fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 737638 with uid: 0
- [96255.800663] fs/cifs/connect.c: UNC: \\192.168.0.11\jobs ip: 192.168.0.11
- [96255.800675] fs/cifs/connect.c: Socket created
- [96255.800676] fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x834
- [96255.800826] fs/cifs/fscache.c: cifs_fscache_get_client_cookie: (0xffff88001e61ec00/0xffff88015952a230)
- [96255.800830] fs/cifs/connect.c: Demultiplex PID: 14482
- [96255.800835] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 737639 with uid: 0
- [96255.800837] fs/cifs/connect.c: Existing smb sess not found
- [96255.800842] fs/cifs/cifssmb.c: secFlags 0x7
- [96255.800845] fs/cifs/transport.c: For smb_command 114
- [96255.800847] fs/cifs/transport.c: Sending smb: total_len 82
- [96255.801125] fs/cifs/connect.c: RFC1002 header 0x6f
- [96255.801135] fs/cifs/transport.c: cifs_sync_mid_result: cmd=114 mid=1 state=4
- [96255.801138] fs/cifs/cifssmb.c: Dialect: 2
- [96255.801139] fs/cifs/cifssmb.c: negprot rc 0
- [96255.801141] fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0xe3fd TimeAdjust: -7200
- [96255.801143] fs/cifs/sess.c: sess setup type 1
- [96255.801162] fs/cifs/transport.c: For smb_command 115
- [96255.801163] fs/cifs/transport.c: Sending smb: total_len 244
- [96255.802356] fs/cifs/connect.c: RFC1002 header 0x87
- [96255.802367] fs/cifs/transport.c: cifs_sync_mid_result: cmd=115 mid=2 state=4
- [96255.802369] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
- [96255.802371] fs/cifs/sess.c: Guest login
- [96255.802372] fs/cifs/sess.c: UID = 2048
- [96255.802373] fs/cifs/sess.c: bleft 93
- [96255.802376] fs/cifs/sess.c: serverOS=Windows 5.1
- [96255.802378] fs/cifs/sess.c: serverNOS=Windows 2000 LAN Manager
- [96255.802379] fs/cifs/sess.c: serverDomain=WORKGROUP
- [96255.802381] fs/cifs/sess.c: ssetup freeing small buf ffff880159638a80
- [96255.802383] fs/cifs/connect.c: CIFS Session Established successfully
- [96255.802384] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 737639) rc = 0
- [96255.802387] fs/cifs/connect.c: CIFS VFS: in cifs_get_tcon as Xid: 737640 with uid: 0
- [96255.802389] fs/cifs/transport.c: For smb_command 117
- [96255.802391] fs/cifs/transport.c: Sending smb: total_len 94
- [96255.802708] fs/cifs/connect.c: RFC1002 header 0x3e
- [96255.802714] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=3 state=4
- [96255.802716] fs/cifs/connect.c: disk share connection
- [96255.802718] fs/cifs/connect.c: nativeFileSystem=NTFS
- [96255.802719] fs/cifs/connect.c: Tcon flags: 0x1
- [96255.802721] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_tcon (xid = 737640) rc = 0
- [96255.802722] fs/cifs/connect.c: CIFS Tcon rc = 0
- [96255.802724] fs/cifs/fscache.c: cifs_fscache_get_super_cookie: (0xffff88015952a230/0xffff88015952a280)
- [96255.802726] fs/cifs/cifssmb.c: In QFSDeviceInfo
- [96255.802728] fs/cifs/transport.c: For smb_command 50
- [96255.802729] fs/cifs/transport.c: Sending smb: total_len 72
- [96255.802993] fs/cifs/connect.c: RFC1002 header 0x40
- [96255.803000] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=4 state=4
- [96255.803002] fs/cifs/cifssmb.c: In QFSAttributeInfo
- [96255.803004] fs/cifs/transport.c: For smb_command 50
- [96255.803005] fs/cifs/transport.c: Sending smb: total_len 72
- [96255.803280] fs/cifs/connect.c: RFC1002 header 0x4c
- [96255.803286] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=5 state=4
- [96255.803289] fs/cifs/connect.c: build_unc_path_to_root: full_path=\\192.168.0.11\jobs
- [96255.803292] fs/cifs/transport.c: For smb_command 117
- [96255.803293] fs/cifs/transport.c: Sending smb: total_len 94
- [96255.803566] fs/cifs/connect.c: RFC1002 header 0x38
- [96255.803573] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=6 state=4
- [96255.803575] fs/cifs/connect.c: CIFS Tcon rc = 0 ipc_tid = 2049
- [96255.803577] fs/cifs/cifssmb.c: In GetDFSRefer the path \192.168.0.11\jobs
- [96255.803579] fs/cifs/transport.c: For smb_command 50
- [96255.803580] fs/cifs/transport.c: Sending smb: total_len 112
- [96255.803666] fs/cifs/connect.c: RFC1002 header 0x23
- [96255.803669] fs/cifs/connect.c: invalid transact2 word count
- [96255.803673] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=7 state=4
- [96255.803677] Status code returned 0xc000019c NT_STATUS_FS_DRIVER_REQUIRED
- [96255.804942] fs/cifs/netmisc.c: Mapping smb error code 0xc000019c to POSIX err -5
- [96255.804945] fs/cifs/cifssmb.c: Send error in GetDFSRefer = -5
- [96255.804948] fs/cifs/transport.c: For smb_command 50
- [96255.804949] fs/cifs/transport.c: Sending smb: total_len 78
- [96255.805292] fs/cifs/connect.c: RFC1002 header 0x8e
- [96255.805300] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=8 state=4
- [96255.805304] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 737638) rc = 0
- [96255.805311] fs/cifs/inode.c: CIFS VFS: in cifs_root_iget as Xid: 737641 with uid: 0
- [96255.805313] fs/cifs/inode.c: Getting info on
- [96255.805315] fs/cifs/transport.c: For smb_command 50
- [96255.805316] fs/cifs/transport.c: Sending smb: total_len 78
- [96255.805655] fs/cifs/connect.c: RFC1002 header 0x8e
- [96255.805661] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=9 state=4
- [96255.805664] fs/cifs/cifssmb.c: In GetSrvInodeNum for
- [96255.805666] fs/cifs/transport.c: For smb_command 50
- [96255.805667] fs/cifs/transport.c: Sending smb: total_len 78
- [96255.805983] fs/cifs/connect.c: RFC1002 header 0x44
- [96255.805989] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=10 state=4
- [96255.805991] fs/cifs/inode.c: looking for uniqueid=2533274790407992
- [96255.805995] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
- [96255.805997] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is new
- [96255.805999] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=0 new_time=4323754040
- [96255.806002] fs/cifs/cifsfs.c: Get root dentry for
- [96255.806003] fs/cifs/cifsfs.c: dentry root is: ffff880108187f00
- [96268.118532] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate_dentry_attr as Xid: 737642 with uid: 0
- [96268.118536] fs/cifs/inode.c: Update attributes: inode 0xffff880028ce6b30 count 1 dentry: 0xffff880108187f00 d_time 4320114290 jiffies 4323757734
- [96268.118539] fs/cifs/inode.c: Getting info on
- [96268.118544] fs/cifs/transport.c: For smb_command 50
- [96268.118545] fs/cifs/transport.c: Sending smb: total_len 78
- [96268.118954] fs/cifs/connect.c: RFC1002 header 0x8e
- [96268.118965] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=11 state=4
- [96268.118970] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
- [96268.118972] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is unchanged
- [96268.118974] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=4323754040 new_time=4323757734
- [96268.118976] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate_dentry_attr (xid = 737642) rc = 0
- [96268.786887] fs/cifs/xattr.c: CIFS VFS: in cifs_getxattr as Xid: 737643 with uid: 0
- [96268.786891] fs/cifs/xattr.c: CIFS VFS: leaving cifs_getxattr (xid = 737643) rc = -95
- [96268.787074] fs/cifs/readdir.c: CIFS VFS: in cifs_readdir as Xid: 737644 with uid: 0
- [96268.787076] fs/cifs/readdir.c: Full path: start at: 0
- [96268.787078] fs/cifs/cifssmb.c: In FindFirst for
- [96268.787083] fs/cifs/transport.c: For smb_command 50
- [96268.787086] fs/cifs/transport.c: Sending smb: total_len 88
- [96268.787690] fs/cifs/connect.c: RFC1002 header 0x1104
- [96268.787697] fs/cifs/connect.c: missing 12048 bytes from transact2, check next response
- [96268.787865] fs/cifs/connect.c: RFC1002 header 0x1104
- [96268.787870] fs/cifs/connect.c: missing 12036 bytes from transact2, check next response
- [96268.788037] fs/cifs/connect.c: RFC1002 header 0x1104
- [96268.788042] fs/cifs/connect.c: missing 12036 bytes from transact2, check next response
- [96268.788371] fs/cifs/connect.c: RFC1002 header 0xdb0
- [96268.788375] fs/cifs/connect.c: missing 12888 bytes from transact2, check next response
- [96268.788391] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=12 state=16
- [96268.788395] fs/cifs/cifssmb.c: Error in FindFirst = -5
- [96268.788397] fs/cifs/readdir.c: initiate cifs search rc -5
- [96268.788398] fs/cifs/readdir.c: CIFS VFS: leaving cifs_readdir (xid = 737644) rc = -5
- [96268.788469] fs/cifs/file.c: Closedir inode = 0xffff880028ce6b30
- [96268.788472] fs/cifs/file.c: CIFS VFS: in cifs_closedir as Xid: 737645 with uid: 0
- [96268.788473] fs/cifs/file.c: Freeing private data in close dir
- [96268.788475] fs/cifs/file.c: CIFS VFS: leaving cifs_closedir (xid = 737645) rc = 0
- [96288.827811] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate_dentry_attr as Xid: 737646 with uid: 0
- [96288.827815] fs/cifs/inode.c: Update attributes: inode 0xffff880028ce6b30 count 1 dentry: 0xffff880108187f00 d_time 4320114290 jiffies 4323763947
- [96288.827817] fs/cifs/inode.c: Getting info on
- [96288.827822] fs/cifs/transport.c: For smb_command 50
- [96288.827824] fs/cifs/transport.c: Sending smb: total_len 78
- [96288.828323] fs/cifs/connect.c: RFC1002 header 0x8e
- [96288.828334] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=13 state=4
- [96288.828339] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
- [96288.828341] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is unchanged
- [96288.828343] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=4323757734 new_time=4323763947
- [96288.828345] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate_dentry_attr (xid = 737646) rc = 0
- [96288.828478] fs/cifs/connect.c: cifs_put_tcon: tc_count=1
- [96288.828479]
- [96288.828481] fs/cifs/connect.c: CIFS VFS: in cifs_put_tcon as Xid: 737647 with uid: 0
- [96288.828482] fs/cifs/cifssmb.c: In tree disconnect
- [96288.828486] fs/cifs/transport.c: For smb_command 113
- [96288.828487] fs/cifs/transport.c: Sending smb: total_len 39
- [96288.828578] fs/cifs/connect.c: RFC1002 header 0x23
- [96288.828587] fs/cifs/transport.c: cifs_sync_mid_result: cmd=113 mid=14 state=4
- [96288.828592] fs/cifs/fscache.c: cifs_fscache_release_super_cookie: (0xffff88015952a280)
- [96288.828596] fs/cifs/connect.c: cifs_put_smb_ses: ses_count=1
- [96288.828596]
- [96288.828598] fs/cifs/connect.c: CIFS VFS: in cifs_put_smb_ses as Xid: 737648 with uid: 0
- [96288.828600] fs/cifs/cifssmb.c: In SMBLogoff for session disconnect
- [96288.828603] fs/cifs/transport.c: For smb_command 116
- [96288.828604] fs/cifs/transport.c: Sending smb: total_len 43
- [96288.828694] fs/cifs/connect.c: RFC1002 header 0x27
- [96288.828700] fs/cifs/transport.c: cifs_sync_mid_result: cmd=116 mid=15 state=4
- [96288.828708] fs/cifs/fscache.c: cifs_fscache_release_client_cookie: (0xffff88001e61ec00/0xffff88015952a230)
- [96304.507291] device eth1 left promiscuous mode
Advertisement
Add Comment
Please, Sign In to add comment