Backup server installed on ZFS

Bran-Ko

Active Member
Jul 31, 2019
24
3
43
Slovakia, Zilina
I installed backup server on 2x SATA 1TB disk. How I can move this installation to another 2x SATA 4TB. And after that I wan to replace old 2pcs 1TB HDD with another 2pcs 4TB. Finally I want to use 4pcs SATA 4TB with RAIDZ ZFS (RAID5).

I thought that only things what I need to do is - add disk to zpool and change from mirror to raidz.

But I can't add disks to rpool because there are another partitions

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 1007K 0 part ├─sda2 8:2 0 512M 0 part └─sda3 8:3 0 931G 0 part sdb 8:16 0 931.5G 0 disk ├─sdb1 8:17 0 1007K 0 part ├─sdb2 8:18 0 512M 0 part └─sdb3 8:19 0 931G 0 part sdc 8:32 0 3.7T 0 disk sdd 8:48 0 3.7T 0 disk fdisk on /dev/sda shows Device Start End Sectors Size Type /dev/sda1 34 2047 2014 1007K BIOS boot /dev/sda2 2048 1050623 1048576 512M EFI System /dev/sda3 1050624 1953525134 1952474511 931G Solaris /usr & Apple ZFS

I don't know how to deploy BIOS boot partition on /dev/sdc and /dev/sdd. And the same with EFI system
 
Last edited:
you can't switch from mirror to raidz or expand a raidz..
 
if you have spare disks, you can shuffle your datasets around from one pool to another with zfs send/recv.