Show CIFS mount inforrmation (cifsshow)ΒΆ

The cifsshow command displays information about CIFS mounts. Example:

CIFS Version 2.37
Features:  DFS,WEAK_PW_HASH,CIFS_POSIX,UPCALL(SPNEGO),XATTR,ACL
CIFSMasBufSize: 16384
Active VFS Requests: 19
Servers:
cifs_tcp_ses_list = 0xffffffffc12d45d0
1) (struct TCP_Server_Info *)0xffff90a14aa4d000
     version: 3.1.1  sec_mode: 0x3 (MAY_SIGN | MAY_NTLM)
     hostname: 'vm1'
     task: (struct task_struct *)0xffff90a14aa5c740 - pid: 3785 - cifsd
     TCP Status: 0x5 (CifsInNegotiate)
     last response 94 jiffies (00:00.094)
     socket: (struct socket *)0xffff90a111f45040, (struct sock *)0xffff90a133705f40
       ip sock: tcp   192.168.122.50:54960 192.168.122.73:445 ESTABLISHED
       .segs_in: 2, .segs_out: 3
       rcv_tstamp: 4294852244, j_delay: 0.09 s
     pending_mid_q has 1 entries: list -H 0xffff90a14aa4d1b0 -s mid_q_entry
         (struct mid_q_entry *)0xffff90a14e25ef40 mid: 0x00000000 MID_REQUEST_SUBMITTED    Negotiate Protocol
             allocated 90 jiffies ago (00:00.090) by pid 3658 - kworker/9:3
     0 smb session(s): list -H 0xffff90a14aa4d010 -o cifs_ses.smb_ses_list -s cifs_ses
2) (struct TCP_Server_Info *)0xffff90a14a966800
     version: 3.1.1  sec_mode: 0x3 (MAY_SIGN | MAY_NTLM)
     hostname: 'vm1'
     task: (struct task_struct *)0xffff90a1062d23c0 - pid: 3760 - cifsd
     TCP Status: 0x1 (CifsGood)
     last response 40 jiffies (00:00.040)
     socket: (struct socket *)0xffff90a111f45840, (struct sock *)0xffff90a11df009c0
       ip sock: tcp   192.168.122.50:54890 192.168.122.73:445 ESTABLISHED
       .segs_in: 3, .segs_out: 4
       rcv_tstamp: 4294852292, j_delay: 0.04 s
     pending_mid_q has 0 entries: list -H 0xffff90a14a9669b0 -s mid_q_entry
     0 smb session(s): list -H 0xffff90a14a966810 -o cifs_ses.smb_ses_list -s cifs_ses
3) (struct TCP_Server_Info *)0xffff90a151c85000
     version: 3.1.1  sec_mode: 0x3 (MAY_SIGN | MAY_NTLM)
     hostname: 'vm1'
     task: (struct task_struct *)0xffff90a106368040 - pid: 3755 - cifsd
     TCP Status: 0x5 (CifsInNegotiate)
     last response 100 jiffies (00:00.100)
     socket: (struct socket *)0xffff90a111f44440, (struct sock *)0xffff90a11df02640
       ip sock: tcp   192.168.122.50:54894 192.168.122.73:445 ESTABLISHED
       .segs_in: 2, .segs_out: 3
       rcv_tstamp: 4294852236, j_delay: 0.10 s
     pending_mid_q has 1 entries: list -H 0xffff90a151c851b0 -s mid_q_entry
         (struct mid_q_entry *)0xffff90a14e25f080 mid: 0x00000000 MID_REQUEST_SUBMITTED    Negotiate Protocol
             allocated 99 jiffies ago (00:00.099) by pid 335 - kworker/9:2
     0 smb session(s): list -H 0xffff90a151c85010 -o cifs_ses.smb_ses_list -s cifs_ses
4) (struct TCP_Server_Info *)0xffff90a106370800
     version: 3.1.1  sec_mode: 0x3 (MAY_SIGN | MAY_NTLM)
     hostname: 'vm1'
     task: (struct task_struct *)0xffff90a106fba3c0 - pid: 3404 - cifsd
     TCP Status: 0x1 (CifsGood)
     last response 22 jiffies (00:00.022)
     socket: (struct socket *)0xffff90a10881a040, (struct sock *)0xffff90a133704c40
       ip sock: tcp   192.168.122.50:55082 192.168.122.73:445 ESTABLISHED
       .segs_in: 5, .segs_out: 6
       rcv_tstamp: 4294852310, j_delay: 0.02 s
     pending_mid_q has 1 entries: list -H 0xffff90a1063709b0 -s mid_q_entry
         (struct mid_q_entry *)0xffff90a12e35acc0 mid: 0x00000002 MID_REQUEST_SUBMITTED    Session Setup
             allocated 22 jiffies ago (00:00.022) by pid 3808 - find
     1 smb session(s): list -H 0xffff90a106370810 -o cifs_ses.smb_ses_list -s cifs_ses
       0) (struct cifs_ses *)0xffff90a106376800
         .serverDomain: 'None'
         .user_name: 'user1', domainName: ''
         .ses_count: 3, capabilities: 0x300047: CAP_RAW_MODE | CAP_MPX_MODE | CAP_UNICODE | CAP_STATUS32 | 0x300000
         .SMB session status: CifsNeedNegotiate  DISCONNECTED

         .tcon_ipc: (struct cifs_tcon *)0xffff90a10861e800 - tree: '\\vm1\IPC$', need_reconnect: True
         .ipc: True, .pipe: True, .retry: False, .nocase: False, .seal: False
         .unix_ext: False, .local_lease: False, .broken_posix_open: False
         .broken_sparse_sup: False, .need_reopen_files: False
         .use_resilient: False, .use_persistent: False
         .bytes_read: 0, .bytes_written: 0
         .capabilities: 0x0 -
         open files: list -H 0xffff90a10861e838 -s cifsFileInfo
         .tcon_list: list -H 0xffff90a106376820 -s cifs_tcon
      1) (struct cifs_tcon *)0xffff90a1381a0800 - tree: '\\vm1\dfs', need_reconnect: True
         .ipc: False, .pipe: False, .retry: False, .nocase: False, .seal: False
         .unix_ext: False, .local_lease: False, .broken_posix_open: False
         .broken_sparse_sup: False, .need_reopen_files: False
         .use_resilient: False, .use_persistent: False
         .bytes_read: 0, .bytes_written: 0
         .capabilities: 0x8 - SMB2_SHARE_CAP_DFS
         open files: list -H 0xffff90a1381a0838 -s cifsFileInfo