Expand dRaid on Proxmox Backup Server

Apr 29, 2022
24
2
8
Hello everyone,

At the moment we have dRaid configured with draid1:5d:18c:1s and we want to expand the disks with this config dRaid1:10d:34c:1s.
I want to know if I can expand the dRaid with more disks without destroying the current dRaid or data on it and how?
 
Last edited:
Correct me if I am wrong, but AFAIK, raidz and draids cannot be expanded by adding disks. Adding a new vdev to the pool would work, though.

The zpool-attach man page says the following:

Attaches new_device to the existing device. The existing device cannot be part of a raidz configuration. If device is not currently part of a mirrored configuration, device automatically transforms into a two-way mirror of device and new_device. If device is part of a two-way mirror, attaching new_device creates a three-way mirror, and so on. In either case, new_device begins to resilver immediately and any running scrub is cancelled.
 
Last edited:
Correct me if I am wrong, but AFAIK, raidz and draids cannot be expanded by adding disks. Adding a new vdev to the pool would work, though.

The zpool-attach man page says the following:
I have been trying to do it but no success yet.
How can I add the /dev/sda and /dev/sde to the existing pool?
1683895295648.png
1683895317962.png
 
And that is what I meant. You cannot expand a draid currently. Maybe in the future, but for now ZFS doesn't support it. You could add the two disks as a mirror to you pool, but that will be its own vdev. In the end the pool would then have the draid and mirror vdev.

Alternatively, move the data away temporarily and recreate the pool with the larger draid.
 

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!