Guest User

cifs

a guest
Dec 30th, 2011
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.89 KB | None | 0 0
  1. [root@linuxserver ~/scripts]# modprobe cifs
  2. [root@linuxserver ~/scripts]# echo 7 > /proc/fs/cifs/cifsFYI
  3. [root@linuxserver ~/scripts]# mount -t cifs -o username=administrator,password=1 //192.168.0.11/jobs /mnt/backups/montaz/jobs
  4. [root@linuxserver ~/scripts]# ls /mnt/backups/montaz/jobs/
  5. ls: reading directory /mnt/backups/montaz/jobs/: Input/output error
  6. total 0
  7. [root@linuxserver ~/scripts]# cat /proc/fs/cifs/DebugData
  8. Display Internal CIFS Data Structures for Debugging
  9. ---------------------------------------------------
  10. CIFS Version 1.76
  11. Features: dfs fscache lanman posix spnego xattr acl
  12. Active VFS Requests: 0
  13. Servers:
  14. 1) Name: 192.168.0.11 Domain: WORKGROUP Uses: 1 OS: Windows 5.1
  15. NOS: Windows 2000 LAN Manager Capability: 0xe3fd
  16. SMB session status: 1 TCP status: 1
  17. Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
  18. Shares:
  19. 1) \\192.168.0.11\jobs Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x700ff
  20. PathComponentMax: 255 Status: 0x1 type: DISK
  21.  
  22. MIDs:
  23.  
  24. [root@linuxserver ~/scripts]# umount /mnt/backups/montaz/jobs
  25. [root@linuxserver ~/scripts]# echo 0 > /proc/fs/cifs/cifsFYI
  26.  
  27.  
  28. [96232.010437] device eth1 entered promiscuous mode
  29. [96255.800611] fs/cifs/cifsfs.c: Devname: //192.168.0.11/jobs/ flags: 0
  30. [96255.800617] fs/cifs/connect.c: Username: administrator
  31. [96255.800620] fs/cifs/connect.c: file mode: 0x1ed dir mode: 0x1ed
  32. [96255.800661] fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 737638 with uid: 0
  33. [96255.800663] fs/cifs/connect.c: UNC: \\192.168.0.11\jobs ip: 192.168.0.11
  34. [96255.800675] fs/cifs/connect.c: Socket created
  35. [96255.800676] fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x834
  36. [96255.800826] fs/cifs/fscache.c: cifs_fscache_get_client_cookie: (0xffff88001e61ec00/0xffff88015952a230)
  37. [96255.800830] fs/cifs/connect.c: Demultiplex PID: 14482
  38. [96255.800835] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 737639 with uid: 0
  39. [96255.800837] fs/cifs/connect.c: Existing smb sess not found
  40. [96255.800842] fs/cifs/cifssmb.c: secFlags 0x7
  41. [96255.800845] fs/cifs/transport.c: For smb_command 114
  42. [96255.800847] fs/cifs/transport.c: Sending smb: total_len 82
  43. [96255.801125] fs/cifs/connect.c: RFC1002 header 0x6f
  44. [96255.801135] fs/cifs/transport.c: cifs_sync_mid_result: cmd=114 mid=1 state=4
  45. [96255.801138] fs/cifs/cifssmb.c: Dialect: 2
  46. [96255.801139] fs/cifs/cifssmb.c: negprot rc 0
  47. [96255.801141] fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0xe3fd TimeAdjust: -7200
  48. [96255.801143] fs/cifs/sess.c: sess setup type 1
  49. [96255.801162] fs/cifs/transport.c: For smb_command 115
  50. [96255.801163] fs/cifs/transport.c: Sending smb: total_len 244
  51. [96255.802356] fs/cifs/connect.c: RFC1002 header 0x87
  52. [96255.802367] fs/cifs/transport.c: cifs_sync_mid_result: cmd=115 mid=2 state=4
  53. [96255.802369] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
  54. [96255.802371] fs/cifs/sess.c: Guest login
  55. [96255.802372] fs/cifs/sess.c: UID = 2048
  56. [96255.802373] fs/cifs/sess.c: bleft 93
  57. [96255.802376] fs/cifs/sess.c: serverOS=Windows 5.1
  58. [96255.802378] fs/cifs/sess.c: serverNOS=Windows 2000 LAN Manager
  59. [96255.802379] fs/cifs/sess.c: serverDomain=WORKGROUP
  60. [96255.802381] fs/cifs/sess.c: ssetup freeing small buf ffff880159638a80
  61. [96255.802383] fs/cifs/connect.c: CIFS Session Established successfully
  62. [96255.802384] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 737639) rc = 0
  63. [96255.802387] fs/cifs/connect.c: CIFS VFS: in cifs_get_tcon as Xid: 737640 with uid: 0
  64. [96255.802389] fs/cifs/transport.c: For smb_command 117
  65. [96255.802391] fs/cifs/transport.c: Sending smb: total_len 94
  66. [96255.802708] fs/cifs/connect.c: RFC1002 header 0x3e
  67. [96255.802714] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=3 state=4
  68. [96255.802716] fs/cifs/connect.c: disk share connection
  69. [96255.802718] fs/cifs/connect.c: nativeFileSystem=NTFS
  70. [96255.802719] fs/cifs/connect.c: Tcon flags: 0x1
  71. [96255.802721] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_tcon (xid = 737640) rc = 0
  72. [96255.802722] fs/cifs/connect.c: CIFS Tcon rc = 0
  73. [96255.802724] fs/cifs/fscache.c: cifs_fscache_get_super_cookie: (0xffff88015952a230/0xffff88015952a280)
  74. [96255.802726] fs/cifs/cifssmb.c: In QFSDeviceInfo
  75. [96255.802728] fs/cifs/transport.c: For smb_command 50
  76. [96255.802729] fs/cifs/transport.c: Sending smb: total_len 72
  77. [96255.802993] fs/cifs/connect.c: RFC1002 header 0x40
  78. [96255.803000] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=4 state=4
  79. [96255.803002] fs/cifs/cifssmb.c: In QFSAttributeInfo
  80. [96255.803004] fs/cifs/transport.c: For smb_command 50
  81. [96255.803005] fs/cifs/transport.c: Sending smb: total_len 72
  82. [96255.803280] fs/cifs/connect.c: RFC1002 header 0x4c
  83. [96255.803286] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=5 state=4
  84. [96255.803289] fs/cifs/connect.c: build_unc_path_to_root: full_path=\\192.168.0.11\jobs
  85. [96255.803292] fs/cifs/transport.c: For smb_command 117
  86. [96255.803293] fs/cifs/transport.c: Sending smb: total_len 94
  87. [96255.803566] fs/cifs/connect.c: RFC1002 header 0x38
  88. [96255.803573] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=6 state=4
  89. [96255.803575] fs/cifs/connect.c: CIFS Tcon rc = 0 ipc_tid = 2049
  90. [96255.803577] fs/cifs/cifssmb.c: In GetDFSRefer the path \192.168.0.11\jobs
  91. [96255.803579] fs/cifs/transport.c: For smb_command 50
  92. [96255.803580] fs/cifs/transport.c: Sending smb: total_len 112
  93. [96255.803666] fs/cifs/connect.c: RFC1002 header 0x23
  94. [96255.803669] fs/cifs/connect.c: invalid transact2 word count
  95. [96255.803673] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=7 state=4
  96. [96255.803677] Status code returned 0xc000019c NT_STATUS_FS_DRIVER_REQUIRED
  97. [96255.804942] fs/cifs/netmisc.c: Mapping smb error code 0xc000019c to POSIX err -5
  98. [96255.804945] fs/cifs/cifssmb.c: Send error in GetDFSRefer = -5
  99. [96255.804948] fs/cifs/transport.c: For smb_command 50
  100. [96255.804949] fs/cifs/transport.c: Sending smb: total_len 78
  101. [96255.805292] fs/cifs/connect.c: RFC1002 header 0x8e
  102. [96255.805300] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=8 state=4
  103. [96255.805304] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 737638) rc = 0
  104. [96255.805311] fs/cifs/inode.c: CIFS VFS: in cifs_root_iget as Xid: 737641 with uid: 0
  105. [96255.805313] fs/cifs/inode.c: Getting info on
  106. [96255.805315] fs/cifs/transport.c: For smb_command 50
  107. [96255.805316] fs/cifs/transport.c: Sending smb: total_len 78
  108. [96255.805655] fs/cifs/connect.c: RFC1002 header 0x8e
  109. [96255.805661] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=9 state=4
  110. [96255.805664] fs/cifs/cifssmb.c: In GetSrvInodeNum for
  111. [96255.805666] fs/cifs/transport.c: For smb_command 50
  112. [96255.805667] fs/cifs/transport.c: Sending smb: total_len 78
  113. [96255.805983] fs/cifs/connect.c: RFC1002 header 0x44
  114. [96255.805989] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=10 state=4
  115. [96255.805991] fs/cifs/inode.c: looking for uniqueid=2533274790407992
  116. [96255.805995] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
  117. [96255.805997] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is new
  118. [96255.805999] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=0 new_time=4323754040
  119. [96255.806002] fs/cifs/cifsfs.c: Get root dentry for
  120. [96255.806003] fs/cifs/cifsfs.c: dentry root is: ffff880108187f00
  121. [96268.118532] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate_dentry_attr as Xid: 737642 with uid: 0
  122. [96268.118536] fs/cifs/inode.c: Update attributes: inode 0xffff880028ce6b30 count 1 dentry: 0xffff880108187f00 d_time 4320114290 jiffies 4323757734
  123. [96268.118539] fs/cifs/inode.c: Getting info on
  124. [96268.118544] fs/cifs/transport.c: For smb_command 50
  125. [96268.118545] fs/cifs/transport.c: Sending smb: total_len 78
  126. [96268.118954] fs/cifs/connect.c: RFC1002 header 0x8e
  127. [96268.118965] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=11 state=4
  128. [96268.118970] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
  129. [96268.118972] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is unchanged
  130. [96268.118974] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=4323754040 new_time=4323757734
  131. [96268.118976] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate_dentry_attr (xid = 737642) rc = 0
  132. [96268.786887] fs/cifs/xattr.c: CIFS VFS: in cifs_getxattr as Xid: 737643 with uid: 0
  133. [96268.786891] fs/cifs/xattr.c: CIFS VFS: leaving cifs_getxattr (xid = 737643) rc = -95
  134. [96268.787074] fs/cifs/readdir.c: CIFS VFS: in cifs_readdir as Xid: 737644 with uid: 0
  135. [96268.787076] fs/cifs/readdir.c: Full path: start at: 0
  136. [96268.787078] fs/cifs/cifssmb.c: In FindFirst for
  137. [96268.787083] fs/cifs/transport.c: For smb_command 50
  138. [96268.787086] fs/cifs/transport.c: Sending smb: total_len 88
  139. [96268.787690] fs/cifs/connect.c: RFC1002 header 0x1104
  140. [96268.787697] fs/cifs/connect.c: missing 12048 bytes from transact2, check next response
  141. [96268.787865] fs/cifs/connect.c: RFC1002 header 0x1104
  142. [96268.787870] fs/cifs/connect.c: missing 12036 bytes from transact2, check next response
  143. [96268.788037] fs/cifs/connect.c: RFC1002 header 0x1104
  144. [96268.788042] fs/cifs/connect.c: missing 12036 bytes from transact2, check next response
  145. [96268.788371] fs/cifs/connect.c: RFC1002 header 0xdb0
  146. [96268.788375] fs/cifs/connect.c: missing 12888 bytes from transact2, check next response
  147. [96268.788391] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=12 state=16
  148. [96268.788395] fs/cifs/cifssmb.c: Error in FindFirst = -5
  149. [96268.788397] fs/cifs/readdir.c: initiate cifs search rc -5
  150. [96268.788398] fs/cifs/readdir.c: CIFS VFS: leaving cifs_readdir (xid = 737644) rc = -5
  151. [96268.788469] fs/cifs/file.c: Closedir inode = 0xffff880028ce6b30
  152. [96268.788472] fs/cifs/file.c: CIFS VFS: in cifs_closedir as Xid: 737645 with uid: 0
  153. [96268.788473] fs/cifs/file.c: Freeing private data in close dir
  154. [96268.788475] fs/cifs/file.c: CIFS VFS: leaving cifs_closedir (xid = 737645) rc = 0
  155. [96288.827811] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate_dentry_attr as Xid: 737646 with uid: 0
  156. [96288.827815] fs/cifs/inode.c: Update attributes: inode 0xffff880028ce6b30 count 1 dentry: 0xffff880108187f00 d_time 4320114290 jiffies 4323763947
  157. [96288.827817] fs/cifs/inode.c: Getting info on
  158. [96288.827822] fs/cifs/transport.c: For smb_command 50
  159. [96288.827824] fs/cifs/transport.c: Sending smb: total_len 78
  160. [96288.828323] fs/cifs/connect.c: RFC1002 header 0x8e
  161. [96288.828334] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=13 state=4
  162. [96288.828339] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 2533274790407992
  163. [96288.828341] fs/cifs/inode.c: cifs_revalidate_cache: inode 2533274790407992 is unchanged
  164. [96288.828343] fs/cifs/inode.c: inode 0xffff880028ce6b30 old_time=4323757734 new_time=4323763947
  165. [96288.828345] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate_dentry_attr (xid = 737646) rc = 0
  166. [96288.828478] fs/cifs/connect.c: cifs_put_tcon: tc_count=1
  167. [96288.828479]
  168. [96288.828481] fs/cifs/connect.c: CIFS VFS: in cifs_put_tcon as Xid: 737647 with uid: 0
  169. [96288.828482] fs/cifs/cifssmb.c: In tree disconnect
  170. [96288.828486] fs/cifs/transport.c: For smb_command 113
  171. [96288.828487] fs/cifs/transport.c: Sending smb: total_len 39
  172. [96288.828578] fs/cifs/connect.c: RFC1002 header 0x23
  173. [96288.828587] fs/cifs/transport.c: cifs_sync_mid_result: cmd=113 mid=14 state=4
  174. [96288.828592] fs/cifs/fscache.c: cifs_fscache_release_super_cookie: (0xffff88015952a280)
  175. [96288.828596] fs/cifs/connect.c: cifs_put_smb_ses: ses_count=1
  176. [96288.828596]
  177. [96288.828598] fs/cifs/connect.c: CIFS VFS: in cifs_put_smb_ses as Xid: 737648 with uid: 0
  178. [96288.828600] fs/cifs/cifssmb.c: In SMBLogoff for session disconnect
  179. [96288.828603] fs/cifs/transport.c: For smb_command 116
  180. [96288.828604] fs/cifs/transport.c: Sending smb: total_len 43
  181. [96288.828694] fs/cifs/connect.c: RFC1002 header 0x27
  182. [96288.828700] fs/cifs/transport.c: cifs_sync_mid_result: cmd=116 mid=15 state=4
  183. [96288.828708] fs/cifs/fscache.c: cifs_fscache_release_client_cookie: (0xffff88001e61ec00/0xffff88015952a230)
  184. [96304.507291] device eth1 left promiscuous mode
Advertisement
Add Comment
Please, Sign In to add comment