HELP! Freenas 11.1-U2 stuck at zpool set cachefile=...

Status
Not open for further replies.

IanWor

Dabbler
Joined
Dec 7, 2013
Messages
30
Hi all

Hope you can help me here. I rebooted my FreeNas 11.1-U5 system and it is now sitting at:

command: zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -
command: zpool set cachefile=/data/zfs/zpool.cache DriveSpace

Any ideas?

Thanks

Ian
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Are you using a USB boot device? Do you have a current copy of your configuration file saved?
 

IanWor

Dabbler
Joined
Dec 7, 2013
Messages
30
Yes to both.

For more info:

System Specs:
Build FreeNAS-11.1-U5
Platform Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
Memory 32616MB

Volumes: 2
No encryption

Drives:
9x2TB Raid 2
3x3TB Raid 2

I have rebooted now with a new built installation of FreeNas and am able to get to CLI or Web GUI.

EDIT:

When I go to the volume import option both volumes can be seen.

I am working to pull the config file out of the old boot USB and see if I can then upload that to recover everything.

Having said that, any help, advice, etc., would be more than happily received!

IW
 
Last edited:

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
It's not on the USB it's on the pool. Search the forum others have posted where to locate it or ping @danb35 he has posted before where it is. I can't remember and I'm off to bed.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Config file on the pool is at /data/freenas-v1.db
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
It's in the .system dataset, which by default is put on the first pool you create. It's generally mounted at /var/db/system/configs-longhexnumber.
 

danb35

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

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

IanWor

Dabbler
Joined
Dec 7, 2013
Messages
30
It's in the .system dataset, which by default is put on the first pool you create. It's generally mounted at /var/db/system/configs-longhexnumber.

Would this not be the new one as the boot USB is new and built from scratch as the 'old' boot USB hangs as stated below.

Now that I am thinking about it, I am not sure if getting this and uploading it as the config will help me.

The old boot drive was (is?) working, it is just hanging at command: zpool set cachefile=/data/zfs/zpool.cache DriveSpace.

If I get a config and get it applied to the new FreeNas boot USB that I have created, will it not just hang there also?

Maybe it would be better to import the volumes - doing a zpool import from the CLI gives me the following:

pool: DriveSpace
id: long number
state: ONLINE
status: the pool was last access by another system
action: the pool can be imported using its name or numeric.... etc etc...

config:

DriveSpace ONLINE
raidz2-0 ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE
cache
gptid/lots of numbers
gptid/lots of numbers

pool: Super
id: long number
state: ONLINE
status: the pool was last access by another system
action: the pool can be imported using its name or numeric.... etc etc...

config:

Super ONLINE
raidz1-0 ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE
gptid/lots of numbers ONLINE

cache
gptid/lots of numbers

Given that, what do you think would be my best options?

Sure I would have to rebuild 3 VM's but I can do that, and add a couple of users and access across the network, but that is not that much work.

Comments?

Thanks so much all!

IW
 

IanWor

Dabbler
Joined
Dec 7, 2013
Messages
30
OK. I have recovered the drives and will work to re-set everything else up. Looks like no data was lost, and all this will cost me is some time.

I did have an automated backup program running that I could use to recover everything now that I have access to the pools. I will investigate that next.

Lets see....
 
Status
Not open for further replies.
Top