zpool import crashes in a panic

Status
Not open for further replies.

heimdull

Cadet
Joined
Mar 12, 2013
Messages
7
We had a freenas 8.3.1-RELEASE-p2 server crash hard which caused some corruption. When server tried to reboot it paniced when activation its storage pool. After installing latest version of Frenas 9.2.1.9 to see if that would be able to 'import' out pool it also just hits a panic when you use zpool import -f <name>. (We also tried FreeBSD Latest but same problem)

We have screenshoot of the error if needed but here is what our pool looks like:

[root@tpfs03] ~# zpool import
pool: ymfs
id: 2351354860825601052
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-72
config:

ymfs FAULTED corrupted data
gptid/583c4ae7-8cf4-11e2-b3d4-0025907943e8 ONLINE

[root@fs03] ~# glabel list
Geom name: mfid0p2
Providers:
1. Name: gptid/583c4ae7-8cf4-11e2-b3d4-0025907943e8
Mediasize: 23998129683968 (21T)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 2147549184
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 46871347039
length: 23998129683968
index: 0
Consumers:
1. Name: mfid0p2
Mediasize: 23998129683968 (21T)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 2147549184
Mode: r0w0e0

Is there anything that can be done to get this pool/data back online? From a few searches I could find more than one person with this issue but no real solution.

I do have a backup of our 8.3.1 config if that would help. (but pool is not version 5000)

Our pool is 1 device that is provided by a Raid10 hardware raid controller.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
When you say it crashed hard, what does that mean? Does the RAID10 controller have a BBU?

Running ZFS on top of RAID isn't recommended, because of these types of scenarios.

Have you tried zpool import -f -F ymfs ?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Your device is an mfid. That means you are using a hardware RAID controller (which is about the biggest no-no in all of ZFS).

As for options, if you want to pay for troubleshooting you can try calling iXsystems and doing a one-time ticket. You can also try to find someone elsewhere that can do ZFS recovery.

But I will tell you that your odds are very slim of getting access to the data. One of the reasons we verbally admonish people that use RAID controllers is the exact, unrecoverable corruption you are likely seeing.

Good luck.
 

heimdull

Cadet
Joined
Mar 12, 2013
Messages
7
that is a bummer, Looking at the manual it does not say anything about the fact that you should not use a hardware raid it actually says that a hardware raid controller like LSI MegaRaid should be used for alerting, hot swap ... (Controller we have)

Any ways I'll go to ixsystems to see what they can do.

(Tried pool import -f -F ymfs and panic)
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
that is a bummer, Looking at the manual it does not say anything about the fact that you should not use a hardware raid it actually says that a hardware raid controller like LSI MegaRaid should be used for alerting, hot swap ... (Controller we have)

well, actually the manual says it...read the NOTE at the end of page 16
 
Status
Not open for further replies.
Top