Can't import pool. Drives "unavailable"

Status
Not open for further replies.

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
I'm very new to the freenas community and I don't have that much experience with servers. Everyone has to start somewhere so I started head first. That being said I did a few noob mistakes in a row to to put myself in this situation.

Running 9.10 stable. I don't have any crash logs(helpful I know). I did have a crash and an alert came up for critical error that said there could be corruption. Then next the array status was unknown. I tried reading forums and thought a factory reset would help(noob). That's where I'm at now. Trying to import my drives and get the "one or more drives are currently unavailable". I see all my drives and I don't see anything wrong with them so far. I can live with loosing the data from my inexperience and stupidity but if possibly I'd love to recover some of it.

[root@freenas ~]# zpool import -f
pool: Main6Array
id: 16645416043333463440
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

Main6Array ONLINE
raidz2-0 ONLINE
gptid/ddee2f47-2a8c-11e6-b3ce-408d5c573982 ONLINE
gptid/def45121-2a8c-11e6-b3ce-408d5c573982 ONLINE
gptid/dff52dd0-2a8c-11e6-b3ce-408d5c573982 ONLINE
gptid/e0bf228b-2a8c-11e6-b3ce-408d5c573982 ONLINE
gptid/e1bc0fe7-2a8c-11e6-b3ce-408d5c573982 ONLINE
gptid/e2b8e5ee-2a8c-11e6-b3ce-408d5c573982 ONLINE
[root@freenas ~]# zpool import -f Main6Array
cannot import 'Main6Array': one or more devices is currently unavailable
[root@freenas ~]# camcontrol devlist
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus0 target 1 lun 0 (ada1,pass1)
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus1 target 0 lun 0 (ada2,pass2)
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus1 target 1 lun 0 (ada3,pass3)
<WDC WD30EFRX-68EUZN0 82.00A82> at scbus2 target 0 lun 0 (ada4,pass4)
<WDC WD30EFRX-68AX9N0 80.00A80> at scbus3 target 0 lun 0 (ada5,pass5)
<SanDisk Cruzer Fit 1.00> at scbus5 target 0 lun 0 (pass6,da0)
[root@freenas ~]#
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Is your pool supposed to be a single 6-disk RAIDZ2 vdev?

Did you have an L2ARC or SLOG device at some point?

Please provide as much detail as you can about your system and how it was configured.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware spec including your HDD controller.
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
Is your pool supposed to be a single 6-disk RAIDZ2 vdev?

Did you have an L2ARC or SLOG device at some point?

Please provide as much detail as you can about your system and how it was configured.
Yes it is suppose to be. Sorry for the lack of detail. Again very new to this.

It's only a month old install of freenas. Set it up as a 6 drive RAIDZ2. I had a Windows share setup on it and had 3 jails Plex(running) , transmission(running), and owncloud(installed not running). Never had any L2ARC or SLOG device.

System specs
i7 3770k
GA-B75M-D3H
22gb Ram Non-ECC (I know its frowned apon)
6x3tb WD Reds
850W PSU

It was my old pc I recycled to be a server.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
cannot import 'Main6Array': one or more devices is currently unavailable
Then this message is puzzling.

What is the output of zpool import -fFn Main6Array? Please post output between CODE tags.
code.png
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Also, smartctl -a /dev/adaX for each drive X.

Did you burn in your system with memtest and badblocks?
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
Also, smartctl -a /dev/adaX for each drive X.

Did you burn in your system with memtest and badblocks?

I started saving out the smartctl for each drive earlier. I'll post when I get back. No I learned about burning a system about a week ago. Didn't see it before I installed the os.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I did have a crash
Do you have any idea what cause this? Any sign of a power outage or surge?

If not, one concern would be that you're trying to import a potentially damaged pool on a potentially flaky system. Consider disconnecting all disks and running memtest86+ for a couple of days.
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
Do you have any idea what cause this? Any sign of a power outage or surge?

If not, one concern would be that you're trying to import a potentially damaged pool on a potentially flaky system. Consider disconnecting all disks and running memtest86+ for a couple of days.

I believe I was trying to reinstall Plex jail when it crashed. I think I was going through the permissions of the storage of the jail. Pretty sure that's when it happened. Also I tried the code you told me "zpool import -fFn Main6Array" and got nothing. Just went to a new line with no output. Attached are the smartctl for each drive.
 

Attachments

  • ada0.txt
    12.6 KB · Views: 237
  • ada1.txt
    12.6 KB · Views: 233
  • ada2.txt
    12.6 KB · Views: 227
  • ada3.txt
    12.6 KB · Views: 251
  • ada4.txt
    12.6 KB · Views: 240
  • ada5.txt
    18.9 KB · Views: 280

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You should run smart tests on your drives. Only ada5 has had a test run but even that drive isn't running them correctly.
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
You should run smart tests on your drives. Only ada5 has had a test run but even that drive isn't running them correctly.
whats the command for running a smart test?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
...or, to actually start a test, 'smartctl -t long /dev/ada[0-5]'.

Didn't realize they take 405 mins to complete. I started one. Can you do multiple at a time and when/how will I get the results? Do I have to keep the shell open the whole time?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Can you do multiple at a time and when/how will I get the results?
Yes, of course.

Do I have to keep the shell open the whole time?
No, the drives do them internally.

You'll have to manually query the drives' SMART data to get the results, after the tests are done.
 

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
Yes, of course.


No, the drives do them internally.

You'll have to manually query the drives' SMART data to get the results, after the tests are done.

Ok thanks. I'll post the results later when they are all done. How do I query the drives for the data?
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
I'm very new to the freenas community and I don't have that much experience with servers. Everyone has to start somewhere so I started head first.
Since you are new, I highly recommend that you take some time to go over the informative thread/literature in these forums and get yourself a bit more educated. Not knocking you, just a suggestion that will pay dividends.

Most contributors have links to threads in their signature that you can/should at least start with. Feel free to look at the "Recommended Reading" in my signature for an initial start.
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194

dmo

Dabbler
Joined
Jun 17, 2016
Messages
16
Since you are new, I highly recommend that you take some time to go over the informative thread/literature in these forums and get yourself a bit more educated. Not knocking you, just a suggestion that will pay dividends.

Most contributors have links to threads in their signature that you can/should at least start with. Feel free to look at the "Recommended Reading" in my signature for an initial start.

Yea I know. I got impatient and just went for it. Honestly I just want to see it I can recover my Array and pull my data. Once/if I do that I'm probably going to start over and read much more in depth before I go again.
 
Status
Not open for further replies.
Top