Unable to Access Directory in DEGRADED Pool

Status
Not open for further replies.

smountcastle

Cadet
Joined
Jul 13, 2014
Messages
1
While I was on vacation for a couple of weeks, I had two drives die and lost power (no UPS). I replaced the failed drives and they started reslivering but appear to have gotten stuck. I left it alone for a few days but since the reslivering wasn't making progress I restarted the server. Now it kernel panics on start up (when mounting the local file systems). Since I was using FreeNAS 8.3.0-RELEASE from a bootable USB drive and there's a newer version available, I downloaded FreeNAS 9.2.1.6 and created a bootable USB stick, imported the ZFS pool and was able to recover some of my data. Unfortunately, the one directory I didn't want to lose is inaccessible, here's the error message I get:

# ls /mnt/Main/Media/Pictures
ls: /mnt/Main/Media/Pictures: Unknown error: 122


If I boot back up with the FreeNAS 8.3.0-RELEASE, I can get in via single user mode but it reports:

# zpool import
pool: Main
id: 18408935635800139552
state: DEGRADED
status: One or more devices were being resilvered.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
config:

Main DEGRADED
raidz2-0 DEGRADED
replacing-0 DEGRADED
10982563356720550592 UNAVAIL cannot open
gptid/443b705f-0898-11e4-ba10-902b3435a0a0 ONLINE
replacing-1 DEGRADED
13680123313221299576 UNAVAIL cannot open
gptid/3a0b78b8-089a-11e4-ba10-902b3435a0a0 ONLINE
gptid/1f3d520c-3bf0-11e2-ae06-902b3435a0a0 ONLINE
gptid/1fb0b2c6-3bf0-11e2-ae06-902b3435a0a0 ONLINE
gptid/2029cb29-3bf0-11e2-ae06-902b3435a0a0 ONLINE
gptid/209f6321-3bf0-11e2-ae06-902b3435a0a0 ONLINE


Based on that note in the action, I'm afraid to re-import it.

For some background, I setup my RAIDZ-2 all through the Web GUI (following these instructions: http://stevestreza.com/2012/09/30/freenas-build/). When I replaced the failed drives, I used the Web GUI to detach the bad drives and then, after installing the replacements, used the GUI to complete the replacement and initiate reslivering.

Any suggestions for accessing that directory and it's contents would be appreciated, there are some family photos in there that I don't have back ups for (my fault).

Thanks for taking the time to read this and provide assistance,
Sean
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
To be honest, your options are quite limited. The error about it being mounted on another system is because the pool was never cleanly unmounted. My guess is you actually have another disk(s) failing and you have insufficient redundancy to continue operating the pool since you already have 2 failed disks. This is why we tell people:

1. Don't do RAIDZ1 because if one disk fails you have no additional safety margin
2. If you do have a failed disk you should replace it without delay. More disks will fail as time goes on and you do NOT want to be operating a pool with no additional safety margin

If you really need the photos PM me. I have been known to perform miracles.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
I'm confused @cyberjock ...the OP states he has a RAID-Z2. And you're talking about RAID-Z1?

What am I missing?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You are missing the fact that he has 2 disks that are already failed in his RAIDZ2 and I'm suggesting he actually has more. He has PMed me and confirmed that there are more disks that have failed than just 2.
 
Status
Not open for further replies.
Top