How to fix broken ZFS pool

Status
Not open for further replies.

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
In the OP, the most likely scenario is:
  • Failing drive was removed from RAIDZ1 vdev. So far, nothing catastrophic. This is represented by the UNAVAIL within the RAIDZ1 vdev.
  • Drive was added as a vdev. Not immediately catastrophic, but very nasty.
  • Second vdev was removed, effectively destroying the pool. This one is represented by the additional devices message.
I'm fairly certain that vdevs only contain information about their drives, not other vdevs', thus the vague message seen here.
 

Jippe

Cadet
Joined
Jul 11, 2016
Messages
5
I probably used the "Manual Setup.." option in the Volume Manager since the "Automatic" way only allowed me to add the new drive as a "stripe"...
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I probably used the "Manual Setup.." option in the Volume Manager since the "Automatic" way only allowed me to add the new drive as a "stripe"...
That's because there is no other possibility.
 

Jippe

Cadet
Joined
Jul 11, 2016
Messages
5
By the way, the newly added drive was wiped using the "Quick wipe" option. Is there perhaps any chance to recover from that?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I probably used the "Manual Setup.." option in the Volume Manager since the "Automatic" way only allowed me to add the new drive as a "stripe"...
  1. "Stripe" is the only way that a single drive could be added to an existing pool
  2. You would have had to use the manual setup, since the automatic volume manager would have refused to add the drive, giving you a warning in bold red print saying that it was a bad idea.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
By the way, the newly added drive was wiped using the "Quick wipe" option. Is there perhaps any chance to recover from that?

Depends what 'quick wipe' technically means. If somebody here can help you recreate the partition table that would have existed on the drive, you can try to import.

Failing that, the original data may someday be recoverable, especially if you had snapshots.
 
Status
Not open for further replies.
Top