Brett
2007-Dec-12 02:05 UTC
[zfs-discuss] how do i set a zfs mountpoint for use NEXT mount??
Folks, Not sure if any of this is possible, but thought I would ask. This is all part of simplifying my 2 Indiana zfsboot environments. I am wondering if there is a way to set the mountpoint of a zfs and not have it immediately actioned. I want this so I can set the mountpoint of my alternate zfs boot (zpl_slim/root2) to "/" (even though I currently have an active rootfs of zpl_slim/root ) and then have the grub bootfs parameter control booting from one root or the other. Are the zfs mountpoints stored in zpool.chache or ondisk or both? I was wondering if i can tweak zpool.cache or use zdb to achieve this. Essentially this is so the zfs filesystems under zpl_slim/root get mounted correctly through inheritance. Currently I achieve booting from altroot by having the roots set as legacy and referenced in the vfstab. But what this means is the underlying zfs filesystems ( root2/opt, root2/usr, etc) dont get mounted as they inherit legacy mode. Any assistance would be appreciated. Rep This message posted from opensolaris.org