Degraded Volume

Status
Not open for further replies.

ck17

Dabbler
Joined
Jul 25, 2016
Messages
11
I have a degraded disk on a volume.
Unfortunately the disk that is failing, was added to a existing volume, bot was not integrated into the raid, but is added as stripe

It looks like this:
WD-16 (Volume);
stripe
da1p2 (disk that is failing)
raidz1-0
ada1p2
...
ada5p2

how can i solve the problem, without loosing data?
how can i remove the 'striped' disk and add the new disk to the raid?
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
You can't remove a vdev from a pool and a single drive striped is a vdev.

Backup the data elsewhere, destroy the pool, recreate it, copy the data back.

Now I wonder how you ended up here.
 

ck17

Dabbler
Joined
Jul 25, 2016
Messages
11
Thanks for your reply.

Is there any chance just to move the data from the striped-disk somewhere else? Any way to find what data is on that physical disk?
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
No, it's not possible, that's not how ZFS works.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You can replace the strip disk by putting in a new disk if you have an open sata port then zfs replace it using the gui and offline the bad drive. You will still have this bad pool configuration that you need to address though.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
You also can upgrade the stripe disk to a mirror and hope it manages to read most of it.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
You can add another disk to the stripe and turn it into a mirror.

Or you can remake the zpool.
 
Status
Not open for further replies.
Top