#1  
Old 29th May 2013, 12:13
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
Default Server /boot is full

Hi,

Checking my servers and 1 of them - ubuntu 12.04.2 lts running ispconfig 3.0.5.2 is reporting:

Quote:
error:
Your Hard-Disk has no more space left
clicking more to investigate it shows /boot at 97% full.
I sshed in to look and it shows

Quote:
abi-3.2.0-23-generic initrd.img-3.2.0-35-generic
abi-3.2.0-25-generic initrd.img-3.2.0-38-generic
abi-3.2.0-30-generic initrd.img-3.2.0-39-generic
abi-3.2.0-32-generic lost+found
abi-3.2.0-33-generic memtest86+.bin
abi-3.2.0-34-generic memtest86+_multiboot.bin
abi-3.2.0-35-generic System.map-3.2.0-23-generic
abi-3.2.0-38-generic System.map-3.2.0-25-generic
abi-3.2.0-39-generic System.map-3.2.0-30-generic
config-3.2.0-23-generic System.map-3.2.0-32-generic
config-3.2.0-25-generic System.map-3.2.0-33-generic
config-3.2.0-30-generic System.map-3.2.0-34-generic
config-3.2.0-32-generic System.map-3.2.0-35-generic
config-3.2.0-33-generic System.map-3.2.0-38-generic
config-3.2.0-34-generic System.map-3.2.0-39-generic
config-3.2.0-35-generic vmlinuz-3.2.0-23-generic
config-3.2.0-38-generic vmlinuz-3.2.0-25-generic
config-3.2.0-39-generic vmlinuz-3.2.0-30-generic
grub vmlinuz-3.2.0-32-generic
initrd.img-3.2.0-23-generic vmlinuz-3.2.0-33-generic
initrd.img-3.2.0-25-generic vmlinuz-3.2.0-34-generic
initrd.img-3.2.0-30-generic vmlinuz-3.2.0-35-generic
initrd.img-3.2.0-32-generic vmlinuz-3.2.0-38-generic
initrd.img-3.2.0-33-generic vmlinuz-3.2.0-39-generic
initrd.img-3.2.0-34-generic
what can i delete?
i know grub, vmlinuz, newest initrd.img... lost+found, memtest, cannot be deleted...

Also why has my system used boot and left older files inside? I followed ubuntu perfect server to the letter.. odd

Many thanks in advance

dave
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2013, 13:32
monkfish monkfish is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 106
Thanks: 9
Thanked 15 Times in 14 Posts
Default

Those are old kernel boot files - when you install/update to a new kernel the old files arent removed. In your boot menu you will see all the kernels listed with latest being default. That way you can, if any unforeseen issues occur with newer kernel, boot to previous one.

I think you'd be better off using the package manager to remove old/unused kernels rather than delete files individually. You don't want to be removing resuce kernels etc.

You'd want to be checking your running version first, to ensure you don't remove that kernel. (I know yum prohibits removal of current running kernel not sure about dpkg!)

Code:
uname -r
make a note of the ouput here

Code:
dpkg --list | grep linux-image
make a list of previous images EXCLUDING the running one

Remove old kernels:
Code:
apt-get purge linux-image-x.x.x.x-generic
Its safe to remove anything older that your running kernel

You may see a kernel something like "linux-image-generic-lts-quantal" thats your failsafe - dont think you want to remove that.

HTH
Reply With Quote
The Following User Says Thank You to monkfish For This Useful Post:
chief (29th May 2013)
  #3  
Old 29th May 2013, 13:59
chief chief is offline
Member
 
Join Date: Nov 2008
Location: Barry. UK
Posts: 58
Thanks: 3
Thanked 2 Times in 2 Posts
 
Default

Worked a dream

thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
help cant access anything locally or from ip jimmie Installation/Configuration 14 5th March 2013 07:58
Confused abaut Primary and Secondary DNS Servers configuration. cautbur Installation/Configuration 14 14th February 2013 10:27
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44


All times are GMT +2. The time now is 15:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.