You are not logged in.

#1 2016-05-02 04:23:58

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

[Solved] out of space!? I deleted 20+gb of img files and no change

I was trying to dd an image of an sd card to my home folder when the dreaded low disk space error came up, I hit ctrl + c to cancel and made the image on another partition with plenty of room. I went into nautilus and deleted a previous image I had uploaded to my samba server and the partial I was making when I got the low disk space message, this should have left me with 20+gb, I'm still left with less than 1gb

[joe@arch-elitebook ~]$ su -c "df -h"
Password: 
Filesystem      Size  Used Avail Use% Mounted on
dev             3.8G     0  3.8G   0% /dev
run             3.8G  1.2M  3.8G   1% /run
/dev/sda5        50G   47G  982M  98% /
tmpfs           3.8G  5.9M  3.8G   1% /dev/shm
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
tmpfs           3.8G   56K  3.8G   1% /tmp
tmpfs           768M   16K  768M   1% /run/user/120
tmpfs           768M   44K  768M   1% /run/user/1000
/dev/sda1        94G   63G   31G  68% /run/media/joe/01D17405BAE9D480

/dev/sda5 is the issue here, how to I regain my disk space back. I went into system settings and emptied trash and purged temp files and had zero change when doing this. I'm at a loss, I've never deleted a file and not gotten usable space after doing so

Last edited by jbodhorn (2016-05-04 03:53:55)

Offline

#2 2016-05-02 04:26:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

Use ncdu to find what is actually taking up the space...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-05-02 22:04:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

/run/media/joe/01D17405BAE9D480 has over 20 GB free space. Maybe you removed something that was there?

Offline

#4 2016-05-03 17:35:06

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

karol wrote:

/run/media/joe/01D17405BAE9D480 has over 20 GB free space. Maybe you removed something that was there?

That's my win 10 install, the files I deleted were from my arch home folder /home/joe

jasonwryan wrote:

Use ncdu to find what is actually taking up the space...

Thank you that was just what I needed I never would have figured this out without that program

--- /root/.local/share/Trash/files ---------------------------------------------
                         /..                                                    
    9.5 GiB [##########]  2016-4-24-odroid-backup.img.gz
    8.7 GiB [######### ]  2016-5-1-backup.img.gz
    8.0 GiB [########  ]  2016-4-24-odroid-backup.copy.img.gz
    5.6 GiB [#####     ] /RPi
    5.4 GiB [#####     ] /1263ae8d-aaf3-41b6-9ac0-03e7fecb5d6a
e   4.0 KiB [          ] /arch

I'm guessing I deleted those files as root from nautilus so they ended up in root's trash and when I emptied my trash I emptied it as a regular user and it only emptied my regular users trash.... I've been wondering why my disk space kept shrinking when I wasn't installing anything and deleting stuff after I was done with it or moved it too my NAS. Some of that stuff like the /RPi folder and the one's below were deleted a while ago and just sitting in the trash, heck that copy was something I decided against and stopped making the copy part way and deleted it right away...

Offline

#5 2016-05-03 18:17:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

So this isn't an Arch install, but an Arch-ARM one?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-05-03 19:51:26

jbodhorn
Member
Registered: 2015-12-11
Posts: 130

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

jasonwryan wrote:

So this isn't an Arch install, but an Arch-ARM one?

This issue was on a regular arch 64 bit install running gnome 3.20. I have an odroid-xu4 I installed arch on that I'm working on. I used this laptop to image my sd card for the odroid and for making backups, and everything else, this is my main computer ATM.  I've been making odroid backups frequently, like everytime I get something installed and setup properly. I haven't installed any sort of desktop enviroment in arch arm and with my newbie status it's been an uphill battle against the command line while getting the odroid setup...

The RPi folder was an old project, was my NAS before I got the odroid. I couldn't get the RPi to boot from my backup image to look at some config files while working on the odroid. The card reader wasn't working for some reason in arch on this laptop and I had to use one of those usb to micro sd card readers that stick way out for a while. The card reader randonly started working in arch, I only noticed when I had accidently left a card in that I was using in windows. I figured I could delete my RPi folder when the card reader started working since sd cards don't stick out like when using the usb converter.

I only gave myself 50gb for arch when I installed it on this laptop, I figured windows eats more space and I can always access stuff stored on the ntfs partition anyway. Untill my disk space started randomly disappearing it wasn't an issue, I'm just glad I was told about ncdu. I'm about to check if there is an arm version too, made my life a lot easier

Offline

#7 2016-05-03 20:38:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] out of space!? I deleted 20+gb of img files and no change

Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB