WEB DEVELOPMENT
[edit]

ZFS

›› https://backports.debian.org/

Make sure /etc/apt/sources.list contains correct Debian sources:


$ sudo nano /etc/apt/sources.list

Ensure "contrib non-free" is written after "main".


deb http://[...] trixie main contrib non-free non-free-firmware
deb-src http://[...] trixie main contrib non-free non-free-firmware

deb http://[...]  trixie-security main contrib non-free non-free-firmware
deb-src http://[...]  trixie-security main contrib non-free non-free-firmware

deb http://[...]  trixie-updates main contrib non-free non-free-firmware
deb-src http://[...]  trixie-updates main contrib non-free non-free-firmware

Update, Install and Check.


sudo apt update
sudo apt install zfsutils-linux

Check ZFS install and version


$ zfs --version

List ZFS drives / pools


 zpool list

import existing ZFS pool


 zpool import -f 2042318214993230180

Remove 'srv' folder from ssd, replace with new tank "mirror-0".


$ sudo rm -R /srv
$ sudo zpool create srv mirror-0 /dev/sdb /dev/sdc

Check the pool creation.


$ zpool status
$ zpool list