homepage Welcome to WebmasterWorld Guest from 54.227.34.0
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Linux: Hard disk filling up
Is is safe to delete these files?
PCInk

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4685474 posted 7:37 pm on Jul 6, 2014 (gmt 0)

My little SSD drive is filling up and I discover that in the /boot directory, there are lots of files which are different kernals, configuration and more with version numbers in the file names them.

Am I ok to delete those files with the older version numbers to free some space up?

 

lammert

WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4685474 posted 8:00 pm on Jul 6, 2014 (gmt 0)

The older versions may be used in some situations when the system is started with other than the default startup settings. Which versions are used in that situation depends on the configuration of your boot loader.

If your system is configured to use grub as boot loader, the configuration file /boot/grub/grub.conf will show you which kernels are still configured as bootable.

On many systems, /boot is a separate partition and freeing up space there may not create extra space in the other file systems. Sometimes /boot is also mounted as readonly and deleting the files is not possible in that case, unless the partition is remounted with read-write permissions.

pp46

5+ Year Member



 
Msg#: 4685474 posted 8:01 pm on Jul 6, 2014 (gmt 0)

what does df -h give as output ?

PCInk

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4685474 posted 8:33 pm on Jul 6, 2014 (gmt 0)

I see. So deleting those files as will free space in a partition I can't normally touch anyway. That would be pointless!

Found a culprit with the disk analyser - very large Apache log and error files.

df -h was telling me 49Gb of 50Gb was used and I was getting the low space warning in the desktop. Deleting the Apache files has freed up over 20Gb! So I should be ok now. Thanks.

lammert

WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4685474 posted 8:57 pm on Jul 6, 2014 (gmt 0)

Good to hear you have found the cause of your full disk.

Hoople

10+ Year Member



 
Msg#: 4685474 posted 2:56 am on Jul 7, 2014 (gmt 0)

Don't forget to check the tmp path as many web plug-ins use it but fail to clean up on exiting.

n0tSEO



 
Msg#: 4685474 posted 8:25 pm on Aug 2, 2014 (gmt 0)

Yes, your tmp and log files (especially error logs) fill up a lot of webdisk space! I'm glad you got that one sorted out. :)

Also, if you can access the package manager, either via UI or terminal, you can look up your list of installations and get rid of what you don't need anymore (especially outdated and no longer used libraries).

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved