ZFS with multiple boot/root pools
    Peter Jeremy 
    peterjeremy at acm.org
       
    Mon Apr 30 21:07:29 UTC 2012
    
    
  
I have boot/root on one ZFS pool and for recovery purposes keep a
second ZFS boot/root pool in case the first one becomes unbootable.
My problem is that:
1) A zpool must be imported to be bootable
2) Most ZFS root filesystems have absolute mountpoints specified
3) /etc/rc.d/zfs automounts all imported ZFS filesytems
results in double mounts of various filesystems.
Can anyone suggest a way to configure a zpool or set of filesystems
so that they will only be mounted if the root filesystem is within
the zpool.
I looked at the "zfs mount -a" in /etc/rc.d/zfs but there doesn't
appear to be a suitable alternative.  A variant that mounted all
automount filesystems within a specified list of zpools would work
but doesn't exist.
Any other suggestions?  How do other people handle this?
-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120430/1242e64a/attachment.pgp
    
    
More information about the freebsd-fs
mailing list