Difference between revisions of "Manipulating ZFS filesystems during Jumpstart install"

From Peter Pap's Technowiki
Jump to: navigation, search
(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...")
(No difference)

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!