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!

Upgrade from single disk to mirror

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
eSALTS
NewUser
NewUser
Posts: 2
Joined: 05 Aug 2014 19:39
Status: Offline

Upgrade from single disk to mirror

Post by eSALTS »

I'm currently running Nas4Free with one 3TB WD Red disk. I am planning on buying another identical disk, and would like to add it to my zpool as a mirror. Is this possible to do without destroying my zpool and creating another? If so, how would I go about accomplishing this?

Thanks in advance.

eSALTS
NewUser
NewUser
Posts: 2
Joined: 05 Aug 2014 19:39
Status: Offline

Re: Upgrade from single disk to mirror

Post by eSALTS »

I just read through the ZFS Handbook (I probably should have done that before posting, my bad!). I see I can use "zfs attach".

I'd like to clarify the usage for zfs attach, though.
My zpool is named Data.
My vdev is named Data_disk_0

so I would do "zpool attach Data Data_disk_0 ada1" (replacing ada1 with whatever the id of the new disk is). Is this correct?

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: Upgrade from single disk to mirror

Post by substr »

It usually looks more like zpool attach Data ada0 ada1 , but trying your example wouldn't cause any harm.

Post Reply

Return to “ZFS (only!)”