No data in dataset after trying 9.3

Status
Not open for further replies.

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
Hi! I'm having some troubles since yesterday because i had issues with AD connect, so i decided to roll back from 11.1 to 9.3. Sadly it seems that the wizard from 9.3 destroyed my dataset. Not that it's gone, but it is simply empty. The odd thing about this is, that even though my dataset /mnt/tank/tank is empty, the dataset before that (/mnt/tank) claims that it has 14.4 TiB used.

So that is:

Volumes: tank 18Tib Used, 18.2 TiB available

Dataset /mnt/tank 14.4 TiB Used, 13.6 TiB available

Dataset /mnt/tank/tank 357.9 KiB used, 13.6 TiB available

I went back to 11.1 and i'm having the same issues (had dual usb boot, so the problem shouldn't be in the config, as the volumes were fine before)

Is there a way to get to the 14.4 TiB - the data is displayed as used, so i guess there should be some way to access it..
I have no idea where and why the 14.4 TiB are gone and I was wondering if anyone else has had this issue before and if anyone could send me some help. Would be much appreciated!


Greetings from Austria!

Edit:

Added Zfs list

Code:
NAME													USED  AVAIL  REFER  MOUNTPOINT											 
arch													202G  5.07T   202G  /mnt/arch											   
freenas-boot											857M  13.0G	64K  none													
freenas-boot/ROOT									   849M  13.0G	29K  none													
freenas-boot/ROOT/Initial-Install					  7.58M  13.0G   832M  /													   
freenas-boot/ROOT/default							   842M  13.0G   833M  /													   
freenas-boot/grub									  6.85M  13.0G  6.85M  legacy												 
tank												   14.4T  13.6T  14.3T  /mnt/tank											   
tank/.system										   20.5M  13.6T   153K  legacy												 
tank/.system/configs-7c35bc62b22f460fb3766e1c156d5c44   537K  13.6T   447K  legacy												 
tank/.system/configs-f36704f2fe794cb6a75657843255655d   243K  13.6T   243K  legacy												 
tank/.system/cores									 16.0M  13.6T  14.8M  legacy												 
tank/.system/rrd-7c35bc62b22f460fb3766e1c156d5c44	   141K  13.6T   141K  legacy												 
tank/.system/rrd-f36704f2fe794cb6a75657843255655d	   153K  13.6T   153K  legacy												 
tank/.system/samba4									1.97M  13.6T   671K  legacy												 
tank/.system/syslog-7c35bc62b22f460fb3766e1c156d5c44	141K  13.6T   141K  legacy												 
tank/.system/syslog-f36704f2fe794cb6a75657843255655d	939K  13.6T   939K  legacy												 
tank/jails											  588K  13.6T   141K  /mnt/tank/jails										 
tank/tank											   460K  13.6T   153K  /mnt/tank/tank 
 

Attachments

  • 2018-03-19 07_15_37-clivw001 - Remote Desktop Connection.png
    2018-03-19 07_15_37-clivw001 - Remote Desktop Connection.png
    14.5 KB · Views: 409
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
You need to look at the snapshots and possibly roll back to the previous snapshot. You should not have an empty storage volume. You may have done this the wrong way.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
 

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
You need to look at the snapshots and possibly roll back to the previous snapshot. You should not have an empty storage volume. You may have done this the wrong way.

Sent from my SAMSUNG-SGH-I537 using Tapatalk
Thank you for your answer Chris!
I have a Snapshot, it even refers to about 14 TiBs, but when i roll back to it, /mnt/tank/tank is still empty and /mnt/tank is not.
I assume the metadata for /mnt/tank/tank was somehow overwritten, if that makes sense. is there any way to get to some of the data located in /mnt/tank?

By now i know that i did something wrong. I just want to know if there is a posibility to get to my data..
 
Joined
Jan 18, 2017
Messages
525
just out of curiosity if you ssh in what is the output from ls /mnt/tank/
 
Joined
Jan 18, 2017
Messages
525
Wanted to make sure we weren't over looking something simple.
 

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
Wanted to make sure we weren't over looking something simple.
I think the wizard created the tank dataset new as in
Code:
zfs create /mnt/tank/tank
so i think i have no chance to get to the data..
I just don't get why the space is allocated in /mnt/tank ..
 

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
It's in the initial post.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Ah, indeed--it wasn't there when I first looked at it. I think you have one too many tanks. What happens if you do zfs unmount tank/tank?

Edit: I suspect that, under 11.1, /mnt/tank/tank/ wasn't a dataset, but simply a subdirectory of /mnt/tank/. When you created a tank/tank dataset, it hid the contents of /mnt/tank/tank/. If my suspicion is right, unmounting that dataset should let you see the contents of the directory.
 

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
Ah, indeed--it wasn't there when I first looked at it. I think you have one too many tanks. What happens if you do zfs unmount tank/tank?

Edit: I suspect that, under 11.1, /mnt/tank/tank/ wasn't a dataset, but simply a subdirectory of /mnt/tank/. When you created a tank/tank dataset, it hid the contents of /mnt/tank/tank/. If my suspicion is right, unmounting that dataset should let you see the contents of the directory.
Holy. You sir are a freaking genius. I'm able to see my files now - but only in ssh as of now. Under Volumes /mnt/tank/tank is still only a few bytes and zfs list looks the same. Is that because of the dataset? Is it save to delete the dataset?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Under Volumes /mnt/tank/tank is still only a few bytes and zfs list looks the same. Is that because of the dataset?
Yep.
Is it save to delete the dataset?
There's nothing in there, so sure. You might want to wait until you have a share set up and are sure you can access your files over the network as desired though.
 

zom-bi

Dabbler
Joined
Mar 18, 2018
Messages
12
Yep.

There's nothing in there, so sure. You might want to wait until you have a share set up and are sure you can access your files over the network as desired though.
You really made my day. I'm so thankful right now!
I'll leave you up to date, when i accessed my data and copied it to my backup location.
Thank you so much!
 
Status
Not open for further replies.
Top