Volume failed to import

Status
Not open for further replies.

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
Hello,

Currently having a issue importing one of my volumes, if anyone can help would be appropriated, My systems currently is a Xeon l560 and 14gb ecc ram, 3 x 3tb running Z1 Raid, and a single 1tb drive (Which is the volume that i cannot import).

The volume itself does not matter to me, if I could relocate the data to Files would be fine.
4.png


2.png
3.png
1.png
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
What's the name of the volume you can't import?

What's the output of the command zpool import please?
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
Server_Pool is the volume I'm trying to get to import, however it does not show in the volumes list through the GUI and I cannot access the data through the shell.

Zpool import is blank, as the volume seems to be imported but not correctly.

5.png
 

Attachments

  • 5.png
    5.png
    1.1 KB · Views: 230

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
Have you tried exporting it via the CLI with zpool export and then importing it via the GUI?
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
I cant export the Zpool or unmount the zfs as it says devices is busy, however i got no jails or anything running from the volume, as i cannot access data on it.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Looks like it's mounted to me. Why can't you see it on the cli? How did you check?

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
I've tried moving the files that I have stored on the drive in the CLI with mv command, I cannot add it to any shares in the gui, the volume does not show when using the GUI, it only shows the data sets and that's it in the CLI, it shows that its mounted in the CLI not GUI but I'm unable to access the data in it.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
It didn't show in the GUI because you need to use the GUI to import the volume. export the volume and reimport it. You can also just reboot and see if auto import works.

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
It didn't show in the GUI because you need to use the GUI to import the volume. export the volume and reimport it. You can also just reboot and see if auto import works.

Sent from my Nexus 5X using Tapatalk


I did import the volume using the GUI, it shows that the volume failed to import in the GUI, But looks like above in the CLI as Imported

6.png
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Did you try my other suggestions, like reboot? If you can't figure out how to export your pool just reboot and see what the state is after that.

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
Yes I have tried that, the volume becomes unmounted after reboot, When remounting the volume through the GUI it does the same as before.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Yes I have tried that, the volume becomes unmounted after reboot, When remounting the volume through the GUI it does the same as before.
And no other errors in the logs or in zpool status?

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
There is no new errors besides trying to import through CLI shows "cannot mount '/mnt/Server_Pool/Files': failed to create mountpoint", everything else is the same with no errors.

Can you let me know where the logs are located.

Thanks.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Ahhhh! Run mkdir /mnt/Server_Pool then try rebooting.

See how easy this is when you provide error messages.

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
That command did'nt work for Server_Pool as it already exist

[root@freenas ~]# mkdir /mnt/Server_Pool
mkdir: /mnt/Server_Pool: File exists.


However trying to create the other dataset "Files".

mkdir /mnt/Server_Pool/Files
mkdir: /mnt/Server_Pool/Files: No space left on device


So this seems to be the problem.

Yea sorry about not having that error message, I could not find it anywhere besides when i used the CLI to Import before.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
There is something missing here. Nothing is making sense, did something happen that you are not telling us about? I'm starting to wonder if your filesystem on that disk is corrupt.

Sent from my Nexus 5X using Tapatalk
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
According to the initial screenshots, Server_Pool is completely full, which is consistent with this:
Yeah that explains things better.

Try removing some data. If rm doesn't with you will have to truncate the files with echo "" > filename

Sent from my Nexus 5X using Tapatalk
 

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
I'm unable to access any data on the dataset, since all my files are in Server_Pool/Files and is not accessible I cannot delete, see or access files to make space.

I'm not sure if there is another way to have access to files so i can use Echo >>"" as i cant see the files to do this with.

The device says it has 29GB free using Zpool list, is it possible to use this somehow ?

This happened when I was rebuilding the main pool of Files to Z1 raid instead of stripe and was going to upgrade to Freenas 10 beta but i ended up staying with 9.10, this drive Server_Pool was used as a temp storage for my files during this process and when i finished and tried to access data using the new install of Freenas9.10 this happened.
 
Last edited:

joebus

Dabbler
Joined
Feb 13, 2016
Messages
11
Here is gpart show of the devices, I'm not sure why the device is full when I think it should still have 30gb free ont he system.

Ada1 is the Server_Pool device .

7.png
 
Status
Not open for further replies.
Top