Here are some notes that I had used to replicate my /zfs1 over from one server 
to another to allow to re-jumpstart the other server to upgrade.
setup sshd
vi /etc/ssh/sshd_config
edit line
PermitRootLogin yes
on client
   55  zfs allow -s @zfs1 create,destroy,mount,snapshot zfs1
   56  zfs allow zfs1

on old server
# zfs allow -s @zones create,destroy,mount,snapshot zones
Pool must be upgraded to use 'allow/unallow': unsupported version
# zfs upgrade zones
zones: can not be upgraded; the pool version needs to first be upgraded
to version 9

0 filesystems upgraded
# zpool upgrade zones
This system is currently running ZFS pool version 10.

Successfully upgraded 'zones' from version 4 to version 10

#
zfs allow -s @zones create,destroy,mount,snapshot zones
# zfs send zones at 192.168.1.7 | ssh 192.168.1.21 zfs receive zfs1/zfs1


Once running back on the new server client
bash-3.00# zfs list
NAME                USED  AVAIL  REFER  MOUNTPOINT
zfs1               25.2G   369G    36K  /zfs1
zfs1 at 192.168.1.21    17K      -    33K  -
zfs1/zfs1          25.2G   369G  25.2G  /zfs1/zfs1
bash-3.00#


mount example
zfs set mountpoint=/mnt/export pool1/export
3. Tell ZFS that all is OK now to mount that dataset
# zfs mount pool1/foo/bar
-- 
This message posted from opensolaris.org

Reply via email to