Cannot Import Volumes [9.2.1 x86]

Status
Not open for further replies.

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
Hi Everyone,

My FreeNas 9.2.1 x86 went down Thursday, June 11th, and I haven't been able to recover.

This is my first NAS and it had been working fine for about two weeks.

Inside the box are two 4TB sata HDD running Raid 1.

So rewind to 6/11/15 and I noticed that my CIFS description was a bit off, so I changed the description and rebooted the machine through the web console. It didn't appear to come back online, but it was the end of the day and I assumed it was just a hiccup.

Well the next day I tried to start it up again and then I saw the problem...

Mounting local file systems:

Fatal trap 12: page fault while in kernal mode
cpuid = 3; apic id = 03
fault virtual address = 0x11
fault code = supervisor read, page not present
instructor pointer = 0x20:0xcc0d9e94
stack pointer = 0x20:0xf023Za90
frame pointer = 0x20:0xf0232ab4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DLP 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, ILPL = 0
current process = 270 (txg_thread_enter)
[ thread pid 270 tid 100549 ]
Stopped at range_tree_vacate+0x24: calll *0x10(%edx)
db>

So googling and using the support forums suggested this is a broad error. So I figured it might be the thumb drive. I tried two other thumb drives and was able to successfully install FreeNAS 9.2.1 x86 on both of the thumb drives. However when I tried to auto-import the volumes, it doesn't work. I can see the pool and tell it to import and all seems well. Step 2 of the import takes awhile, then it takes me back to the log-in screen for the web console. I log-in and the volumes aren't there. I've repeated this process so many times trying different things and the results are the same. I cannot auto-import the volumes.

Any suggestions?

-edit-
System Specs...

Lenovo ThinkServer TS140
Intel Core i3-4130 3.4GHz
Dual-Core Processor
3MB Cache Memory
CPU LGA 1150
Chipset Intel C226
Memory 4GB DDR3-1600
Hard Drives - 2 in Raid-1
HGST Deskstar NAS 4TB 7200 RPM 64MB Cache SATA 6.0Gb/s
 
Last edited:

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
I forgot to ask... do you think this is because I changed the CIFS share description? Was that what caused this? And obviously I'm looking for any suggestions to help me recover these volumes. I have approximately 70GB of data on there that I don't want to lose.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Please post your full hardware specs, per forum rules. This will give readers a much better chance of helping you. And please clarify this:
Inside the box are two 4TB sata HDD running Raid 1.
Does this mean you're using a hardware RAID card instead of presenting the disks directly to ZFS? Or do you mean you set up a mirrored vdev?
 

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
During original installation, I was using hardware raid. I realized this is not recommended and disabled and went with software raid in FreeNas.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Hard Drives - 2 in Raid-1
Please be as specific as possible about your pool configuration.

What is the output of typing zpool import at the command-line (please use CODE tags in your reply)?

The most obvious issue is that you have half the minimum RAM for running FreeNAS with ZFS. This can cause problems when attempting to import a pool.
 

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
Did you disable hardware raid after the crash or when you have set it up in the beginning? And like robert said: zpool import please.

Sent from my portable microwave
 
Last edited:
Joined
Oct 2, 2014
Messages
925
system spec's from above:

Lenovo ThinkServer TS140
Intel Core i3-4130 3.4GHz
Dual-Core Processor
3MB Cache Memory
CPU LGA 1150
Chipset Intel C226
Memory 4GB DDR3-1600
Hard Drives - 2 in Raid-1
HGST Deskstar NAS 4TB 7200 RPM 64MB Cache SATA 6.0Gb/s
 

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
Hi Robert,

I'm ran zpool import from the command line and it appears they're online and importable. I'm having problems uploading the photo to the forum through the forum software, but I have a screenshot here...

http://i.imgur.com/0Yk2aE9.jpg

