[nycbug-talk] nullfs, jails and quotas
Charles Sprickman
spork
Mon Jan 9 19:17:36 EST 2006
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...
Charles
More information about the talk
mailing list