Date: Wed, 15 Jun 2011 07:07:16 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: fs@FreeBSD.org Subject: Re: [CFR][ZFS] Allow async event processing with a R/O root FS Message-ID: <4DF8AE84.9000400@scsiguy.com> In-Reply-To: <20110615121529.GJ1975@garage.freebsd.pl> References: <4DF7E472.9030601@scsiguy.com> <20110615121529.GJ1975@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/15/11 6:15 AM, Pawel Jakub Dawidek wrote: > On Tue, Jun 14, 2011 at 04:45:06PM -0600, Justin T. Gibbs wrote: >> Allow ZFS asynchronous event handling to proceed even if the >> root file system is mounted read-only. This restriction appears >> to have been put in place to avoid errors with updating the >> configuration cache file. However: >> >> o The majority of asynchronous event handling does not involve >> configuration cache file updates. >> o The configuration cache file need not be on the root file system, >> so the check was not complete. > Why is that? I keep cache file on the ZFS root file system. > It is not used by the boot loader, but is loaded by the loader: > > # tail -7 /boot/defaults/loader.conf > You can specify an alternate cache file location that doesn't have to be on the root file system. By "the check was not complete", I mean the "root is R/W" check doesn't ensure that the cache file is located on a file system mounted R/W. -- Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF8AE84.9000400>