access old freenas-boot usb to retrieve scripts?

Status
Not open for further replies.

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
i reinstalled freenas and uploaded my configuration. only problem was i forgot there a number of scripts on the device - i tried to import volume but it failed

Jan 6 08:39:28 freenas manage.py: [middleware.notifier:3520] Importing freenas-boot [6851343555505884244] failed with: cannot import 'freenas-boot': pool already exists

i think i can use the cli to import with a different name - can somebody tell me what to do ?
it's da9 (usb)

thank you
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
zpool import freenas-boot freenas-boot-old
And put your scripts on your pool so you won't have this problem again in the future.
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
i think i shall do that.

thank you
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
me again - i imported using zpool import freenas-boot freenas-boot-old (with -f)
using zpool status i can see freenas-boot-old pool

where is this pool located - i am trying to get the scripts off

i think it needs to be mounted - not sure how
 
Last edited:
D

dlavigne

Guest
It should automatically mount. Type mount to see the location.
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
typed
mount i couldn't see freenas-boot-old

if i do zpool list i see freenas-boot-old and freenas-boot the ALTROOT is -

my storage and working pools say /mnt
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
zpool export freenas-boot-old
zpool import -R /mnt freenas-boot-old

You should then find it under /mnt.
 
Status
Not open for further replies.
Top