[zfs-discuss] Jumpstart + ZFS boot: profile?

Jens Elkner
2008-08-14T19:49:05Z

Hi,

I wanna try to setup a machine via jumpstart with ZFS boot using svn_b95.
Usually (UFS) I use a profile like this for it:

install_type    initial_install
system_type standalone
usedisk c1t0d0
partitioning    explicit
filesys c1t0d0s0        256         /
filesys c1t0d0s1        16384       swap
filesys c1t0d0s3        4096        /var
filesys c1t0d0s4        8192        /usr
filesys c1t0d0s5        4096        /opt
filesys c1t0d0s7        free    	/joker
...
# c1t0 gets replaced by the real "bootdisk path" via begin script


Is something similar now possible wrt. ZFS, i.e. something like

zpool create boot c1t0d0 swap=16G
zfs create boot/root ; zfs set reservation=512M boot/root
zfs create boot/var ; zfs set reservation=4G boot/var
zfs create boot/usr ; zfs set reservation=8G boot/usr
zfs create boot/opt ; zfs set reservation=4G boot/opt

???