SMB3.1.1 POSIX Extensions: statfs

Steve French smfrench at gmail.com
Thu Jun 21 07:26:46 UTC 2018


Output for "stat -f" (statfs) experiment with POSIX SMB3.11 extensions
against jra's current tree
(without the extensions, data looks very different)

root at smf-Thinkpad-P51:~/cifs-2.6# cat /proc/mounts | grep smb3
//127.0.0.1/scratch /mnt1 smb3
rw,relatime,vers=3.1.1,cache=strict,username=testuser,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,posix,posixpaths,serverino,mapposix,noperm,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1
0 0

root at smf-Thinkpad-P51:~/cifs-2.6# stat -f /mnt1
  File: "/mnt1"
    ID: 0        Namelen: 4096    Type: smb2
Block size: 4096       Fundamental block size: 4096
Blocks: Total: 58701044   Free: 10080249   Available: 7080966
Inodes: Total: 14983168   Free: 13901538

Compare with the actual "stat -f" output against the local directory:

root at smf-Thinkpad-P51:~/cifs-2.6# stat -f /scratch
  File: "/scratch"
    ID: e94471edc7140504 Namelen: 255     Type: ext2/ext3
Block size: 4096       Fundamental block size: 4096
Blocks: Total: 58701044   Free: 10080127   Available: 7080844
Inodes: Total: 14983168   Free: 13901536



-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-add-support-for-statfs-for-smb3.1.1-posix-exten.patch
Type: text/x-patch
Size: 6653 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180621/6316b2f6/0001-smb3-add-support-for-statfs-for-smb3.1.1-posix-exten.bin>


More information about the samba-technical mailing list