Forum
Deleting files not freeing up disk space - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Community (/forum-5.html)
+--- Forum: Uncategorized (/forum-59.html)
+--- Thread: Deleting files not freeing up disk space (/thread-4097.html)



Deleting files not freeing up disk space - Baz8755 - 8th Sep, 2020 02:53 AM

I'm not really sure where to post this but here goes

I have a 128GB SD card and has installed the latest build of xbian.

I have made the /media rewriteable using chmod 777 as I write to it from my PC.

I have copied files across via my local network to the folder and all works well.

However when I delete files in the folder df -k does not show that disk space is being reclaimed and is currently showing 68% usage.

Ideas anyone?


RE: Deleting files not freeing up disk space - Nachteule - 8th Sep, 2020 05:48 AM

data is still in snapshot(s)


RE: Deleting files not freeing up disk space - Baz8755 - 8th Sep, 2020 05:41 PM

(8th Sep, 2020 05:48 AM)Nachteule Wrote:  data is still in snapshot(s)

How do I check/clear snapshots?


RE: Deleting files not freeing up disk space - Skywatch - 8th Sep, 2020 07:07 PM

Also check for recycle bin.


RE: Deleting files not freeing up disk space - Baz8755 - 8th Sep, 2020 07:19 PM

(8th Sep, 2020 07:07 PM)Skywatch Wrote:  Also check for recycle bin.

Does linux even have a recycle bin?

Not deleting files using PC, using rm command


RE: Deleting files not freeing up disk space - Nachteule - 8th Sep, 2020 07:59 PM

(8th Sep, 2020 05:41 PM)Baz8755 Wrote:  
(8th Sep, 2020 05:48 AM)Nachteule Wrote:  data is still in snapshot(s)

How do I check/clear snapshots?

sudo xbian-snapper or start XBian-config GUI -> Backup (advanced setting in Preferences required)


RE: Deleting files not freeing up disk space - qoop - 15th Dec, 2020 12:04 PM

I had the same problem.

Deleting all snapshot and reboot get back Free space
Terminal
sudo btrfs-auto-snapshot list | grep -v /@$ | grep auto-snap | xargs -L1 sudo btrfs-auto-snapshot destroy
http://wiki.xbian.org/doku.php/snapshots


RE: Deleting files not freeing up disk space - Nachteule - 15th Dec, 2020 10:02 PM

I don't think so. if all snapshots are deleted then there is nothing else to delete.


RE: Deleting files not freeing up disk space - qoop - 15th Dec, 2020 10:44 PM

(15th Dec, 2020 10:02 PM)Nachteule Wrote:  I don't think so. if all snapshots are deleted then there is nothing else to delete.

yes, I modified my post... I needed to reboot to see the changes with "df -h" command


RE: Deleting files not freeing up disk space - Nachteule - 15th Dec, 2020 10:48 PM

A reboot is usually not necessary.

Only the memory is not released immediately, there is a certain delay until the freed memory is actually released again


RE: Deleting files not freeing up disk space - alijen - 24th Mar, 2023 07:52 PM

I am also confused about this issue
color blind test