ZFS pool unavailable, can data be recover?

Status
Not open for further replies.

DarkAngel

Cadet
Joined
Dec 24, 2017
Messages
1
So I had a double whammy this past weekend where a drive must have locked up causing the whole system to freeze up so I had to hard reboot it, after I did that the Zpool had a status of unknown see bellow

Code:
# zpool import

   pool: Mount_data

	id: 6719849262883214412

  state: UNAVAIL

 status: One or more devices are missing from the system.

 action: The pool cannot be imported. Attach the missing

devices and try again.

   see: http://illumos.org/msg/ZFS-8000-6X

 config:


Mount_data									UNAVAIL  missing device

  raidz1-0									ONLINE

	ada0									  ONLINE

	ada3									  ONLINE

  gptid/73fc1002-5ea1-11e3-b573-00151731fa8b  ONLINE


Additional devices are known to be part of this pool, though their

exact configuration cannot be determined.


Given that the disk was failing and it wouldn't allow the system to boot up, I went ahead and replaced it with a new drive (ada3) however I can't get the zpool online to be able to save some data off it, am I totally screwed here? I've tried zpool force but of course that fails.

Any help would be extremely appreciated it, this is Free-nas version 9.2.1.8 on a Intel SS4200 device.

Thanks
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Lets be a little bit more descriptive so we can offer you the best possible advice.

1. Exactly what was your pool configuration and how was it connected?
2. What was the original error message(s)?
3. What steps (be as precise as you can) did you do when you replaced the failing drive with a new drive?
4. Did you match up the failing drive by using the serial number?

I'm making a few assumptions right now so don't shoot me if they are wrong...
You had a four drive RAIDZ1 pool, is that true or was it more drives than that?

If you had a pool that consisted of more than four drives then it's really possible that all your data is gone.

You could attach all your devices you removed and try to import the pool again, yes even the failed devices.

Waiting on your answers and Good Luck, I think you will need it.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You had a four drive RAIDZ1 pool, is that true or was it more drives than that?
That definitely wasn't the case. The pool is missing a vdev.

So I had a double whammy this past weekend where a drive must have locked up causing the whole system to freeze up so I had to hard reboot it, after I did that the Zpool had a status of unknown see bellow

Code:
# zpool import

   pool: Mount_data

	id: 6719849262883214412

  state: UNAVAIL

 status: One or more devices are missing from the system.

 action: The pool cannot be imported. Attach the missing

devices and try again.

   see: http://illumos.org/msg/ZFS-8000-6X

 config:


Mount_data									UNAVAIL  missing device

  raidz1-0									ONLINE

	ada0									  ONLINE

	ada3									  ONLINE

  gptid/73fc1002-5ea1-11e3-b573-00151731fa8b  ONLINE


Additional devices are known to be part of this pool, though their

exact configuration cannot be determined.


Given that the disk was failing and it wouldn't allow the system to boot up, I went ahead and replaced it with a new drive (ada3) however I can't get the zpool online to be able to save some data off it, am I totally screwed here? I've tried zpool force but of course that fails.

Any help would be extremely appreciated it, this is Free-nas version 9.2.1.8 on a Intel SS4200 device.

Thanks
You need to get the missing disk(s) back. Otherwise, there's nothing you can do.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
That definitely wasn't the case. The pool is missing a vdev.
How do we know that from the reported info? Not questioning it, trying to learn. Thx.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
The "Additional devices are known to be part of this pool, though their exact configuration cannot be determined" bit. It's characteristic of missing vdevs.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Thank you.

Merry Christmas!
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
The "Additional devices are known to be part of this pool, though their exact configuration cannot be determined" bit. It's characteristic of missing vdevs.
I didn't know that. Does this mean that the OP could have added a single drive to expand a pool and now that the drive was replaced, the entire pool is gone. We have seen that before yet warn against it.
 

jde

Explorer
Joined
Aug 1, 2015
Messages
93
Please post the output of
Code:
zdb Mount_data
 
Status
Not open for further replies.
Top