Grow RAIDZ-1 (or workaround)

Andreas_H

Member
Jan 6, 2021
14
2
8
46
Hello,

I'm looking for a way to grow a RAIDZ-1 with four 3TB disks by another two disks. I naively assumed this would be as straightforward as it is with mdadm RAID, but it seems it isn't. Code for this seems to exist in ZFS on Linux but obviously won't hit Proxmox until at least Debian 12 is released.

Is there a way to boot the machine with a live system that already contains that code and do the expansion? Or is there another way?

I cannot afford to lose the data, it consists of several offsite backups which work quite well incrementally, but another full backup of all sites would take several weeks (!) to complete over DSL. If it were possible to sync everything to a huge external drive (I have 8TB on hand), then I could probably sync, do a reinstall and sync again. But it seems it isn't, see my other thread.

Thanks,
Andreas
 
Hello,

I'm looking for a way to grow a RAIDZ-1 with four 3TB disks by another two disks. I naively assumed this would be as straightforward as it is with mdadm RAID, but it seems it isn't. Code for this seems to exist in ZFS on Linux but obviously won't hit Proxmox until at least Debian 12 is released.

Is there a way to boot the machine with a live system that already contains that code and do the expansion? Or is there another way?

I cannot afford to lose the data, it consists of several offsite backups which work quite well incrementally, but another full backup of all sites would take several weeks (!) to complete over DSL. If it were possible to sync everything to a huge external drive (I have 8TB on hand), then I could probably sync, do a reinstall and sync again. But it seems it isn't, see my other thread.

Thanks,
Andreas
Only way I know is to add a vdev with 4 more disks if you want to keep your 4-disk raidz. Another way is to create a second pool with two 10TB disks mirror not raidz and zfs send the data. Mirrors are sweet when it comes to adding and removing vdevs.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!