SMB2_GETINFO and multi-volume shares.

Ira Cooper ira at
Wed Feb 6 06:42:55 MST 2013

We have a use-case where we export multiple "volumes" or "filesystems"
under one share.

If we do this, we find that dir is returning the incorrect amount of space
free in a given directory.

Please see the enclosed patch for master.  It has passed "basic" testing
locally. (Verifying the actual code works.) We've been using a similar
patch on 3.6 for a while now.

Feel free to review + push.  Once review is done, I'll open up a bug and
we'll get this into 4.0/3.6.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-Make-SMB2_GETINFO-multi-volume-aware.patch
Type: application/octet-stream
Size: 4869 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list