I want to convert my existing partitions to ZFS, excluding /, swap, and /tmp:
/dev/mirror/gm0s1a /
/dev/mirror/gm0s1d /usr
/dev/mirror/gm0s1e /var
/dev/mirror/gm0s1f /tmp
/dev/mirror/gm0s1g /usr/home
What is the optimal procedure for such an operation, on a live system (preferably)? I was thinking of copying /usr, /var, /tmp, and /usr/home to / (it has enough space), umounting gm0s1[d-g], deactivating these mirrors, editing disklabel on both disks to create a s1d /tmp and s1e zfs partition, activating the s1d /tmp mirror, and creating a zpool on s1e. Also, I'm not sure whether it is possible to have a single zpool containing /var and /usr (in spite of a UFS /); I might have to leave /var as UFS.
/dev/mirror/gm0s1a /
/dev/mirror/gm0s1d /usr
/dev/mirror/gm0s1e /var
/dev/mirror/gm0s1f /tmp
/dev/mirror/gm0s1g /usr/home
What is the optimal procedure for such an operation, on a live system (preferably)? I was thinking of copying /usr, /var, /tmp, and /usr/home to / (it has enough space), umounting gm0s1[d-g], deactivating these mirrors, editing disklabel on both disks to create a s1d /tmp and s1e zfs partition, activating the s1d /tmp mirror, and creating a zpool on s1e. Also, I'm not sure whether it is possible to have a single zpool containing /var and /usr (in spite of a UFS /); I might have to leave /var as UFS.