Used storage space - but empty

Status
Not open for further replies.
Joined
May 18, 2016
Messages
4
Good morning,

I've got an issue that has cropped up, with my 'downloads' dataset showing used space despite being empty. I've monitored it, and have found that shows that are downloaded by Transmission and post-processed by Medusa are adding to the used storage space, despite being moved elsewhere (to my 'series' dataset).

For example, I destroyed and re-created my 'downloads' dataset yesterday as it was empty but showing 16gb of used space. Today it is now showing 683mb of used space, which is the exact size of two TV episodes that were downloaded overnight. Those shows were processed by Medusa, and moved to my 'series' dataset. The 'downloads' dataset appears empty now, and the shows now exist in the 'series' dataset.

Why is this leftover space being used? Any clues as to how I can stop this space from being constantly tied up by items that are no longer there?

Currently on 11.1-U5, with Transmission and Medusa fully updated.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Currently on 11.1-U5, with Transmission and Medusa fully updated.
Unrelated, but you might want to update to U6 as it fixed a couple bugs, as I recall.
Why is this leftover space being used? Any clues as to how I can stop this space from being constantly tied up by items that are no longer there?
Do you have snapshots enabled? If you are making snapshots, the space will be marked as allocated until the snapshot is deleted.
 
Joined
May 18, 2016
Messages
4
Unrelated, but you might want to update to U6 as it fixed a couple bugs, as I recall.

Do you have snapshots enabled? If you are making snapshots, the space will be marked as allocated until the snapshot is deleted.

I'll try the update to U6, and see if that resolves it. Snapshots are not enabled, and when using 'zfs list -o space' it returns a 0 for usedsnap and 684M for usedds, so it clearly thinks there are files there.
 
Joined
May 18, 2016
Messages
4
No luck. After the update it reverted back to showing 31k, which seemed reasonable. However, after forcing download/processing of 1 episode (1.1gb) it shows 1.1gb used, despite that file having been moved to a separate dataset.

Any other thoughts?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
usedds
Read-only property that identifies the amount of disk space that is used by a dataset itself, which would be freed if the dataset was destroyed, after first destroying any snapshots and removing any refreservation reservations. The property abbreviation is usedds.

Run zfs list -o space and past the output in [ code ] tags.
 
Joined
May 18, 2016
Messages
4
Run zfs list -o space and past the output in [ code ] tags.
Code:
root@freenas:~ # zfs list -o space
NAME																   AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
MediaServer															 465G   883G		 0   15.1G			  0	   868G
MediaServer/.system													 465G   568M		 0	510M			  0	  58.0M
MediaServer/.system/configs-2fa742ae30da433ca735af52bcb65edb			465G  51.4M		 0   51.4M			  0		  0
MediaServer/.system/cores											   465G  2.54M		 0   2.54M			  0		  0
MediaServer/.system/rrd-2fa742ae30da433ca735af52bcb65edb				465G	19K		 0	 19K			  0		  0
MediaServer/.system/samba4											  465G   100K		 0	100K			  0		  0
MediaServer/.system/syslog-2fa742ae30da433ca735af52bcb65edb			 465G  3.94M		 0   3.94M			  0		  0
MediaServer/downloads												   465G  1.05G		 0   1.05G			  0		  0
MediaServer/jails													   465G  17.6G		 0   10.0G			  0	  7.61G
MediaServer/jails/.warden-template-pluginjail-10.3-x64				  465G   410M	  480K	409M			  0		  0
MediaServer/jails/.warden-template-pluginjail-11.0-x64				  465G   475M	  468K	475M			  0		  0
MediaServer/jails/.warden-template-pluginjail-11.0-x64-20180416122544   465G   475M	  138K	475M			  0		  0
MediaServer/jails/.warden-template-standard-11.0-x64					465G  1.04G	  510K   1.04G			  0		  0
MediaServer/jails/.warden-template-standard-11.0-x64-20180910091326	 465G  1.04G	  484K   1.04G			  0		  0
MediaServer/jails/couchpotato_1										 465G   118M		 0	118M			  0		  0
MediaServer/jails/medusa_1											  465G  1.07G		 0   1.07G			  0		  0
MediaServer/jails/plexmediaserver_1									 465G  2.86G		 0   2.86G			  0		  0
MediaServer/jails/transmission_1										465G   160M		 0	160M			  0		  0
MediaServer/movies													  465G   372G		 0	372G			  0		  0
MediaServer/music													   465G  47.4G		 0   47.4G			  0		  0
MediaServer/series													  465G   426G		 0	426G			  0		  0
MediaServer/torrent-files											   465G	21K		 0	 21K			  0		  0
MediaServer/workoutvids												 465G  3.77G		 0   3.77G			  0		  0
freenas-boot														   9.34G  5.07G		 0	 64K			  0	  5.07G
freenas-boot/ROOT													  9.34G  5.04G		 0	 29K			  0	  5.04G
freenas-boot/ROOT/11.0-U2											  9.34G  8.77M		 0   8.77M			  0		  0
freenas-boot/ROOT/11.1-RELEASE										 9.34G  4.91M		 0   4.91M			  0		  0
freenas-boot/ROOT/11.1-U4											  9.34G  6.52M		 0   6.52M			  0		  0
freenas-boot/ROOT/11.1-U5											  9.34G  4.46G	 3.63G	847M			  0		  0
freenas-boot/ROOT/11.1-U6											  9.34G   564M		 0	564M			  0		  0
freenas-boot/ROOT/9.10.2-U4											9.34G  6.78M		 0   6.78M			  0		  0
freenas-boot/ROOT/Initial-Install									  9.34G	 1K		 0	  1K			  0		  0
freenas-boot/ROOT/default											  9.34G  6.49M		 0   6.49M			  0		  0
freenas-boot/grub													  9.34G  6.85M		 0   6.85M			  0		  0


It is the downloads dataset that is the issue, which is showing empty of files in cli, as well as via SMB.
 
Status
Not open for further replies.
Top