(pool: Pool4TB
id: 1098948053943460416
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
Pool4TB ONLINE
mirror-0 ONLINE
gptid/d7401e41-1119-11e5-9003-6c0b8407412f ONLINE
gptid/d79aa7cc-1119-11e5-9003-6c0b8407412f ONLINE
[root@freenas] ~#)

When I originally created the pool, I had disabled hardware raid controller and setup software NAS mirror via raid-1 when I made the volume.

Noctris,

Yes, since the issues I've confirmed that the hardware raid controller is still disabled.

I just bought 16GB more RAM Crucial 16GB (2 x 8GB) 240-Pin DDR3 SDRAM ECC Unbuffered DDR3 1600 (PC3 12800) Server Memory Model CT2KIT102472BD160B and it will arrive on Tuesday. I'll install it and let you know how it goes.

Thanks everyone for their suggestions and help so far.

NAS27
 

Attachments

  • IMG_20150626_101841.jpg
    IMG_20150626_101841.jpg
    275.9 KB · Views: 255

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
try

zpool import -f Pool4TB

And indeed.. 4GB is definately low on ram but that will be solved soon i see ;-)
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Might want to wait until you have the additional RAM before trying to force the zpool import.

Lack of RAM may not be the underlying issue, but trying to recover this situation with less than the minimum seems like asking for trouble.
 

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
I tried zpool import -f Pool4TB and a ton of text rapidly scrolled up the screen. Then the unit rebooted. I logged into the web console and the volumes didn't import. It appears to be the same situation as the auto-import.

I'll try again after I get the RAM on Tuesday.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I had disabled hardware raid controller and setup software NAS mirror via raid-1 when I made the volume.
OK, so you have a mirror, which strictly speaking is not the same thing as RAID1 when you're talking ZFS, though it is very similar.

While you wait for the extra RAM, please post the results of running smartctl -a on each drive. Most likely your drives are /dev/ada0 and /dev/ada1. Please use CODE tags.
 

NAS27

Cadet
Joined
Jun 19, 2015
Messages
7
Robert,

I'm sorry, I don't understand CODE tags. If you can explain how I do them in a post, I will do it.

In console I typed...

smartct1 -a /dev/ada0

It said no errors found.

Then I typed...

smartct1 -a /dev/ada1

which also said no errors found. There was a lot more text that scrolled by that I was unable to read. I can take a photo of the screen too if that helps.

Thanks,

NAS27
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I'm sorry, I don't understand CODE tags. If you can explain how I do them in a post, I will do it.
The easiest way to capture the "text that scrolled by" is by logging into your box using SSH. This will allow you to copy/paste the output of command-line programs into a forum post in a way that makes them easier to read. When you create the forum post, precede the text you paste in with "CODE" with square brackets in place of the double-quotes and follow it with "/CODE" with square brackets in place of the double-quotes.

Like this:
"CODE"
lots of text
that scrolled by
too fast to read
"/CODE"
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I tried zpool import -f Pool4TB and a ton of text rapidly scrolled up the screen. Then the unit rebooted.
This strongly suggests that your pool is corrupted, which is a common result of running ZFS with too little RAM (you're using half the minimum amount). It's worth trying with more RAM, but there's a distinct chance that your data is gone.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
The OP is running the x86 version which is limited to 4GB of RAM and supported for this version. Unfortunately these x86 versions never saw a lot of use because ZFS likes more RAM to work well so we all never recommend the x86 version.

Do you have a backup of your configuration?
Have you tried the 64 bit version? It will still run using your 4GB or RAM (just not well) but no matter what, once you upgrade to 8GB RAM, you will need to upgrade to the 64 bit version to take advantage of the extra RAM.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Whichever version he's running, the behavior is consistent with a corrupted pool. I'd be happy to be wrong, though.
I believe you are correct however he will need to upgrade to the 64 bit version to take advantage of the extra RAM, but if the gods are with him, the pool will mount.
 

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
I actually did notice the 32 bit which is why i didn't go on a 'too little ram' rant from the start [emoji14] that being as it may, the fast text scolling and reboot after zpool import -z is not really a good sign.

Wait for the ram, backup config, reinstall freenas x64, and then try import. But i wouldn't get my hopes up :s

Sent from my portable microwave
 
Status
Not open for further replies.
Top