ZFS mount at boot

Joel Weinberger joel.weinberger at gmail.com
Wed May 25 01:29:27 EDT 2011

Thanks for the suggestion, although, unfortunately, I'm still having trouble
getting it to boot using this approach. I will look into this further, but
probably will wait until the real FHS fix is in. Thanks.

On Tue, May 24, 2011 at 5:30 AM, Darik Horn <dajhorn at vanadac.com> wrote:

> On Mon, 2011-05-23 at 23:32 -0700, Joel Weinberger wrote:
> > Is there any way to move the "zfs mount -a" call to earlier in the
> > boot process (namely, at the same point that the root file system is
> > mounted)?
> This is related to the FHS issue.  I will try to fix it.
> Right now, you should get the desired result by setting the legacy mount
> property on the filesystem and putting it into the /etc/fstab like this:
>  rpool/ROOT/ubuntu-1/var  /var  zfs  defaults  0  0
> > Both Solaris and FreeBSD do this, which allows you to
> > separate parts of the core system into different file systems so, for
> > example, you can add compression to /var/log, but not to /usr/bin.
> This is not the default behavior on Linux because pivoting more than one
> ZFS mount was unreliable when I wrote zfs-initramfs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20110524/d54cda5f/attachment.html>

More information about the zfs-discuss mailing list