[EdLUG] Help
Andrew Ramage
andrew.ramage.1963 at gmail.com
Mon Aug 24 07:03:16 UTC 2020
I cleared cache from Firefox and deleted to hidden directories that each
contained one file containing a list of messages I had been receiving
(messages looking for Bitcoin numbers) and recovered a lot of space.
Here are the recommended commands:
andrew at andrew-Lenovo-G50-30:~$ sudo du -hs /*
[sudo] password for andrew:
375M /bin
138M /boot
4.0K /cdrom
0 /dev
16M /etc
97G /home
0 /initrd.img
0 /initrd.img.old
901M /lib
16K /lost+found
8.0K /media
40K /mnt
202M /opt
du: cannot access '/proc/3638/task/3638/fd/4': No such file or directory
du: cannot access '/proc/3638/task/3638/fdinfo/4': No such file or directory
du: cannot access '/proc/3638/fd/3': No such file or directory
du: cannot access '/proc/3638/fdinfo/3': No such file or directory
0 /proc
43M /root
du: cannot access '/run/user/1000/gvfs': Permission denied
1.5M /run
14M /sbin
8.0K /snap
4.0K /srv
0 /sys
112K /tmp
8.2G /usr
1.5G /var
0 /vmlinuz
0 /vmlinuz.old
andrew at andrew-Lenovo-G50-30:~$
andrew at andrew-Lenovo-G50-30:~$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 186436 660 185776 1% /dev
tmpfs 195734 1046 194688 1% /run
/dev/sda8 3055616 324047 2731569 11% /
tmpfs 195734 228 195506 1% /dev/shm
tmpfs 195734 6 195728 1% /run/lock
tmpfs 195734 18 195716 1% /sys/fs/cgroup
/dev/sda9 9773056 94537 9678519 1% /home
tmpfs 195734 38 195696 1% /run/user/1000
andrew at andrew-Lenovo-G50-30:~$
On 24/08/2020 07:09, Ian Stuart wrote:
> tained
>
> On 22/08/2020 18:26, Andrew Ramage wrote:
>>
>> (lots of systems don't partition /home/ from /)
>>
>> If you've been playing with building a lot of docker images, that can
>> fill up /var/lib/docker quite quickly (I do, and I've currently got 218G
>> of data just there)
>>
>> I suspect video processing & image editing can leave large caches
>> behind.
>> Warning. This email contains links or attachments and originates outside
>> of the University.
>> You should only click on links or attachments if you are certain that
>> the email is genuine and the content is safe.
>>
>> I should have 66G free on my home directory, but I have 0 bytes free.
>> Anyone know what's happened ?
> You filled the disk.
>
> When you say "Home Directory", what _partition_ are you on?
> (lots of systems don't partition /home/ from /)
>
> If you've been playing with building a lot of docker images, that can
> fill up /var/lib/docker quite quickly (I do, and I've currently got 218G
> of data just there)
>
> I suspect video processing & image editing can leave large caches behind.
>
> try running "sudo du -hs /*" to see which directory tree has all the
> space.... and then descent the tree to pinpoint the problem
>
> --
> Ian Stuart.
> Perl & Python developer,
> EDINA,
> The University of Edinburgh.
> 🚙
> http://edina.ac.uk/
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
--
Visit my Website: www.andrewnramage.co.uk
More information about the EdLUG
mailing list