Issues with Importing an existing zpool

Status
Not open for further replies.

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
Hi all,
NAS Version 9.2.0
Our NAS machine suddenly froze yesterday afternoon with the following error:
Fatal Trap 18 Integer divide fault while in Kernel mode.
We reloaded FreeNAS on the SD Card and it started. Thereafter we tried importing the zpool using the zpool import option. However, it just came back to the command prompt again, impyling that it did not import anything. Thereafter we used the command zpool status, but that said No Pools available. The disk is showing up in the View Disk Option. The command camcontrol devlist also shows the drive.
We are new to NAS and would appreciate some troubleshooting steps to take it further.
Thank you.
 

SweetAndLow

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

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
The configuration is as follows:
Intel I3 3220 processor
Intel DZ75ML-45K motherboard
Segate NAS HDD 3TB
DDR3 8GB ECC RAM
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It's too bad you've got that motherboard. Since it has a desktop chipset you aren't actually using the ECC functions. :/

As for importing your pool, if zpool import is not returning an output, you're in a bad way with the ZFS gods. Please post a debug file of your server.
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
Intital Fatal Error. There after we reloaded FreeNas on the SDCard and started. It did start but the autoimport volume or import volume is not working. The following are a few commands that we ran
[root@freenas ~]# camcontrol devlist
<ST3000VN000-1H4167 SC43> at scbus0 target 0 lun 0 (ada0,pass0)
<Generic STORAGE DEVICE 9454> at scbus3 target 0 lun 0 (pass1,da0)
[root@freenas ~]# gpart show
=> 34 5860533101 ada0 GPT (2.7T)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338696 2 freebsd-zfs (2.7T)
5860533128 7 - free - (3.5k)

=> 63 15523777 da0 MBR (7.4G)
63 1930257 1 freebsd [active] (942M)
1930320 63 - free - (31k)
1930383 1930257 2 freebsd (942M)
3860640 3024 3 freebsd (1.5M)
3863664 41328 4 freebsd (20M)
3904992 11618848 - free - (5.6G)

=> 0 1930257 da0s1 BSD (942M)
0 16 - free - (8.0k)
16 1930241 1 !0 (942M)
[root@freenas ~]# zpool status
no pools available
[root@freenas ~]# zpool import
[root@freenas ~]#
 

Attachments

  • Initial Fatal Error.jpg
    Initial Fatal Error.jpg
    323.1 KB · Views: 213

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
My apologies I am new to FreeNAS. Can you please let me know how to remove the debug file of the server
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
ok got it. attached the debug file
 

Attachments

  • debug-freenas-20150214103605.tgz
    77.3 KB · Views: 209

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Well, I got nothing. I don't know what exactly happened. But your pool got damaged so badly the OS doesn't even recognize it. Have you run a RAM test lately?

Sure sounds like something serious went wrong, but there's no evidence of what.
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
No, We have not run any ram test. after the fatal error we reloaded free nas on the sd card and tried to import the pool. The data is very critical for us. Is there any way we can retrieve the data?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Well:

1. I'd run a RAM test. I'm kind of expecting you to have errors based on my Google searches of that error (the very first search result for your error is someone that had a bad RAM module).
2. If you had bad RAM, your chances of getting your pool back are about 0% based on historical recovery rates for bad RAM.
3. Why would you put critical data on a pool that has no redundancy whatsoever? camcontrol devlist shows only 1 disk...
4. Why would you put critical data on a system that has no ECC support!? There's a reason why I have the ECC vs non-ECC thread.... :(

Honestly, I think you have a very very slim chance of ever getting the data back. Your ZFS labels for the pool are gone, which identifies the zpool's basic layout. Without that recovery is going to have to be performed by an expert.
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
We did have a RAID zero configured on it but the second hard disk also gives the same error.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
We did have a RAID zero configured on it but the second hard disk also gives the same error.

What? I don't even understand what you are saying.
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
We had two hard disks of 3 TB each in the system. We had configured RAID 0 configured. After reloading of FreeNAS, we tried the import zfs pool but it did not work. Thereafter we tried import zfs pool with single hard disk's. But that too did not work and gave the same issues as mentioned above.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Two disks in RAID 0 (i.e., striped) is even worse for redundancy than a single disk alone. Are you sure you meant RAID 0 and not RAID 1?
 

Murtuza

Cadet
Joined
Feb 13, 2015
Messages
9
Sorry, what I meant was the mirroring option. From the ZFS volume manager we had selected two disks during the initial setup. Hence the mirroring option was automatically pickedup by the ZFS volume manager.
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
According to the specs, the Intel DZ75ML-45K motherboard supports non-ECC memory. Would ECC memory even work on such a motherboard?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It will work, but it will not do the ECC function. You have to have a server chipset on the board for ECC functions.
 
Status
Not open for further replies.
Top