Computers-lodo
From Hugme.org
- Command I used to create the zfs pool:
- zpool create bigmama raid2 ad4 ad6 ad8 ad12 ad14 ad16 ad18 ad20 ad22 ad24 ad26 ad28 spare ad30
- ufs backup ad32, ad34
- status on the drives:
zpool iostat -v bigmama
capacity operations bandwidth
pool used avail read write read write
---------- ----- ----- ----- ----- ----- -----
bigmama 1.20T 12.4T 0 0 8.64K 530
raidz1 1.20T 12.4T 0 0 8.64K 530
ad4 - - 0 0 1.79K 42
ad6 - - 0 0 1.80K 43
ad8 - - 0 0 1.78K 42
ad12 - - 0 0 1.81K 42
ad14 - - 0 0 1.79K 42
ad16 - - 0 0 1.76K 42
ad18 - - 0 0 1.76K 42
ad20 - - 0 0 1.80K 42
ad22 - - 0 0 1.79K 42
ad24 - - 0 0 1.84K 42
ad26 - - 0 0 1.83K 43
ad28 - - 0 0 1.80K 42
ad30 - - 0 0 1.83K 42
ad32 - - 0 0 1.80K 43
ad34 - - 0 0 1.80K 42
---------- ----- ----- ----- ----- ----- -----
The new encryption:
geli init -s 4096 -K /etc/geli/da2.key /dev/da1 Enter new passphrase: Reenter new passphrase: Metadata backup can be found in /var/backups/da1.eli and can be restored with the following command: # geli restore /var/backups/da1.eli /dev/da1
Attach:
geli attach -k /etc/geli/da2.key /dev/da1