Re: zfs stuck, cannot do any I/O, processes in Disk Wait

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 31 Oct 2007 10:54:28 +0100
On Sun, Oct 28, 2007 at 10:43:56PM -0400, Adam McDougall wrote:
> I think I have had this happen at least once before, but someone else
> rebooted the system before I could see it.  I have a server with a 
> number of zfs filesystems mounted from a raidz, but it won't transfer
> any data.  I'm not sure why its stuck.  It is running 7.0-PRERELEASE
> Wed Oct 17 and I'm pretty sure it is WITHOUT vm_kern.c.2.patch.  The
> system is amd64 and I have not seen a kmem panic since I raised kmem
> to 1.5G.  
> 
> I logged in to scp a file off of zfs, was able to ls -l to see the file
> but the scp hung before transferring any bytes.  Now I cannot do a ls -l
> in that directory, /z.  I noticed several days worth of rsync processes
> stuck in disk wait, it must have been in this state for several days.
> I have no urgent need to reboot this system, its more important to try
> to get a permanent fix.  Please let me know what other information I 
> can provide.  

I'm afraid you need to do some debugging on your own. I'd start from
compiling INVARIANTS, INVARIANT_SUPPORT and WITNESS in. You may want to
take a look at developers handbook to see how to obtain some
informations from DDB.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Wed Oct 31 2007 - 10:58:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC