zpool setup config not as intended

Status
Not open for further replies.

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
I have 6 2TB disks in a rackmount running on my second FreeNAS system. My intention was to setup 4 disks plus 2 hot spares in a raidz2 zpool. However, I believe I made a mistake.

# zpool status -v tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 0h22m with 0 errors on Sun Nov 9 00:22:02 2014
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/52f7ee90-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0
gptid/5342d9f7-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0
gptid/53892247-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0
gptid/53ce79a3-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0
gptid/5416adbb-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0
gptid/545e92d3-24a7-11e4-87dd-002590ea7f96 ONLINE 0 0 0

errors: No known data errors

What do I have to do in order to reconfigure this system as I originally intended? Do I copy all of the files off to a USB, destroy the zpool and start from scratch?

Thanks Larry
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
To change your configuration, yes, you'd need to destroy the pool and recreate it. However, FreeNAS doesn't support hot spares anyway, so it may not be worthwhile to do this.
 

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
My hope was to have disk redundancy in case of a single disk failure in the zpool. Is this not possible in FreeNAS? If it is, what do I need to read in order to create it?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You have it--in fact, you have redundancy for two disk failures. What you don't have are hot spares--disks that will be pulled into the array if one of your disks fails.
 

larzeb

Dabbler
Joined
Aug 13, 2011
Messages
42
Thanks for that explanation. If one does fail, will the zpool still function but in a degraded state? Each of the 6 disks are removable.
 
Status
Not open for further replies.
Top