FreeNAS 8.2 Upgrade - ZFS Pool Not Imported/Available?

Status
Not open for further replies.

aliby

Cadet
Joined
Mar 5, 2012
Messages
5
Hello,

I upgraded to FreeNAS 8.2 from 8.0.4. All of my settings/information copied over just fine. However, my ZFS pool does not actually exist, even though it shows up in the WebGUI.

Any thoughts on what to do?

It also does not show up when trying to manually import it:

Trying a "zpool import -f" shows nothing.

Tried manually importing it, since I knew the name:
# zpool import -f VMware_3TB_Storage
cannot import 'VMware_3TB_Storage': no such pool available

Finally, message log output:

# cat messages | grep -i vmware
Mar 5 05:38:11 freenas root: /etc/rc: WARNING: failed precmd routine for vmware_guestd
Mar 5 05:38:53 freenas middleware[2743]: Popen()ing: zpool status VMware_3TB_Storage
Mar 5 05:41:57 freenas middleware[2318]: Popen()ing: /sbin/zfs list -Hr -t filesystem VMware_3TB_Storage
Mar 5 05:42:23 freenas middleware[2318]: Popen()ing: zpool status VMware_3TB_Storage
Mar 5 05:42:32 freenas middleware[2318]: Popen()ing: /sbin/zfs list -Hr -t filesystem VMware_3TB_Storage
Mar 5 05:42:32 freenas middleware[2318]: Popen()ing: /sbin/zfs list -H -o name,volsize -t volume -r VMware_3TB_Storage

Any thoughts?
 

aliby

Cadet
Joined
Mar 5, 2012
Messages
5
Did a bit more digging... Seems like FreeNAS 8.2 does not see any of the three SATA drives I have in my server. Prior to upgrading from 8.0.4, they were detected just fine...

Found out that my card is:
hptrr0@pci0:4:2:0: class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00
vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device = 'MV88SX6081 8-port SATA II PCI-X Controller'
class = mass storage
subclass = SCSI

I'm searched a bit and found this: http://support.freenas.org/ticket/174 in regards to Marvel SATA cards.

Maybe this fix somehow got missed/removed in FreeNAS 8.2?
 

peterh

Patron
Joined
Oct 19, 2011
Messages
315
You need a /boot/loader.conf statement :
hw.hptrr.attach_generic="0"

maybe also :
mvs_load="YES"
 

aliby

Cadet
Joined
Mar 5, 2012
Messages
5
Yep, I added the mvs_load="YES" to my loader.conf and rebooted. Unfortunately, I am having to do this remotely and after the change/reboot my FreeNAS box has not come back up/I cannot SSH into it :(

My guess is that the actual mvs driver (mvs.ko) is not included in FreeNAS 8.2, which is why the system didn't boot correctly after modifying loader.conf. Once I get a chance to troubleshoot more in-person later tonight, I will try your other suggestion (hw.hptrr.attach_generic="0").

Thanks for the help!
 

aliby

Cadet
Joined
Mar 5, 2012
Messages
5
Added those two lines, now sometimes I get "panic: Root mount failed, startup aborted."

Other times I get the "trying to mount root from: Loader variables" prompt... Seems when I set hw.hptrr.attach_generic="0", the device names/info change? Is there a way to determine what the boot partition/slice should be?

Any other thoughts?
 

peterh

Patron
Joined
Oct 19, 2011
Messages
315
If you set these variables at the loader prompt you will ( at least in 8.x series of freebsd ) get
a chance to name the alternate diskname.

The w.hptrr.attach_generic="0 prevents erroneously detecting :
hptrr -- HighPoint RocketRAID device driver, instead of marvell sata, something that
was needed on some mobos.
 
Status
Not open for further replies.
Top