Installazione di Zfs in Debian: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Installazione= | =Installazione= | ||
==Debian Stretch== | ==Debian 11 Bullseye== | ||
apt-get install zfs-dkms | |||
==Debian 10 Buster== | |||
* TBD | |||
==Debian 9 Stretch== | |||
==Versione backports== | |||
echo "deb http://ftp.it.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list | |||
apt-get update | |||
apt-get install linux-headers-amd64 | |||
apt-get install -t buster-backports zfs-dkms zfs-zed | |||
===Versione stabile === | |||
* Il pacchetto è presente nei repository contrib: | |||
<pre> | |||
deb http://ftp.it.debian.org/debian/ stretch main contrib non-free | |||
deb http://ftp.it.debian.org/debian/ stretch-updates main contrib non-free | |||
deb http://security.debian.org/ stretch/updates main contrib non-free | |||
</pre> | |||
* Installare i pacchetti zfs | * Installare i pacchetti zfs | ||
apt-get install zfs-dkms | apt-get install zfs-dkms | ||
==Debian Jessie== | ==Debian 8 Jessie== | ||
* Il pacchetto è presente nei backports. [[Impostare_sources.list_di_Debian_Jessie]] | |||
apt-get update | apt-get update | ||
| Line 21: | Line 37: | ||
apt-get install -t jessie-backports zfs-dkms | apt-get install -t jessie-backports zfs-dkms | ||
==Debian Wheezy== | ==Debian 7 Wheezy== | ||
'''Questi repository non sono più attivi. Il minimo richiesto è Jessie''' | '''Questi repository non sono più attivi. Il minimo richiesto è Jessie''' | ||
Latest revision as of 14:49, 19 November 2021
Installazione
Debian 11 Bullseye
apt-get install zfs-dkms
Debian 10 Buster
- TBD
Debian 9 Stretch
Versione backports
echo "deb http://ftp.it.debian.org/debian buster-backports main contrib non-free" >> /etc/apt/sources.list
apt-get update apt-get install linux-headers-amd64 apt-get install -t buster-backports zfs-dkms zfs-zed
Versione stabile
- Il pacchetto è presente nei repository contrib:
deb http://ftp.it.debian.org/debian/ stretch main contrib non-free deb http://ftp.it.debian.org/debian/ stretch-updates main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free
- Installare i pacchetti zfs
apt-get install zfs-dkms
Debian 8 Jessie
- Il pacchetto è presente nei backports. Impostare_sources.list_di_Debian_Jessie
apt-get update
- Installare le kernel headers per compilare il modulo
apt install linux-headers-$(uname -r)
- Installare i pacchetti zfs dai backports
apt-get install -t jessie-backports zfs-dkms
Debian 7 Wheezy
Questi repository non sono più attivi. Il minimo richiesto è Jessie
- Per wheezy o superiore, il pacchetto è contenuto nel repository ufficiale di zfsonlinux:
- Installare le dipendenze, il pacchetto con repository e chiave, ed aggiornare
sudo apt-get install lsb-release cd /tmp wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_6_all.deb sudo dpkg -i zfsonlinux_6_all.deb sudo apt-get update
- Installare il pacchetto
sudo apt-get install debian-zfs
- Questo scaricherà l'occorrente per compilare i moduli zfs ed installare i tools di gestione
Test
- Caricare il modulo la prima volta:
modprobe zfs
- Per verificare la versione di pool attiva:
sudo zpool upgrade -v
- Per verificare la versione di filesystem attiva:
sudo zfs upgrade -v
- Aggiornare l'initrd per caricare il modulo al boot
sudo update-initramfs -u -k all