added single disk to pool instead of cache

Status
Not open for further replies.

abuck

Cadet
Joined
Sep 4, 2012
Messages
4
Hey guys,

I'm running freenas 8.3.0 P4, I have 7 2TB HDD in a zraidz-2 configuration and I wanted to add a log device to the pool. However, something went bad on the GUI side and ended up with a single drive instead. (a 120GB SSD drive). How can I remove this drive, it doesn't seem to be able to remove a vdev from the pool, what are my options ? I don't have enough drives to back-up my 10TB pool and re-create it....

[jon@freenas] /# zpool status volRaidz
pool: volRaidz
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scan: none requested
config:
-
- NAME STATE READ WRITE CKSUM
- volRaidz DEGRADED 0 0 239
--- raidz1-0 DEGRADED 0 0 956
----- gptid/7e869002-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
----- gptid/7f55461d-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
----- gptid/7f746c41-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
----- 2639875857108495737 UNAVAIL 0 0 0 was /dev/gptid/7f84b7e8-3c9d-11e2-8d67-001517a8efa2
----- gptid/7f99bb65-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
----- gptid/7fb45668-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
----- gptid/7fc50c3a-3c9d-11e2-8d67-001517a8efa2 ONLINE 0 0 0
--- gptid/b1a5e58b-cbb1-11e2-9cf0-001517a8efa2 ONLINE 0 0 0 <----------------- THIS IS MY SSD DRIVE


The degraded stuff is there because I had a fail drive on friday...need to replace it soon.

thanks,
 

titan_rw

Guru
Joined
Sep 1, 2012
Messages
586
It's impossible to see your zpool setup without the formatting preserved with code tags.

If the ssd did get added as a storage vdev, then you'll have to backup, destory and recreate the zpool, and restore. There's no way to remove a vdev once it's added.
 

abuck

Cadet
Joined
Sep 4, 2012
Messages
4
Look like it should have a big warning in the freenas GUI when adding disk to the pool. IE: Are you really sure you want to add a single disk to the pool, THIS WILL BE PERMANENT change or something. It is too easy to choose the wrong option and the consequences are too big.

Anyway, that being said, how the redundancy works when working with multiple vdevs ? Would it use the first vdev and once it's full, it will use the second one or does it use equaly ? I'm just concerned that if something bad happens to my SSD, i will lost everything, even if I do have a zraid-2 setup on my first
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
Look like it should have a big warning in the freenas GUI when adding disk to the pool. IE: Are you really sure you want to add a single disk to the pool, THIS WILL BE PERMANENT change or something. It is too easy to choose the wrong option and the consequences are too big.
AFAIK, they fixed this. IMO, they should have done so earlier.

I'm just concerned that if something bad happens to my SSD, i will lost everything, even if I do have a zraid-2 setup on my first
Mirror it.

Next time copy/paste the CLI output inside [code][/code] tags.
 
Status
Not open for further replies.
Top