[linux-cifs-client] CIFS size not reported correctly when mounted with recent Fedora kernels

Scott Ingram Scott.Ingram at tns-mi.com
Thu Oct 16 15:01:01 GMT 2008


On Wed, 2008-10-15 at 08:55 -0400, Jeff Layton wrote:

> On Tue, 14 Oct 2008 18:37:52 -0400
> Scott Ingram <Scott.Ingram at tns-mi.com> wrote:
> 
> > I have a ~92 TB filesystem being served by Samba that mounts under
> > Fedora FC5 (2.6.15-1.2054_FC5smp) and reports the correct file system
> > size; but when mounted under FC7 (2.6.23.17-88.fc7, also FC8 cifs v.
> > 1.50) the file system size appears to be truncated.

[...]

> Not that I know of. I suggest opening a Fedora BZ. Ideally, attach network
> captures from both cases to it so that they can be compared.
> 
> If you do open a BZ, send me an email and I'll pick it up and have a look
> when I get a chance.


Will do.  On closer inspection, its an FC3 machine with CIFS VFS v 1.20
that correctly reports the remote
file system size in response to a 'df' while the FC7 (and FC8) with CIFS
v 1.50 does not.

There is a slight dialect difference in the negotiated protocol
("Dialect Index: 0" on the older machine vs
"Dialect Index: 2" in the younger, both "greater than LANMAN2.1") , and
the v 1.50 machines don't ever seem to
generate a proper "QUERY_FS_INFO" FS size request, instead generating an
"Unknown 0x201" request.

Thanks,
-- 
Scott Ingram <Scott.Ingram at tns-mi.com>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list