Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Deleting files not freeing up disk space
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Deleting files not freeing up disk space
8th Sep, 2020, 02:53 AM
Post: #1
Baz8755 Offline
Registered
Posts: 70
Joined: Oct 2013
Reputation: 0
Deleting files not freeing up disk space
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?
Find all posts by this user
8th Sep, 2020, 05:48 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Deleting files not freeing up disk space
data is still in snapshot(s)
Find all posts by this user
8th Sep, 2020, 05:41 PM
Post: #3
Baz8755 Offline
Registered
Posts: 70
Joined: Oct 2013
Reputation: 0
RE: Deleting files not freeing up disk space
(8th Sep, 2020 05:48 AM)Nachteule Wrote:  data is still in snapshot(s)

How do I check/clear snapshots?
Find all posts by this user
8th Sep, 2020, 07:07 PM
Post: #4
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Deleting files not freeing up disk space
Also check for recycle bin.
Find all posts by this user
8th Sep, 2020, 07:19 PM
Post: #5
Baz8755 Offline
Registered
Posts: 70
Joined: Oct 2013
Reputation: 0
RE: Deleting files not freeing up disk space
(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
Find all posts by this user
8th Sep, 2020, 07:59 PM (This post was last modified: 8th Sep, 2020 08:13 PM by Nachteule.)
Post: #6
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Deleting files not freeing up disk space
(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)
Find all posts by this user
15th Dec, 2020, 12:04 PM
Post: #7
qoop Offline
Registered
Posts: 23
Joined: Dec 2019
Reputation: 0
RE: Deleting files not freeing up disk space
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
Find all posts by this user
15th Dec, 2020, 10:02 PM
Post: #8
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Deleting files not freeing up disk space
I don't think so. if all snapshots are deleted then there is nothing else to delete.
Find all posts by this user
15th Dec, 2020, 10:44 PM
Post: #9
qoop Offline
Registered
Posts: 23
Joined: Dec 2019
Reputation: 0
RE: Deleting files not freeing up disk space
(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
Find all posts by this user
15th Dec, 2020, 10:48 PM
Post: #10
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Deleting files not freeing up disk space
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
Find all posts by this user
24th Mar, 2023, 07:52 PM
Post: #11
alijen Offline
Banned
Posts: 1
Joined: Nov 2022
RE: Deleting files not freeing up disk space
I am also confused about this issue
color blind test
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th May, 2025, 05:22 PM Powered By MyBB, © 2002-2025 MyBB Group.