zfs ist ein
- raid controller,
- lvm und
- dateisystem
in einem.
$ sudo -i
$ apt install zfsutils-linux
$ dd if=/dev/zero of=/tmp/hdd0 bs=1GB count=1
$ dd if=/dev/zero of=/tmp/hdd1 bs=1GB count=1
$ zpool create \
-o autoexpand=on \
-o autoreplace=on \
-o autotrim=on \
-O sync=disabled \
-O compression=lz4 \
-O encryption=on \
-O keylocation=prompt \
-O keyformat=passphrase \
demopool \
/tmp/hdd0
$ zpool list
neue platte
$ zpool add demopool /tmp/hdd1