Re: [mh] MH How to clean up and free disk?
Gianni Veloce via misterhouse-users <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Just be sure See below the commands output.Which files is safe to delate?--------------------------root@localhost:~# ls -l /boottotal 111224-rw-r--r-- 1 root root 414274 2007-12-18 08:24 abi-2.6.20-16-generic-rw-r--r-- 1 root root 424374 2008-11-24 23:46 abi-2.6.22-16-generic-rw-r--r-- 1 root root 422838 2009-10-20 14:47 abi-2.6.24-25-generic-rw-r--r-- 1 root root 422900 2009-12-02 00:54 abi-2.6.24-26-generic-rw-r--r-- 1 root root 422948 2010-03-24 15:33 abi-2.6.24-27-generic-rw-r--r-- 1 root root 422971 2011-02-11 20:28 abi-2.6.24-28-generic-rw-r--r-- 1 root root 423190 2012-09-25 21:23 abi-2.6.24-32-generic-rw-r--r-- 1 root root 83217 2007-12-18 05:36 config-2.6.20-16-generic-rw-r--r-- 1 root root 75300 2008-11-24 23:46 config-2.6.22-16-generic-rw-r--r-- 1 root root 80113 2009-10-20 14:47 config-2.6.24-25-generic-rw-r--r-- 1 root root 80113 2009-12-02 00:54 config-2.6.24-26-generic-rw-r--r-- 1 root root 80113 2010-03-24 15:33 config-2.6.24-27-generic-rw-r--r-- 1 root root 80113 2011-02-11 20:28 config-2.6.24-28-generic-rw-r--r-- 1 root root 80114 2012-09-25 21:23 config-2.6.24-32-genericdrwxr-xr-x 2 root root 4096 2012-10-27 15:55 grub-rw-r--r-- 1 root root 6941417 2008-01-15 10:28 initrd.img-2.6.20-16-generic-rw-r--r-- 1 root root 7280997 2009-01-17 20:20 initrd.img-2.6.22-16-generic-rw-r--r-- 1 root root 7280907 2009-01-17 20:19 initrd.img-2.6.22-16-generic.bak-rw-r--r-- 1 root root 7646709 2009-12-02 06:42 initrd.img-2.6.24-25-generic-rw-r--r-- 1 root root 7646927 2009-12-02 06:26 initrd.img-2.6.24-25-generic.bak-rw-r--r-- 1 root root 7646436 2010-01-30 09:54 initrd.img-2.6.24-26-generic-rw-r--r-- 1 root root 7646425 2010-01-30 09:52 initrd.img-2.6.24-26-generic.bak-rw-r--r-- 1 root root 7645979 2010-05-01 09:26 initrd.img-2.6.24-27-generic-rw-r--r-- 1 root root 7646102 2010-04-10 18:08 initrd.img-2.6.24-27-generic.bak-rw-r--r-- 1 root root 7648898 2012-08-20 17:54 initrd.img-2.6.24-28-generic-rw-r--r-- 1 root root 7647928 2011-02-06 10:31 initrd.img-2.6.24-28-generic.bak-rw-r--r-- 1 root root 7652522 2012-10-27 15:55 initrd.img-2.6.24-32-generic-rw-r--r-- 1 root root 7647584 2012-08-20 18:07 initrd.img-2.6.24-32-generic.bak-rw-r--r-- 1 root root 103204 2007-09-28 13:06 memtest86+.bin-rw-r--r-- 1 root root 807071 2007-12-18 08:25 System.map-2.6.20-16-generic-rw-r--r-- 1 root root 823860 2008-11-24 23:46 System.map-2.6.22-16-generic-rw-r--r-- 1 root root 906551 2009-10-20 14:47 System.map-2.6.24-25-generic-rw-r--r-- 1 root root 906551 2009-12-02 00:54 System.map-2.6.24-26-generic-rw-r--r-- 1 root root 906803 2010-03-24 15:33 System.map-2.6.24-27-generic-rw-r--r-- 1 root root 906924 2011-02-11 20:28 System.map-2.6.24-28-generic-rw-r--r-- 1 root root 907632 2012-09-25 21:23 System.map-2.6.24-32-generic-rw-r--r-- 1 root root 1927192 2010-03-24 15:33 vmlinuz-2.6.24-27-generic-rw-r--r-- 1 root root 1928120 2011-02-11 20:28 vmlinuz-2.6.24-28-generic-rw-r--r-- 1 root root 1927736 2012-09-25 21:23 vmlinuz-2.6.24-32-genericroot@localhost:~# uname -r2.6.24-32-genericroot@localhost:~# dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/sda1 27123728 24217448 1506220 95% /varrun 257780 260 257520 1% /var/runvarlock 257780 0 257780 0% /var/lockudev 257780 44 257736 1% /devdevshm 257780 12 257768 1% /dev/shmlrm 257780 40000 217780 16% /lib/modules/2.6.24-32-generic/volatileroot@localhost:~#
--------------------------
On Sunday, December 23, 2018, 9:11:18 PM GMT+2, Gianni Veloce via misterhouse-users <[email protected]> wrote:
thanx Steve Very useful
GV----------------------------------------
On Sunday, December 23, 2018, 4:44:12 PM GMT+2, [email protected] <[email protected]> wrote:
Assuming that you still have a need, run the following to clean up after APT:
sudo apt-get autoclean
This will delete the package cache from /var/cache/apt/archives.
Also, you might have a bunch of extra dependencies that are no longer required, which you can remove like this:
sudo apt-get autoremove
Lastly, you could also have lots of old kernels hanging around in /boot.. reply with the output of:
# ls -l /boot
--and—
# uname -r
I can then write you a command that will remove the old stuff.
Steve
From: Gianni Veloce via misterhouse-users <[email protected]>
Sent: Wednesday, December 5, 2018 11:51 PM
To: [email protected]
Subject: [mh] MH How to clean up and free disk?
Help please
My hard disk is found at 99% capacity and needed urgently to free some space as upgrade hardware is not an option for me as running on an old laptop but having plan to go to RPi soon (maybe I have to speed up this)
Being on Ubuntu Linux I deleted some files like caddx.log.xxxxx and caddx.out.xxxxx under /tmp but this only gave me only 2% back :(
Is there any other files (not only in MH but also in O.S.) to remove to help out the situation?
maaany thnx
GV
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users