Difference between revisions of "Manipulating ZFS filesystems during Jumpstart install"
From Peter Pap's Technowiki
(Created page with "By default, when you build a server with a ZFS root pool in Jumpstart, it creates two additional ZFS file systems within the root pool, rpool/export and rpool/export/home. I per...") |
|||
Line 9: | Line 9: | ||
/usr/sbin/zfs create -o mountpoint=/home rpool/home | /usr/sbin/zfs create -o mountpoint=/home rpool/home | ||
− | and Bob's your mothers brother! | + | and Bob's your mothers brother! Again, there is no need to chroot when you do this! |
Latest revision as of 04:28, 18 May 2011
By default, when you build a server with a ZFS root pool in Jumpstart, it creates two additional ZFS file systems within the root pool, rpool/export and rpool/export/home. I personally have no use for these. So to delete them, add this to your finish script:
/usr/sbin/zfs destroy -r rpool/export
There's no need to chroot first!
If you want to create a new ZFS filesystem, within the root pool, you can add this to the finish script:
/usr/sbin/zfs create -o mountpoint=/home rpool/home
and Bob's your mothers brother! Again, there is no need to chroot when you do this!