Forum

Full Version: 100% disk space in use (even after deleting some files)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

the root partition of my SD card was 100% in use, because I had accidently downloaded a large file to /home.
But the strange thing on this is, that the space didn't come available again after deleting the file.

Confused

Code:
xbian@xbian ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          3.5G  3.2G   16K 100% /
/dev/mmcblk0p2  3.5G  3.2G   16K 100% /
devtmpfs        187M  4.0K  187M   1% /dev
none             38M  140K   38M   1% /run
/dev/mmcblk0p1   34M   22M   13M  63% /boot
/dev/mmcblk0p2  3.5G  3.2G   16K 100% /home
/dev/mmcblk0p2  3.5G  3.2G   16K 100% /lib/modules
overflow        1.0M     0  1.0M   0% /tmp
/dev/mmcblk0p2  3.5G  3.2G   16K 100% /xbmc-backup


But:
Code:
xbian@xbian ~ $ sudo du -hs /
1.7G    /

Huh


Thanks for any kind of input!
it's because your file is always in btrfs snapshot,
there are 2 or 3 thread about deleting snapshot,
maybe check on the new wiki for command, i don't remember
Thanks for the hint, belese! Smile

The solution:
(13th Dec, 2013 11:03 AM)mk01 Wrote: [ -> ]
Code:
sudo -i
btrfs-auto-snapshot list | grep -v /@$ | grep auto-snap | xargs -L1 btrfs-auto-snapshot destroy
Nice one for the wiki Smile
(5th Jun, 2014 03:08 AM)CurlyMo Wrote: [ -> ]Nice one for the wiki Smile

I've rewritten the snapshot wiki page (except the intro) and also added the part for removing snapshots. Wink

http://wiki.xbian.org/doku.php/snapshots


btw: Is there a reason why the other pages don't use headlines? I think it should be standard to use them for a better overview and of course for the table of contents too. And if we would use just italic tags for headlines, we can't use it anymore in the text - or it could become confusing.
I just did a quick copy from the old wiki to the new one. The idea is that everyone can edit it and thereby improve it. Thanks for your input!
Okay, nice! Smile It's a great new wiki, I like the overview.
I've Updated the 'Updating XBian' Page this day earlier too.

Always good to have a place to look at for all kind of problems Wink
Reference URL's