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/[email protected]
zfs list

zfs rollback rpool/[email protected]

zfs snapshot [email protected]

zfs rollback rpool/[email protected]

zfs list -t snapshot

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