[CentOS] [Newbie] Reclaiming /boot space

Todd Cary

todd at aristesoftware.com
Tue Mar 8 22:56:05 UTC 2011


When trying to do a yum update, I am told I need more space in 
/boot.  When I check the contents of /boot (ls -l /boot), there 
are no files.

If I do a df -h, there is no available space yet it shows that it 
has a lot of used space.

The fstab shows the following:

# This file is edited by fstab-sync - see 'man fstab-sync' for 
details
/dev/VolGroup00/LogVol00 /                       ext3    
defaults        1 1
LABEL=/boot             /boot                   ext3    
defaults        1 2
none                    /dev/pts                devpts  
gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   
defaults        0 0
none                    /proc                   proc    
defaults        0 0
none                    /sys                    sysfs   
defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    
defaults        0 0
/dev/hda                /media/cdrom            auto    
pamconsole,exec,noauto,managed 0 0

# fschk.ext3 /boot gives this error:

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the 
superblock
is corrupt, and you might try running e2fsck with an alternate 
superblock:
     e2fsck -b 8193 <device>

I am not sure what I should do next.

Thank you in advance for any suggestions...

Todd

-- 
Ariste Software
Petaluma, CA 94952

http://www.aristesoftware.com




More information about the CentOS mailing list