Files dissapeared from dataset yet still shows as 9.8TiB is used

Status
Not open for further replies.

LocalIdentity

Dabbler
Joined
Sep 4, 2017
Messages
11
So I was trying to reinstall Radarr on my NAS as my previous version had broken when i updated some of the packages.
After messing up with the install for the first time i tried to delete the jail in the iocage folder via ftp then removed the dataset via the WebGUI.
After removing the jail, I noticed that my whole Media dataset had all the folders and files dissaper from it despite the WebGUI and command lines showing that there was still 9.8TiB in use for that dataset.

My thought was that I had mounted the Media folder inside the jail to be accessed and then when I removed the jail, it also somehow removed the media files.

I used this guide to try and install radarr.

I think the data is hopefully still there but I don't know how to reveal the files.

Any help would be greatly appreciated!

I've tried some of the commands below but haven't been able to see any files.

EDIT 1: I have checked the Snapshot made after the files "disappeared" and it doesn't contain anything

Code:
root@LFN-NAS:~ # ls -R /mnt/LFN_16TB/Media/
root@LFN-NAS:~ #

Code:
root@LFN-NAS:~ # du -sh /mnt/LFN_16TB/Media/
 39K	/mnt/LFN_16TB/Media/
root@LFN-NAS:~ #

Code:
root@LFN-NAS:~ # zfs list -t filesystem -o space

NAME															  AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
LFN_16TB														  4.17T  9.86T		 0	153K			  0	  9.86T
LFN_16TB/.system												  4.17T  67.9M		 0	153K			  0	  67.8M
LFN_16TB/.system/configs-d6d294a404024d4b9f621e6bf1afa53c		 4.17T  21.3M		 0   21.3M			  0		  0
LFN_16TB/.system/cores											4.17T   671K		 0	671K			  0		  0
LFN_16TB/.system/rrd-d6d294a404024d4b9f621e6bf1afa53c			 4.17T  39.3M		 0   39.3M			  0		  0
LFN_16TB/.system/samba4										   4.17T   684K		 0	684K			  0		  0
LFN_16TB/.system/syslog-d6d294a404024d4b9f621e6bf1afa53c		  4.17T  5.87M		 0   5.87M			  0		  0
LFN_16TB/Documents												4.17T  4.36G		 0   4.36G			  0		  0
LFN_16TB/Media													4.17T  9.82T	  128K   9.82T			  0		  0
LFN_16TB/db													   4.17T   160K		 0	160K			  0		  0
LFN_16TB/iocage												   4.17T  1.46G		 0	160K			  0	  1.46G
LFN_16TB/iocage/download										  4.17T   260M		 0	141K			  0	   260M
LFN_16TB/iocage/download/11.1-RELEASE							 4.17T   260M		 0	260M			  0		  0
LFN_16TB/iocage/images											4.17T   141K		 0	141K			  0		  0
LFN_16TB/iocage/jails											 4.17T   575K		 0	141K			  0	   435K
LFN_16TB/iocage/jails/radarr									  4.17T   435K		 0	153K			  0	   281K
LFN_16TB/iocage/jails/radarr/root								 4.17T   281K		 0	281K			  0		  0
LFN_16TB/iocage/log											   4.17T   141K		 0	141K			  0		  0
LFN_16TB/iocage/releases										  4.17T  1.21G		 0	141K			  0	  1.21G
LFN_16TB/iocage/releases/11.1-RELEASE							 4.17T  1.21G		 0	141K			  0	  1.21G
LFN_16TB/iocage/releases/11.1-RELEASE/root						4.17T  1.21G	 12.8K   1.21G			  0		  0
LFN_16TB/iocage/templates										 4.17T   141K		 0	141K			  0		  0
LFN_16TB/jails													4.17T  28.8G	  153K	358K			  0	  28.8G
LFN_16TB/jails/.warden-template-pluginjail-11.0-x64			   4.17T   636M	 11.0M	625M			  0		  0
LFN_16TB/jails/.warden-template-standard-11.0-x64				 4.17T  2.58G	  110M   2.47G			  0		  0
LFN_16TB/jails/.warden-template-standard-11.0-x64-20180312183727  4.17T  2.55G	 82.0M   2.47G			  0		  0
LFN_16TB/jails/.warden-template-standard-11.0-x64-20180315162409  4.17T  2.55G	 82.1M   2.47G			  0		  0
LFN_16TB/jails/MiniDLNA										   4.17T   480M		 0	480M			  0		  0
LFN_16TB/jails/apps											   4.17T   243M		 0	153K			  0	   243M
LFN_16TB/jails/apps/jackett									   4.17T  1.65M		 0   1.65M			  0		  0
LFN_16TB/jails/apps/organizr									  4.17T   217K		 0	217K			  0		  0
LFN_16TB/jails/apps/radarr										4.17T   158M		 0	158M			  0		  0
LFN_16TB/jails/apps/sonarr										4.17T  83.8M		 0   83.8M			  0		  0
LFN_16TB/jails/deluge											 4.17T  13.3G		 0   13.3G			  0		  0
LFN_16TB/jails/jackett											4.17T   616M		 0	616M			  0		  0
LFN_16TB/jails/nextcloud										  4.17T  1.78G		 0   1.78G			  0		  0
LFN_16TB/jails/nginx_reverse									  4.17T   474M		 0	474M			  0		  0
LFN_16TB/jails/organizr										   4.17T   400M		 0	400M			  0		  0
LFN_16TB/jails/radarr											 4.17T   780M		 0	780M			  0		  0
LFN_16TB/jails/rtorrent										   4.17T  1.85G		 0   1.85G			  0		  0
LFN_16TB/jails/sonarr											 4.17T   649M		 0	649M			  0		  0
freenas-boot													  24.6G  3.06G		 0	 64K			  0	  3.06G
freenas-boot/ROOT												 24.6G  3.04G		 0	 29K			  0	  3.04G
freenas-boot/ROOT/11.0-U4										 24.6G   135K		 0	135K			  0		  0
freenas-boot/ROOT/11.1-RELEASE									24.6G   252K		 0	252K			  0		  0
freenas-boot/ROOT/11.1-U2										 24.6G  3.04G	 2.23G	832M			  0		  0
freenas-boot/ROOT/Initial-Install								 24.6G   150K		 0	150K			  0		  0
freenas-boot/ROOT/Wizard-2017-09-25_07:07:55					  24.6G	 1K		 0	  1K			  0		  0
freenas-boot/ROOT/default										 24.6G   164K		 0	164K			  0		  0
freenas-boot/grub												 24.6G  6.85M		 0   6.85M			  0		  0

Code:
root@LFN-NAS:~ # ls -al /mnt/LFN_16TB/Media/
total 53
drwxrwxrwx+ 2 Jack  Jack   2 Mar 15 15:19 .
drwxrwxr-x+ 6 root  wheel  7 Jan  1 17:24 ..
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Have you looked at snapshots for your Media dataset? It may be the case that you can just roll back the last snapshot and all will be Ok again.
 

LocalIdentity

Dabbler
Joined
Sep 4, 2017
Messages
11
Have you looked at snapshots for your Media dataset? It may be the case that you can just roll back the last snapshot and all will be Ok again.
I, unfortunately, didn't have a snapshot of that folder before the disappearance. Stupid I know (will know for next time). I did make a snapshot after the error occurred though and it lists it as 9.8TiB in size.
 
Status
Not open for further replies.
Top