According to wikipedia, ZFS stand for Z File System, which is an open source file system and a logical volume manager licensed under the Common Development and Distribution License.
Designed by Sun Microsystems (acquired by Oracle in 2009), and had been developed by Jeff Bonwick.
Follow instructions for Debian on zfsonlinux website : https://github.com
root@host:~# ls -lah /dev/disk/by-id/
root@host:~# mkdir /zfs
root@host:~# zpool create -f -m <mount_point> <pool_name> <type> <ids>
root@host:~# zpool create -f -o ashift=12 -m /zfs raid0_01 mirror scsi-SATA_WDC_WD20EARS-07_WD-WCAZA796741 scsi-SATA_WDC_WD20EARS-07_WD-WCAZB7569258 scsi-SATA_WDC_WD20EARS-07_WD-WCPZB7464217
root@host:~# zpool add tank spare ada12
root@host:~# zpool list
root@host:~# zpool history raid0_01
root@host:~# zfs set mountpoint=/zfs raid0_01
root@host:~# zpool export raid0_01
root@host:~# zpool import -a
root@host:~# zpool import -f raid0_01
root@host:~# zfs set atime=off <pool>
root@host:~# zfs set compression=lz4 <pool>
root@host:~# zpool scrub raid0_01
root@host:~# zpool status
root@host:~# zfs get all <pool>
root@host:~# zpool get all raid0_01
root@host:~# zpool status -v raid0_01
root@host:~# zpool iostat <second rate> <output number>
root@host:~# zpool iostat 5 10
root@host:~# cryptsetup --cipher aes-xts-plain64 --key-size 512 --hash sha1 --iter-time 1000 --use-urandom -v luksFormat /dev/sdb1
root@host:~# cryptsetup --cipher aes-xts-plain64 --key-size 512 --hash sha1 --iter-time 1000 --use-urandom -v luksFormat /dev/sdc1
root@host:~# cryptsetup --cipher aes-xts-plain64 --key-size 512 --hash sha1 --iter-time 1000 --use-urandom -v luksFormat /dev/sdd1
root@host:~# cryptsetup luksOpen /dev/sdb1 zfs01
root@host:~# cryptsetup luksOpen /dev/sdc1 zfs01
root@host:~# cryptsetup luksOpen /dev/sdd1 zfs01
root@host:~# zpool create -f -m /zfs raid0_01 mirror /dev/mapper/zfs01 /dev/mapper/zfs02 /dev/mapper/zfs03
source : linuxfr.org
Contact :