* CIFS regression in 2.6.27.8
@ 2008-12-08 18:18 Dennis Hardy
2008-12-08 19:28 ` Pekka Enberg
0 siblings, 1 reply; 11+ messages in thread
From: Dennis Hardy @ 2008-12-08 18:18 UTC (permalink / raw)
To: linux-kernel
I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
the sizes reported by "df" are completely incorrect:
root@exodus:~# df -h /mnt/fsv1
Filesystem Size Used Avail Use% Mounted on
//fsv1/Users 446G -222G 667G - /mnt/fsv1
root@exodus:~# df /mnt/fsv1
Filesystem 1K-blocks Used Available Use% Mounted on
//fsv1/Users 467403140 -231816588 699219728 - /mnt/fsv1
root@exodus:~# mount | grep fsv1
//fsv1/Users on /mnt/fsv1 type cifs (rw,mand)
root@exodus:~#
Does anyone else see this sort of behavior with 2.6.27.8? This worked fine
in 2.6.27.6 (we skipped 2.6.27.7)...
Ideas?
--
View this message in context: http://www.nabble.com/CIFS-regression-in-2.6.27.8-tp20900699p20900699.html
Sent from the linux-kernel mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 18:18 CIFS regression in 2.6.27.8 Dennis Hardy
@ 2008-12-08 19:28 ` Pekka Enberg
2008-12-08 20:12 ` Rafael J. Wysocki
0 siblings, 1 reply; 11+ messages in thread
From: Pekka Enberg @ 2008-12-08 19:28 UTC (permalink / raw)
To: Dennis Hardy
Cc: linux-kernel, layton, Steven French, Greg KH, Rafael J. Wysocki
Hi Dennis,
On Mon, Dec 8, 2008 at 8:18 PM, Dennis Hardy <dhardy@sogetthis.com> wrote:
> I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
> the sizes reported by "df" are completely incorrect:
>
> root@exodus:~# df -h /mnt/fsv1
> Filesystem Size Used Avail Use% Mounted on
> //fsv1/Users 446G -222G 667G - /mnt/fsv1
> root@exodus:~# df /mnt/fsv1
> Filesystem 1K-blocks Used Available Use% Mounted on
> //fsv1/Users 467403140 -231816588 699219728 - /mnt/fsv1
> root@exodus:~# mount | grep fsv1
> //fsv1/Users on /mnt/fsv1 type cifs (rw,mand)
> root@exodus:~#
>
> Does anyone else see this sort of behavior with 2.6.27.8? This worked fine
> in 2.6.27.6 (we skipped 2.6.27.7)...
>
> Ideas?
Well, lets cc the relevant people so your report isn't lost in the noise.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 19:28 ` Pekka Enberg
@ 2008-12-08 20:12 ` Rafael J. Wysocki
2008-12-08 20:42 ` Dennis Hardy
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Rafael J. Wysocki @ 2008-12-08 20:12 UTC (permalink / raw)
To: Pekka Enberg
Cc: Dennis Hardy, linux-kernel, layton, Steven French, Greg KH,
netdev, Holger Hoffstaette, Stefan Richter
On Monday, 8 of December 2008, Pekka Enberg wrote:
> Hi Dennis,
>
> On Mon, Dec 8, 2008 at 8:18 PM, Dennis Hardy <dhardy@sogetthis.com> wrote:
> > I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
> > the sizes reported by "df" are completely incorrect:
> >
> > root@exodus:~# df -h /mnt/fsv1
> > Filesystem Size Used Avail Use% Mounted on
> > //fsv1/Users 446G -222G 667G - /mnt/fsv1
> > root@exodus:~# df /mnt/fsv1
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > //fsv1/Users 467403140 -231816588 699219728 - /mnt/fsv1
> > root@exodus:~# mount | grep fsv1
> > //fsv1/Users on /mnt/fsv1 type cifs (rw,mand)
> > root@exodus:~#
> >
> > Does anyone else see this sort of behavior with 2.6.27.8? This worked fine
> > in 2.6.27.6 (we skipped 2.6.27.7)...
> >
> > Ideas?
>
> Well, lets cc the relevant people so your report isn't lost in the noise.
FWIW, it seems to be related to this one: http://lkml.org/lkml/2008/12/8/7
Thanks,
Rafael
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 20:12 ` Rafael J. Wysocki
@ 2008-12-08 20:42 ` Dennis Hardy
2008-12-08 20:58 ` Stefan Richter
2008-12-09 20:49 ` Chuck Ebbert
2 siblings, 0 replies; 11+ messages in thread
From: Dennis Hardy @ 2008-12-08 20:42 UTC (permalink / raw)
To: linux-kernel
> FWIW, it seems to be related to this one: http://lkml.org/lkml/2008/12/8/7
>
> Thanks,
> Rafael
Please note that in my case, I'm not seeing any samba log errors or any
problems with CPU utilization... File read access via the CIFS mount seems
to work fine, it is just that "df" is reporting completely incorrect
information for the CIFS mount.
--
View this message in context: http://www.nabble.com/CIFS-regression-in-2.6.27.8-tp20900699p20903107.html
Sent from the linux-kernel mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 20:12 ` Rafael J. Wysocki
2008-12-08 20:42 ` Dennis Hardy
@ 2008-12-08 20:58 ` Stefan Richter
2008-12-08 21:10 ` Steven French
2008-12-09 20:49 ` Chuck Ebbert
2 siblings, 1 reply; 11+ messages in thread
From: Stefan Richter @ 2008-12-08 20:58 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Pekka Enberg, Dennis Hardy, linux-kernel, layton, Steven French,
Greg KH, netdev, Holger Hoffstaette
Rafael J. Wysocki wrote:
>> On Mon, Dec 8, 2008 at 8:18 PM, Dennis Hardy <dhardy@sogetthis.com> wrote:
>>> I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
>>> the sizes reported by "df" are completely incorrect:
...
>>> Does anyone else see this sort of behavior with 2.6.27.8? This worked fine
>>> in 2.6.27.6 (we skipped 2.6.27.7)...
There were several cifs updates in .8 but AFAIU none in .7.
> FWIW, it seems to be related to this one: http://lkml.org/lkml/2008/12/8/7
Holger's report is about the userland SMB/CIFS server, while Denis's is
about kernelspace client code. They look like separate issues to me.
--
Stefan Richter
-=====-==--- ==-- -=---
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 20:58 ` Stefan Richter
@ 2008-12-08 21:10 ` Steven French
0 siblings, 0 replies; 11+ messages in thread
From: Steven French @ 2008-12-08 21:10 UTC (permalink / raw)
To: Stefan Richter
Cc: Dennis Hardy, Greg KH, Holger Hoffstaette, layton, linux-kernel,
netdev, Pekka Enberg, Rafael J. Wysocki
Yes - they look distinct
Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
Stefan Richter <stefanr@s5r6.in-berlin.de>
12/08/2008 02:58 PM
To
"Rafael J. Wysocki" <rjw@sisk.pl>
cc
Pekka Enberg <penberg@cs.helsinki.fi>, Dennis Hardy
<dhardy@sogetthis.com>, linux-kernel@vger.kernel.org, layton@redhat.com,
Steven French/Austin/IBM@IBMUS, Greg KH <gregkh@suse.de>,
netdev@vger.kernel.org, Holger Hoffstaette <holger@wizards.de>
Subject
Re: CIFS regression in 2.6.27.8
Rafael J. Wysocki wrote:
>> On Mon, Dec 8, 2008 at 8:18 PM, Dennis Hardy <dhardy@sogetthis.com>
wrote:
>>> I just mounted a network drive (Windows Server) via CIFS under
2.6.27.8, and
>>> the sizes reported by "df" are completely incorrect:
...
>>> Does anyone else see this sort of behavior with 2.6.27.8? This worked
fine
>>> in 2.6.27.6 (we skipped 2.6.27.7)...
There were several cifs updates in .8 but AFAIU none in .7.
> FWIW, it seems to be related to this one:
http://lkml.org/lkml/2008/12/8/7
Holger's report is about the userland SMB/CIFS server, while Denis's is
about kernelspace client code. They look like separate issues to me.
--
Stefan Richter
-=====-==--- ==-- -=---
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
@ 2008-12-08 21:39 Steve French
0 siblings, 0 replies; 11+ messages in thread
From: Steve French @ 2008-12-08 21:39 UTC (permalink / raw)
To: LKML; +Cc: linux-cifs-client@lists.samba.org
> I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
> the sizes reported by "df" are completely incorrect:
The closest I had already installed was Ubuntu's most current kernel,
2.6.27-9-generic, which should be pretty close, and I did not see this
problem. I would like to see a wireshark or tcpdump trace of this to
analyze it farther. See
http://wiki.samba.org/index.php/Capture_Packets for details on this.
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-08 20:12 ` Rafael J. Wysocki
2008-12-08 20:42 ` Dennis Hardy
2008-12-08 20:58 ` Stefan Richter
@ 2008-12-09 20:49 ` Chuck Ebbert
2008-12-09 21:47 ` Dennis Hardy
2 siblings, 1 reply; 11+ messages in thread
From: Chuck Ebbert @ 2008-12-09 20:49 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Pekka Enberg, Dennis Hardy, linux-kernel, layton, Steven French,
Greg KH, netdev, Holger Hoffstaette, Stefan Richter
On Mon, 8 Dec 2008 21:12:48 +0100
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> On Monday, 8 of December 2008, Pekka Enberg wrote:
> > Hi Dennis,
> >
> > On Mon, Dec 8, 2008 at 8:18 PM, Dennis Hardy <dhardy@sogetthis.com> wrote:
> > > I just mounted a network drive (Windows Server) via CIFS under 2.6.27.8, and
> > > the sizes reported by "df" are completely incorrect:
> > >
> > > root@exodus:~# df -h /mnt/fsv1
> > > Filesystem Size Used Avail Use% Mounted on
> > > //fsv1/Users 446G -222G 667G - /mnt/fsv1
> > > root@exodus:~# df /mnt/fsv1
> > > Filesystem 1K-blocks Used Available Use% Mounted on
> > > //fsv1/Users 467403140 -231816588 699219728 - /mnt/fsv1
> > > root@exodus:~# mount | grep fsv1
> > > //fsv1/Users on /mnt/fsv1 type cifs (rw,mand)
> > > root@exodus:~#
> > >
> > > Does anyone else see this sort of behavior with 2.6.27.8? This worked fine
> > > in 2.6.27.6 (we skipped 2.6.27.7)...
> > >
I tried it on both i386 and x86_64 and had no problems. Is this client
non-x86 by any chance?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-09 20:49 ` Chuck Ebbert
@ 2008-12-09 21:47 ` Dennis Hardy
2008-12-10 2:26 ` Jeff Layton
0 siblings, 1 reply; 11+ messages in thread
From: Dennis Hardy @ 2008-12-09 21:47 UTC (permalink / raw)
To: linux-kernel
> I tried it on both i386 and x86_64 and had no problems. Is this client
> non-x86 by any chance?
Curious...my kernel is CONFIG_X86_32=y and CONFIG_X86=y, CONFIG_MK6=y.
Perhaps this could be an issue with the Windows Server side (Windows Home
Server, latest Windows SPs, etc.) Maybe MSFT introduced some "improvement"
in a recent update that caused an incompatibility of some sort. I can try
mounting some other Windows machines via CIFS from the 2.6.27.8 end and see
what happens, plus boot back to 2.6.27.6 and compare.
--
View this message in context: http://www.nabble.com/CIFS-regression-in-2.6.27.8-tp20900699p20924383.html
Sent from the linux-kernel mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-09 21:47 ` Dennis Hardy
@ 2008-12-10 2:26 ` Jeff Layton
2008-12-10 19:13 ` Dennis Hardy
0 siblings, 1 reply; 11+ messages in thread
From: Jeff Layton @ 2008-12-10 2:26 UTC (permalink / raw)
To: Dennis Hardy; +Cc: linux-kernel
On Tue, 9 Dec 2008 13:47:56 -0800 (PST)
Dennis Hardy <dhardy@sogetthis.com> wrote:
>
> > I tried it on both i386 and x86_64 and had no problems. Is this client
> > non-x86 by any chance?
>
> Curious...my kernel is CONFIG_X86_32=y and CONFIG_X86=y, CONFIG_MK6=y.
>
> Perhaps this could be an issue with the Windows Server side (Windows Home
> Server, latest Windows SPs, etc.) Maybe MSFT introduced some "improvement"
> in a recent update that caused an incompatibility of some sort. I can try
> mounting some other Windows machines via CIFS from the 2.6.27.8 end and see
> what happens, plus boot back to 2.6.27.6 and compare.
>
There is a problem with CIFS in 2.6.27.8, but it mainly manifests
itself as a kthread that doesn't shut down when it should (regression
due to a missing couple of prerequisite patches). I've got a patch for
2.6.27.9 that should fix that problem (assuming there is a .9)
The fixes that went into 2.6.27.8 were mostly patches to fix races on
mount and unmount and some fixes for socket handling. The problem
you've described seems very consistent and localized to an area that
wasn't patched in .8.
I could easily be wrong, but the problem you've described seems more
likely to be a server issue. If you can get binary network captures
between the client and server like Steve F. requested, then we should
be able to confirm it either way...
--
Jeff Layton <jlayton@redhat.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: CIFS regression in 2.6.27.8
2008-12-10 2:26 ` Jeff Layton
@ 2008-12-10 19:13 ` Dennis Hardy
0 siblings, 0 replies; 11+ messages in thread
From: Dennis Hardy @ 2008-12-10 19:13 UTC (permalink / raw)
To: linux-kernel
> I could easily be wrong, but the problem you've described seems more
> likely to be a server issue.
Gentlemen, I am heading out to get an "L" (for loser) tattooed to my
forehead. MSFT pushed some updates for the Windows Server previously, and
when we switched to 2.6.27.8 we rebooted everything, including the Windows
Server, which activated the updates. MSFT broke volume size reporting --
even from other Windows machines! We should have checked this before
posting.
Please accept my deepest apologies for this -- Linux is, as always, working
great.
--
View this message in context: http://www.nabble.com/CIFS-regression-in-2.6.27.8-tp20900699p20942054.html
Sent from the linux-kernel mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-12-10 19:13 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 18:18 CIFS regression in 2.6.27.8 Dennis Hardy
2008-12-08 19:28 ` Pekka Enberg
2008-12-08 20:12 ` Rafael J. Wysocki
2008-12-08 20:42 ` Dennis Hardy
2008-12-08 20:58 ` Stefan Richter
2008-12-08 21:10 ` Steven French
2008-12-09 20:49 ` Chuck Ebbert
2008-12-09 21:47 ` Dennis Hardy
2008-12-10 2:26 ` Jeff Layton
2008-12-10 19:13 ` Dennis Hardy
-- strict thread matches above, loose matches on Subject: below --
2008-12-08 21:39 Steve French
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox