SOLVED USB Boot drive failed on FreeNAS 9.3

Status
Not open for further replies.

Daniel5455

Dabbler
Joined
Dec 30, 2014
Messages
11
I have a FreeNAS 9.3 Stable box with 2 Sata HDDs and my usb boot drive failed. I replaced the usb drive and reinstalled the same version of FreeNAS that was on it before. When it was working i setup a ISCSI Storage Volume. When i connect to the webpage i dont see my Volume. If i restore from a backup config it shows the volume with an alert saying Unknown. So i reinstalled the OS with out the backup config imported and now need help on what do i need to do to get access to the volume. I connected via ssh and here is what i see.

Code:
~# zpool status
  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	 0
		  da0p2	 ONLINE	   0	 0	 0

errors: No known data errors

~# zpool import
   pool: Data
	 id: 14068224872946940970
  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:

		Data											ONLINE
		  mirror-0									  ONLINE
			gptid/fad083a2-e2d4-11e4-8879-4c72b931abdf  ONLINE
			gptid/fb523def-e2d4-11e4-8879-4c72b931abdf  ONLINE


What are the steps to access the data?

thanks
 
Last edited by a moderator:

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
Please try to import from the GUI. Storage -> Import volume.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Please try to import from the GUI. Storage -> Import volume.
...and, if (and only if) that fails, try importing from the command line: zpool import -f Data. If that succeeds, export it ( zpool export Data) and try to import it through the GUI again.
 

Daniel5455

Dabbler
Joined
Dec 30, 2014
Messages
11
i got it working.. I followed another post danb35 posted. I reimported my backup config, then ran zpool export Data
Code:
 zpool export Data 
then imported from the gui. I then had to redo the isci settings. I now have access to the data. I wonder why the backup config didnt work from the beginning.

thanks for the quick response.
 
Status
Not open for further replies.
Top