Jumpstart and Zpool and ZFS creation
Hello guys,I'm trying to configure my jumpstart to create some zpool and zfs within the finish script.
I'm starting testing a simple:
finish.zfs.sh
#!/bin/sh -x
/usr/sbin/zpool create -f -R /a data c0d1
/usr/sbin/zfs create data/farc
/usr/sbin/zfs set mountpoint=/farc data/farc
everything seems perfect but as soon as the finish.zfs.sh starts it complains:
cannot mount '/a': directory is not empty
libshare SMF initialization problem: entity not found
btw the jumpsart ends up with no further problem.
I log in and the zpool has been created:
I'm starting testing a simple:
finish.zfs.sh
#!/bin/sh -x
/usr/sbin/zpool create -f -R /a data c0d1
/usr/sbin/zfs create data/farc
/usr/sbin/zfs set mountpoint=/farc data/farc
everything seems perfect but as soon as the finish.zfs.sh starts it complains:
cannot mount '/a': directory is not empty
libshare SMF initialization problem: entity not found
btw the jumpsart ends up with no further problem.
I log in and the zpool has been created:
0