Glam Prestige Journal

Bright entertainment trends with youth appeal.

I've a ZFS installation in Proxmox, in particular a RAIDZ-1 file system, for testing purposes (before going on production with this setup) I've added a new drive to the machine, but I'm blocked on this point... What's the command to add the new drive to the zpool?

I've tried with zpool add, but I don't achieve to find the correct combination of commands & params.

This is the result of zpool status of my testing environment:

 pool: rpool state: ONLINE scan: none requested
config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 pci-0000:00:10.0-scsi-0:0:0:0-part2 ONLINE 0 0 0 pci-0000:00:10.0-scsi-0:0:1:0-part2 ONLINE 0 0 0 pci-0000:00:10.0-scsi-0:0:2:0-part2 ONLINE 0 0 0 pci-0000:00:10.0-scsi-0:0:3:0-part2 ONLINE 0 0 0 pci-0000:00:10.0-scsi-0:0:4:0-part2 ONLINE 0 0 0
errors: No known data errors

Thanks in advance! :)

2 Answers

You can't extend the existing raidz1 vdev by adding another disk but you can add another vdev to the pool to increase the pool's capacity. You'll need more than one additional disk if you want to retain redundancy. For example, you could use two disks to add a mirror vdev or 3+ disks for another raidz1 vdev.

3

I know this question is old, but I just came across it. It looks like the ability to extend a RAIDZ one drive at a time is in the works! No ETA that I've seen though.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy