zfs notes

por | 24 agosto, 2016

zfs create rpool/db2
zfs create rpool/db3
zfs create rpool/db4
zfs create rpool/db5
zfs create rpool/db6
zfs create rpool/db7

zfs set mountpoint=/db1 rpool/db1
zfs set mountpoint=/db2 rpool/db2
zfs set mountpoint=/db3 rpool/db3
zfs set mountpoint=/db4 rpool/db4
zfs set mountpoint=/db5 rpool/db5
zfs set mountpoint=/db6 rpool/db6
zfs set mountpoint=/db7 rpool/db7

snapshot

zfs snapshot rpool/db1@mig1
zfs list

zfs rollback rpool/db1@mig1

zfs snapshot dbisci@mig1

zfs rollback rpool/db1@mig1

zfs list -t snapshot

ln -s /dbisci/resp11/db1.BAK /db1