[nycbug-talk] nullfs, jails and quotas

Ray Lai nycbug
Mon Jan 9 20:01:56 EST 2006


On Mon, Jan 09, 2006 at 07:17:36PM -0500, Charles Sprickman wrote:
> Here's a quick tip:
> 
> Don't try using nullfs to mount /usr/ports (or anything else) into a jail 
> and then enable quotas on the jail's partition.  Really bad juju there.
> 
> This is on 6-stable.  On running quotacheck after killing off all jails, 
> that process was hung, and anything else that touched that partition went 
> into a "disk wait" state that was unkillable.  Running a shutdown just 
> left the machine hanging in a not-quite-dead state.  It seems like the 
> kernel will block forever on any processes waiting for that partition.  A 
> reboot alone did not clear it, the background fsck also hung.
> 
> Just a friendly warning for anyone doing that kind of tinkering remotely - 
> always unmount your nullfs mounts before screwing with quotas...

I hear very bad things about nullfs in general.

-Ray-




More information about the talk mailing list