Forum

Full Version: Deleting files not freeing up disk space
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
data is still in snapshot(s)
(8th Sep, 2020 05:48 AM)Nachteule Wrote: [ -> ]data is still in snapshot(s)

How do I check/clear snapshots?
Also check for recycle bin.
(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
(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)
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
I don't think so. if all snapshots are deleted then there is nothing else to delete.
(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
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
I am also confused about this issue
color blind test
Reference URL's