ZFS#
Links#
Commands#
list drive ids:
ls -l /dev/disk/by-id/show status
list zpools:
zpool list- shows raw capacity, to see real capacity usezfs listsee status of zpool:
zpool status
mirror handling
create mirror:
zpool create tank mirror <vdev_1> <vdev_2>add mirror:
zpool add tank mirror <vdev_1> <vdev_2>remove mirror:
zpool remove tank <mirror-id>- get mirror-id withzpool status
delete pool:
zpool destroy tankdataset handling
create dataset:
zfs create <nameofzpool>/<nameofdataset>list datasets:
zfs list