ZFS Write Lockup

Daniel Staal DStaal at usa.net
Wed Oct 5 22:11:25 UTC 2011

--As of October 4, 2011 2:43:45 AM -0400, Dave Cundiff is alleged to have 

> I don't know what triggers the problem but I know how to fix it. If I
> perform a couple snapshot deletes the IO will come back in line every
> single time. Fortunately I have LOTS of snapshots to delete.
> [root at san2 ~]# zfs list -r -t snapshot | wc -l
>     5236
> [root at san2 ~]# zfs list -r -t volume | wc -l
>       17

--As for the rest, it is mine.

I have no good advice, but I have a thought.  ;)

The thought is: Why so many snapshots?  And: How many other people have 
that many snapshots?  I know that ZFS is supposed to be able to handle huge 
numbers of snapshots (far more than a few thousand, from my understanding), 
but if it hasn't been used much in that config, there may be bugs lurking.

You might try weeding through and figuring out if you can drop a good 
amount of those snapshots.  Also, try the filesystems list.  They may have 
better thoughts.

Daniel T. Staal

This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.

More information about the freebsd-questions mailing list