SOLVED Volume down; Error getting available space

Status
Not open for further replies.

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
Hello All,

I have a FreeNAS volume that is offline after an inadvertent server reset with "Error getting available space" and an alert message "State Unknown".

The configuration is:
FreeNAS 9.3 Stable running in VMware vSphere.
The volume consists of two VMware virtual disks that located on SSD drives.
In FreeNAS View Disks both disks show up with the correct size.
The only option when viewing the volume is "Detach".

In VMware both virtual disks are accessible when browsing the Datatores.

Where should I start trouble shooting this?

Thanks in advance,

~eric
 
Last edited:

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
Ran zpool status -v:

pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Sun Jan 1 03:45:08 2017
config:

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

errors: No known data errors
 

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
During the boot process I can see errors on the screen relating to "vol1" but they go by to fast. How can the boot log be accessed?
 

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
I was able to grab a screen shot of the error.
"
Validating MOS configuration cannot import "vol1"; I/O Error
Recovery is possible, but will result in some data loss.
....
Recovery can be attempted by executing 'zpool import -F vol1'
A scrub of the pool is strongly recommended after recovery.
"

I ran 'zpool import -F vol1' and then vol1 showed up online with the proper size on the Storage page.
Then I rebooted FreeNAS.
Watching the boot log I was able to grab the following errors;

"
Beginning ZFS volume imports

Importing xxxxxxxxxxxxxxxxxxxxx​

cannot import 'xxxxxx": a pool with that name already exists
use the form 'zpool import <pool | ID> <newpool> to give it a new name
cannot import 'xxxxxx": a pool with that name is already created/imported,
and no additional pools with that name were found

Importing vol1
cannot import 'vol1' a pool with that name is already created/imported,
and no additional pools with that name were found

ZFS volume imports completed
"
However, when I go view the Storage page I can see vol1 as online.

I started a scrub;
"
pool: vol1
state: ONLINE
scan: scrub in progress since Sun Jan 8 10:02:28 2017
28.9G scanned out of 569G at 95.8M/s, 1h36m to go
0 repaired, 5.08% done
config:

NAME STATE READ WRITE CKSUM
vol1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/883cb09d-d2a9-11e5-afa2-000c295567ae ONLINE 0 0 0
gptid/88d462d3-d2a9-11e5-afa2-000c295567ae ONLINE 0 0 0

errors: No known data errors
"

The issue that I have now is that the volume does not show up in the shares. For instance going to \\freenas\ does not return any shares. So the volume is online but is not accessible via a share.

Does the volume need to be imported/renamed to get the shares to work?

TYIA,

~eric
 

elangley

Contributor
Joined
Jun 4, 2012
Messages
109
The volume is now available via shares.

I detached the volume. Rebooted and reattached the volume.

This deleted the existing shares which I had to add back in manually.

The data looks fine.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
I'm glad to see you managed to resolve your issue.

If this is production data, you might want to reconsider your configuration. It appears that you have VMDK's on those SSD's. While that might be okay for testing, for production use, you should be using passthrough (in ESXi) with your HBA/controller.
 
Status
Not open for further replies.
Top