How to ADD disk to ZSF1 pool

Status
Not open for further replies.

refruta

Cadet
Joined
Aug 29, 2017
Messages
7
hi everyone i need upgrade mi zfs pool, i have 4 disk wd red 4tb in zfs1(12tb for space) i want add 2 4tb wd red to the pool what can i do that?.

Thanks
 

refruta

Cadet
Joined
Aug 29, 2017
Messages
7
i see the documentation thanks, but im not sure if i have 4disk i raid zfs1 if i add 2 more 4tb the 2 disk add to zfs1 pool or just add as stripe? please help with that question. Because I want it to be in total 16tb with redundancy to 2 disk failures (24tb) but i dont want to lose my data.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Then you need to backup your pool and recreat it as 6 drives in raidz2. That will give you two drives redundancy. However, you will be back to where you started, with 12 TB of usable space.

A raidz1 vdev and a second mirror vdev will give you two drive redundancy as well but the redundancy would be conditional. Each vdev need to survive so a drive failure in the mirror means it's twin will have to survive a resilver.

But that setup would give you an additional 3 TB of usable space.

https://jsfiddle.net/Biduleohm/paq5u7z5/1/embedded/result/
 

refruta

Cadet
Joined
Aug 29, 2017
Messages
7
Last estimated query, if I only add the two disks as it would ?.
And if I do this raidz1 + 0 would have a single unit with 16tb?
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Raid zfs1 does not exist. I think you mean raidz or raidz1.

So, 4 4TB drives in raidz gives you about 12TB of storage.

To convert to 6-way Raidz2 with about 16TB of storage and dual drive redundancy, you need to backup your data, recreate the pool, and then restore your data.

You should have a backup anyway.
 
Status
Not open for further replies.
Top