This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Adding a vdev to an existing pool

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
DRF
NewUser
NewUser
Posts: 5
Joined: 24 Jun 2012 03:17
Status: Offline

Adding a vdev to an existing pool

Post by DRF »

Hi,

I'm running NAS4Free 9.1.0.1 - Sandstorm (revision 847) and just started using ZFS to replace a software RAID setup.

I have set up two 2TB disks as ZFS vdev, mirrored. These have been added to a pool, a dataset created, and everything works fine.

I now have two other 2TB disks. I created a second ZFS vdev, mirrored. Now I want to add it to the existing pool.

When I go to Disks|ZFS|Pools|Management I see the existing pool but when I go to Disks|ZFS|Pools|Management|Edit I can't see the second vdev in the Virtual devices window. If I go to create a new pool in Disks|ZFS|Pools|Management|Add , the second vdev does show up.

How do I add a second vdev to an existing pool? The WebGUI is preferred but command line is fine too.

Thank you!

sleid
PowerUser
PowerUser
Posts: 774
Joined: 23 Jun 2012 07:36
Location: FRANCE LIMOUSIN CORREZE
Status: Offline

Re: Adding a vdev to an existing pool

Post by sleid »

You can add a second vdev

Disks|ZFS|Pools|Tools
Command vdev add

But you must destroy before the second pool created to use its vdev.

Disks|ZFS|Pools|Management
press the red cross next to the vdev to destroy
12.1.0.4 - Ingva (revision 7852)
FreeBSD 12.1-RELEASE-p12 #0 r368465M: Tue Dec 8 23:25:11 CET 2020
X64-embedded sur Intel(R) Atom(TM) CPU C2750 @ 2.40GHz Boot UEFI
ASRock C2750D4I 2 X 8GB DDR3 ECC
Pool of 2 vdev Raidz1: 3 WDC WD40EFRX + 3 WDC WD40EFRX

Post Reply

Return to “ZFS (only!)”