SOLVED The volume ... status is UNKNOWN

Status
Not open for further replies.

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Had a corrupt installation from Corral, finally got to fixing it. So I installed 11 and uploaded my last know good config from 9.3 .

Can I force import the volume or do I risk data loss?
eOm2GaN.png
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
A screenshot isn't useful. Please post the full output of zpool status using the [ code ] tags.
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Code:
root@freenas:~ # zpool import
   pool: NAS
	 id: 9977354935984924838
  state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-EY
config:

	NAS											 UNAVAIL  missing device
	  raidz1-0									  ONLINE
		gptid/be3e54ae-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
		gptid/be8adfd8-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
		gptid/bed5aadf-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
root@freenas:~ #



Thank you!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I could have sworn I saw a post here just a minute ago with zpool status, but of course it only had the boot pool. What do you expect to see from zpool status about a pool that won't import?
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Yea I had the wrong output before, then edited it. You guys aren't going crazy.

Volume was never encrypted.
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
nvm I don't know what happened lol

Yea no info on the unmounted pool.

da1p2 is just a USB drive I want to move things to.

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

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

errors: No known data errors
root@freenas:~ #

 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Full hardware specs please? How many disks do you have?
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
3x3T HDD ZFS1
16GB ECC RAM

Xenon E3 V3 1220
Boot disk is 8GB USB
No SSD cache
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I don't expect this will import the pool, but what's the output of zpool import NAS? If that doesn't work, how about zpool import -F -f -n NAS?
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Code:
root@freenas:~ # zpool import
   pool: NAS
	 id: 9977354935984924838
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-EY
 config:

		NAS											 UNAVAIL  missing device
		  raidz1-0									  ONLINE
			gptid/be3e54ae-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/be8adfd8-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/bed5aadf-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
root@freenas:~ # zpool import NAS
cannot import 'NAS': pool may be in use from other system, it was last accessed by freenas.local (hostid: 0x92f804cb) on Sun Jun 25 15:14:27 2017
use '-f' to import anyway
root@freenas:~ # zpool import -F -f -n  NAS
root@freenas:~ # reboot



After the reboot same issue persists.
"The volume NAS state is UNKNOWN"
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
When you say "reboot" in your code block above, do you mean you typed the command reboot, or that the system rebooted spontaneously?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Did you type that reboot command? A reboot will usually do absolutely nothing so don't use that as a debugging step. What happened after the import? Was your pool working?

Sent from my Nexus 5X using Tapatalk
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Yes I rebooted myself .

Nothing happened after
Code:
zpool import -F -f -n NAS


no error, no output. Checked the UI and the volume was still offline so I figured maybe it needed a reboot. Thanks for the heads up.

Code:
root@freenas:~ # zpool import -F -f -n NAS
root@freenas:~ # zpool status -v
  pool: freenas-boot
 state: ONLINE
  scan: none requested
config:

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

errors: No known data errors
root@freenas:~ # zpool import
   pool: NAS
	 id: 9977354935984924838
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-EY
 config:

		NAS											 UNAVAIL  missing device
		  raidz1-0									  ONLINE
			gptid/be3e54ae-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/be8adfd8-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/bed5aadf-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
root@freenas:~ #

 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Yes I rebooted myself .

Nothing happened after
Code:
zpool import -F -f -n NAS


no error, no output. Checked the UI and the volume was still offline so I figured maybe it needed a reboot. Thanks for the heads up.

Code:
root@freenas:~ # zpool import -F -f -n NAS
root@freenas:~ # zpool status -v
  pool: freenas-boot
 state: ONLINE
  scan: none requested
config:

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

errors: No known data errors
root@freenas:~ # zpool import
   pool: NAS
	 id: 9977354935984924838
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-EY
 config:

		NAS											 UNAVAIL  missing device
		  raidz1-0									  ONLINE
			gptid/be3e54ae-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/be8adfd8-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/bed5aadf-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
root@freenas:~ #

It sure seems like you are missing a device since that is what it's telling you. Your sure you didn't have another disk in the system? SSD? USB drive?

If not then I can't explain it and your pool is lost.

Sent from my Nexus 5X using Tapatalk
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Nothing happened after
Code:
zpool import -F -f -n NAS
Very odd. It wouldn't have imported the pool (the -n flag would stop that), but it should have reported either that the pool can be imported or not. What about zpool import -f NAS?
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Code:
root@freenas:~ # zpool import -f NAS
cannot import 'NAS': one or more devices is currently unavailable
root@freenas:~ #




Looking at this from the previous:
Code:
 config:

		NAS											 UNAVAIL  missing device
		  raidz1-0									  ONLINE
			gptid/be3e54ae-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/be8adfd8-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
			gptid/bed5aadf-bba4-11e3-97a1-bc5ff4e79b3a  ONLINE
root@freenas:~ #


That looks to describe my configuration, three drives which all are present, in ZFS1. No hardware is missing. The only difference is the boot drive is different. Same exact hardware on the entire system otherwise.
 

DanPrs

Explorer
Joined
Dec 30, 2013
Messages
78
Ohhhh wait it just came to me. I did set up a backup drive at one point. It was not part of the volume per say as it did not host any data. But I'm guessing that's the missing device it keeps asking for.

Is that possible?!
 
Status
Not open for further replies.
Top