ZFS pool missing after reboot on freenas 9.1.1

Status
Not open for further replies.

jenus

Cadet
Joined
Oct 17, 2013
Messages
2
Hi all,

I have a issue with a ZFS pool i created on a freenas 9.1.1 system. The system has 2 pools, one old imported pool and a new pool i created using the gui. The imported pool is fine after a reboot but the pool that i created is missing.



I can see the disks in the system:

[root@fileserver] ~# camcontrol devlist
<Hitachi HDS721050CLA362 JP2OA3MA> at scbus0 target 0 lun 0 (ada0,pass0)
<Hitachi HDS721050CLA362 JP2OA3MA> at scbus1 target 0 lun 0 (ada1,pass1)
<SAMSUNG HD204UI 1AQ10001> at scbus2 target 0 lun 0 (ada2,pass2)
<SAMSUNG HD204UI 1AQ10001> at scbus3 target 0 lun 0 (ada3,pass3)
<SAMSUNG HD204UI 1AQ10001> at scbus4 target 0 lun 0 (ada4,pass4)
<SAMSUNG HD204UI 1AQ10001> at scbus5 target 0 lun 0 (ada5,pass5)
<Philips USB Flash Drive PMAP> at scbus7 target 0 lun 0 (pass6,da0)
The 2 500Gb Hitachi disks should contain the pool tank1. But when i try to import the pool:
[root@fileserver] ~# zpool import tank1
cannot import 'tank1': no such pool available
All the ZFS labels seem to be missing:
[root@fileserver] ~# zdb -l /dev/ad4
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
[root@fileserver] ~# zdb -l /dev/ad6
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3




The disks seem to have a GPT partition:
[root@fileserver] ~# fdisk /dev/ad4
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
start 1, size 976773167 (476940 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 2;
end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
[root@fileserver] ~# fdisk /dev/ad6
******* Working on device /dev/ad6 *******
parameters extracted from in-core disklabel are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
start 1, size 976773167 (476940 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 2;
end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>



But gpart list does not show the disks.
Does anyone have a clue how i can recover the pool. I suspect that something is wrong with the GPT label.


Thanks,


Jenus
 
D

dlavigne

Guest
Just to be clear, you created a new pool in the GUI, it showed up in the GUI, then it disappeared from the GUI after a reboot?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Are you running FreeNAS as a virtual machine?
 

jenus

Cadet
Joined
Oct 17, 2013
Messages
2
Thanks for the responses, i found the problem. The disks where part of a geom mirror and freenas detected it as a mirror device. I removed the geom data from the disks and now the pool works fine.
 
Status
Not open for further replies.
Top