[Top] [All Lists]

Re: XFS on CoRAID errors with SMB

To: Joe Landman <landman@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: XFS on CoRAID errors with SMB
From: Jon Marshall <jon@xxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Nov 2011 15:26:52 +0000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4ED39EBE.2070206@xxxxxxxxxxxxxxxxxxxxxxx>
References: <20111128135518.GA1232@xxxxxxxxxxxxxxxxxx> <4ED39EBE.2070206@xxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
Hi Joe,

Thanks for the rapid response.

Is this something that has been reported often in relation to AoE? Is
there any chance you could point us in the direction of some more
background on the issue? I am checking the AoE mailing list, but if you know
of something specific that would be very helpful.

I am also looking into the ethernet drivers we have in place on the
system in question.

Again, thanks for the quick and informative response.


On Mon, Nov 28, 2011 at 09:46:22AM -0500, Joe Landman wrote:
> On 11/28/2011 08:55 AM, Jon Marshall wrote:
> >Hi,
> >
> >We have recently experienced what appear to be XFS filesystem errors on
> >a samba share. The actual filesystem resides on a network attached
> >storage device, a Coraid. The attached server locked up totally, and we
> >forced to hard reset it.
> This is (from our past experience working with these units and the
> AoE system), more likely the AoE driver crashing (or something on
> the underlying network failing).  From there, the file system
> eventually dies.
> This isn't an xfs problem per se, xfs is sort of an uwilling
> participant in a slow motion crash.
> >I have the following trace from the kernel logs:
> >
> >[6128798.051868] smbd: page allocation failure. order:4, mode:0xc0d0
> >[6128798.051872] Pid: 16908, comm: smbd Not tainted 2.6.32-5-amd64 #1
> >[6128798.051874] Call Trace:
> >[6128798.051882]  [<ffffffff810ba5d6>] ? __alloc_pages_nodemask+0x592/0x5f4
> >[6128798.051885]  [<ffffffff810b959c>] ? __get_free_pages+0x9/0x46
> >[6128798.051889]  [<ffffffff810e7ea1>] ? __kmalloc+0x3f/0x141
> If you note the failed kmalloc, something ran you out of memory.
> What we've run into in the past with this has been a driver memory
> leak (usually older model e1000 or similar drivers)
> [...]
> >smbd seems to throw these errors for about 15 minutes, then sshd starts
> >throwing errors and shortly after the system became unresponsive.
> >
> >Just wondering if anyone had any experience of similar results, with XFS
> >on a CoRAID device or XFS SMB shares?
> This is what you see when the AoE stack collapses due to a crash of
> one of the lower block rungs.  XFS can't run if it can't allocate
> memory for itself.  smbd dies when the underlying filesystem goes
> away.  sshd probably gets unresponsive in part, due to all the IOs
> queuing up that the scheduler can't do anything with.  Before sshd
> stops working, user load winds up past 5x number of CPUs, then past
> 10x, then ...
> Once you see this happening, its time to kill the upper level stacks
> if possible, and unmount the file system as rapidly as possible.  If
> you can't kill the stuff above it, a 'umount -l ' is your friend.
> You *may* be able to regain enough control for a non-crash based
> reboot.  Even with this, I'd recommend changing / to sync before
> either forcing a reboot
>    mount -o remount,sync /
> to preserve the integrity of the OS drive.
> Then reboot (or if the user load is too high, and a reboot command
> will just hang ... hopefully you have IPMI on you unit so you can do
> an 'ipmitool -I open chassis power cycle' hard bounce)
> >
> >Thanks
> >Jon
> >
> -- 
> Joseph Landman, Ph.D
> Founder and CEO
> Scalable Informatics Inc.
> email: landman@xxxxxxxxxxxxxxxxxxxxxxx
> web  : http://scalableinformatics.com
>        http://scalableinformatics.com/sicluster
> phone: +1 734 786 8423 x121
> fax  : +1 866 888 3112
> cell : +1 734 612 4615
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

Jon Marshall
Technical Officer
Campbell-Lange Workshop
0207 6311 555
3 Tottenham Street London W1T 2AF
Registered in England No. 04551928

<Prev in Thread] Current Thread [Next in Thread>