Hi all! Long story short here, I'm learning a hard lesson. My boot USB seemed to have corrupt on a quick blackout and I'm trying to get things going again.
I have installed Freenas 11.2-U8 on a new USB and am trying to restore my install with the config from the old USB. I've been working on Google searches but at this point, I feel like I'm a bit of a monkey on my keyboard trying different things.
Here are some things I've done on the command line:
da0 is my newly installed flash drive and da1 is the old one that won't boot.
This looks like data from my old USB so I tried the following.
Taking the system's advice, I ran this. I had already tried without the -f and got an error telling me to try the -f flag.
At this point I'm stumped. Could someone please give me some advice on how to get my old config off of the old USB so that I can put it on the new one and get my system back up and running?
I have installed Freenas 11.2-U8 on a new USB and am trying to restore my install with the config from the old USB. I've been working on Google searches but at this point, I feel like I'm a bit of a monkey on my keyboard trying different things.
Here are some things I've done on the command line:
Code:
root@freenas[~]# camcontrol devlist <WDC WD30EFRX-68EUZN0 82.00A82> at scbus0 target 0 lun 0 (pass0,ada0) <WDC WD30EFRX-68EUZN0 82.00A82> at scbus1 target 0 lun 0 (pass1,ada1) <WDC WD30EFRX-68EUZN0 82.00A82> at scbus2 target 0 lun 0 (pass2,ada2) <WDC WD30EFRX-68EUZN0 82.00A82> at scbus3 target 0 lun 0 (pass3,ada3) <KINGSTON SV300S37A120G 608ABBF0> at scbus6 target 0 lun 0 (pass4,ada4) <KINGSTON SV300S37A120G 605ABBF2> at scbus7 target 0 lun 0 (pass5,ada5) <VendorCo ProductCode 2.00> at scbus9 target 0 lun 0 (pass6,da0) <SanDisk Cruzer Fit 1.26> at scbus10 target 0 lun 0 (da1,pass7)
da0 is my newly installed flash drive and da1 is the old one that won't boot.
Code:
root@freenas[~]# zpool import pool: freenas-boot id: 156071699754310836 state: ONLINE status: The pool was last accessed by another system. action: The pool can be imported using its name or numeric identifier and the '-f' flag. see: http://illumos.org/msg/ZFS-8000-EY config: freenas-boot ONLINE gptid/25e564ed-9485-11e4-8a4b-7427ead4818d ONLINE pool: Jails id: 5796307042325333398 state: ONLINE status: The pool was last accessed by another system. action: The pool can be imported using its name or numeric identifier and the '-f' flag. see: http://illumos.org/msg/ZFS-8000-EY config: Jails ONLINE mirror-0 ONLINE gptid/c8a3ef4e-dcd6-11e5-ac2c-7427ead4818d ONLINE gptid/c8fb44f5-dcd6-11e5-ac2c-7427ead4818d ONLINE pool: Household id: 5497875948946148045 state: ONLINE status: The pool was last accessed by another system. action: The pool can be imported using its name or numeric identifier and the '-f' flag. see: http://illumos.org/msg/ZFS-8000-EY config: Household ONLINE mirror-0 ONLINE gptid/74665fdb-5e5a-11e5-9c45-7427ead4818d ONLINE gptid/753109e2-5e5a-11e5-9c45-7427ead4818d ONLINE mirror-1 ONLINE gptid/6bc41aac-86a4-11e7-b00d-7427ead4818d ONLINE gptid/6cda92cb-86a4-11e7-b00d-7427ead4818d ONLINE
This looks like data from my old USB so I tried the following.
Code:
root@freenas[~]# zpool import -R /tmp/freenasbak freenas-boot cannot import 'freenas-boot': a pool with that name already exists use the form 'zpool import [-t] <pool | id> <newpool>' to give it a new temporary or permanent name
Taking the system's advice, I ran this. I had already tried without the -f and got an error telling me to try the -f flag.
Code:
root@freenas[~]# zpool import -t 156071699754310836 -R /tmp/freenasbak freenasbak cannot import 'freenas-boot': pool may be in use from other system, it was last accessed by freenas.local (hostid: 0xcea9e7f9) on Tue Dec 6 23:27:40 2022 use '-f' to import anyway root@freenas[~]# zpool import -f -t 156071699754310836 -R /tmp/freenasbak freenasbak cannot import 'freenas-boot' as 'freenasbak': one or more devices is currently unavailable
At this point I'm stumped. Could someone please give me some advice on how to get my old config off of the old USB so that I can put it on the new one and get my system back up and running?