zpool import fails: pool unavail: disks online: insufficient replicas

Status
Not open for further replies.

dsmithson

Cadet
Joined
Dec 2, 2013
Messages
2
Hello,

Thanks for your help. We have a pool that has a disk that reported disk corruption previously, but now reports online. However, zfs is reporting insufficient replicas and will not import the pool. This is a pretty old version of freenas: 8.02-RELEASE. Is there any hope here? What additional information can I retrieve?

Code:
zpool import
  pool: DataStore
    id: 864137511475
state: UNAVAIL
status: One or more devices contains corrupted data.
action: The pool cannot be imported due to damaged devices or data.
  see: http://www.sun.com/msg/ZFS-8000-5E
config:
 
        DataStore  UNAVAIL  insufficient replicas
          da0p2    ONLINE
          da1p2    ONLINE
          da2p2    ONLINE
          da3p2    ONLINE
          da4p2    ONLINE
          da5p2    ONLINE
          da6p2    ONLINE
          da7p2    ONLINE
          da8p2    ONLINE
          da9p2    ONLINE
          da10p2    ONLINE
          da11p2    ONLINE
          da13p2    ONLINE
          da14p2    ONLINE
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
That looks like a striped array of 15 disks. I don't think you have a snowball's chance in hell of getting your data back. PM me with some more info on your server, what it's used for, specs, etc.
 

dsmithson

Cadet
Joined
Dec 2, 2013
Messages
2
I thought that might be the case. How can you tell it's a striped array? A few other people had worked on this previously and I think disk 12 is missing from the pool. Unfortunately I have very little clue what the others before me did, except a limited shell history. This is a disaster for the client. No backup, no redundancy, no way to get the data back. I have referred them to a very expensive data recovery service, but I don't know if they would be able to unravel the mystery either.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Well,if you check out the zpool status output there's no mention of raidz1 or raidz2 or mirrors. So that's a dead giveaway. Here's my raidz2 output for comparison

Code:
 
        NAME                                            STATE    READ WRITE CKS
        tank                                            ONLINE      0    0
          raidz2-0                                      ONLINE      0    0
            gptid/6fbb91d5-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
            gptid/70448fd2-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
            gptid/70c0c7b3-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
            gptid/713de0d5-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
            gptid/71e3eea1-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
            gptid/728458d2-4a95-11e2-bca4-0015171496ae  ONLINE      0    0
 


Depending on the condition of da12 you might be able to get your data back. PM me with some contact info as I have some info regarding data recovery. :P
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
Depending on if you set it up as RAID0 or JBOD you may be able to recover some data. If you set it up as RAID0 you're up shit creek without a paddle. But if you set it up as JBOD (I think that's what it does when you expand by adding disks instead of creating the volume with all of them at the time of creation of the pool, correct me if I'm wrong Cyberjock.) you may have a chance of recovering any data that was NOT on that particular disk, but it's still only a chance however.

I'm not sure how you'd be able to discern the difference in FreeNAS though.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
The problem is his pool is already setup as a 15 vdev striped pool. I've already talked to him on the phone. He has no options except the VERY expensive Ontrack recovery. Even then, the amount of data you are likely to recover is almost zero.
 

Knowltey

Patron
Joined
Jul 21, 2013
Messages
430
The problem is his pool is already setup as a 15 vdev striped pool. I've already talked to him on the phone. He has no options except the VERY expensive Ontrack recovery. Even then, the amount of data you are likely to recover is almost zero.

Welp in that case I guess it was one hell of a RAID0 while it lasted. *sheds a tear in mourning of the data*
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Yeah. Someone took one disk and made a pool with it, then realized the other pool doesn't work anymore. Doh!
 
Status
Not open for further replies.
Top