/boot is 100% full

Discussion in 'HOWTO-Related Questions' started by Sohail Khawaja, Jan 22, 2008.

  1. Sohail Khawaja

    Sohail Khawaja New Member

    Hi Linux gurrus :)

    hope you all will be doing well.

    Well I am facing a problem first time in my sys admin experience. I am using RHEL-4, I am unable to access /boot partition. when i try to access this partion or want to show its contents, It seems /boot is corrupted. see the following outputs

    #ls /boot/
    9?^?????tdÜ°??????4?çj?

    #df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    145G 98G 40G 72% /
    /dev/sda1 1.4T 1.4T 0 100% /boot
    none 501M 0 501M 0% /dev/shm

    Note: its showing the wrong entries /dev/sda1 (1.4T) and its 100% full.

    #fdisk -l

    Disk /dev/sda: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 9726 78019672+ 8e Linux LVM

    Disk /dev/sdb: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 9726 78124063+ 8e Linux LVM

    Can any body help me whats wrong with /boot? Number of applications are being run (24x7) on this server. I cant reboot it and cant interrupt the running applications. Can any body tell me what should i do now?

    Server's info:

    #cat /etc/redhat-release
    Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

    # uname -r
    2.6.9-11.ELsmp

    waiting for an early response.

    Thanks
    Sohail
     
  2. falko

    falko Super Moderator

    Normally I'd say "boot from a rescue CD or rescue system and try to delete some unneeded files in /boot", but this doesn't work if you can reboot the system...

    Does this work?
    Code:
    cd /boot 
    ls -l
     
  3. Sohail Khawaja

    Sohail Khawaja New Member

    No, this doesnt work,

    boot#ls
    9?^?????tdÜ°??????4?çj?

    Now ??
     
  4. falko

    falko Super Moderator

    I have no idea... :(
     
  5. guped

    guped New Member

    i have the same problem.


    root@montreal [/boot]# cat /etc/redhat-release
    CentOS release 5.4 (Final)

    root@montreal [/boot]# uname -r
    2.6.18-164.el5

    root@montreal [/boot]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 448G 46G 379G 11% /
    /dev/sdb1 452G 72G 356G 17% /backups
    /dev/sda1 99M 98M 0 100% /boot
    tmpfs 1.7G 0 1.7G 0% /dev/shm
    /usr/tmpDSK 485M 24M 436M 6% /tmp
    root@montreal [/boot]#

    root@montreal [/boot]# ls -l
    total 94411
    drwxr-xr-x 4 root root 9216 Dec 26 11:52 ./
    drwxr-xr-x 29 root root 4096 Dec 10 18:54 ../
    -rwxr--r-- 1 root root 6144 Apr 27 2009 aquota.user*
    -rw-r--r-- 1 root root 68667 Sep 30 14:23 config-2.6.18-164.2.1.el5
    -rw-r--r-- 1 root root 68694 Sep 30 16:15 config-2.6.18-164.2.1.el5debug
    -rw-r--r-- 1 root root 68620 Sep 30 15:00 config-2.6.18-164.2.1.el5PAE
    -rw-r--r-- 1 root root 68289 Sep 30 15:38 config-2.6.18-164.2.1.el5xen
    -rw-r--r-- 1 root root 68697 Nov 3 19:46 config-2.6.18-164.6.1.el5
    -rw-r--r-- 1 root root 68724 Nov 3 22:38 config-2.6.18-164.6.1.el5debug
    -rw-r--r-- 1 root root 68650 Nov 3 20:34 config-2.6.18-164.6.1.el5PAE
    -rw-r--r-- 1 root root 68319 Nov 3 21:46 config-2.6.18-164.6.1.el5xen
    -rw-r--r-- 1 root root 68697 Dec 16 00:33 config-2.6.18-164.9.1.el5
    -rw-r--r-- 1 root root 68724 Dec 16 02:25 config-2.6.18-164.9.1.el5debug
    -rw-r--r-- 1 root root 68650 Dec 16 01:10 config-2.6.18-164.9.1.el5PAE
    -rw-r--r-- 1 root root 68319 Dec 16 01:48 config-2.6.18-164.9.1.el5xen
    -rw-r--r-- 1 root root 68663 Sep 3 05:01 config-2.6.18-164.el5
    -rw-r--r-- 1 root root 68690 Sep 3 06:53 config-2.6.18-164.el5debug
    -rw-r--r-- 1 root root 68616 Sep 3 05:38 config-2.6.18-164.el5PAE
    -rw-r--r-- 1 root root 68285 Sep 3 06:16 config-2.6.18-164.el5xen
    drwxr-xr-x 2 root root 1024 Dec 26 11:52 grub/
    -rw------- 1 root root 2580780 Oct 31 02:46 initrd-2.6.18-164.2.1.el5debug.img
    -rw------- 1 root root 2573777 Oct 31 03:13 initrd-2.6.18-164.2.1.el5.img
    -rw------- 1 root root 2574919 Oct 31 03:13 initrd-2.6.18-164.2.1.el5PAE.img
    -rw------- 1 root root 2575107 Oct 31 03:13 initrd-2.6.18-164.2.1.el5xen.img
    -rw------- 1 root root 2580730 Nov 5 02:43 initrd-2.6.18-164.6.1.el5debug.img
    -rw------- 1 root root 2573957 Nov 11 22:03 initrd-2.6.18-164.6.1.el5.img
    -rw------- 1 root root 2574866 Nov 11 22:02 initrd-2.6.18-164.6.1.el5PAE.img
    -rw------- 1 root root 2575094 Nov 11 22:03 initrd-2.6.18-164.6.1.el5xen.img
    -rw------- 1 root root 2581083 Dec 18 02:45 initrd-2.6.18-164.9.1.el5debug.img
    -rw------- 1 root root 2573805 Dec 26 11:51 initrd-2.6.18-164.9.1.el5.img
    -rw------- 1 root root 2574981 Dec 26 11:52 initrd-2.6.18-164.9.1.el5PAE.img
    -rw------- 1 root root 2575117 Dec 26 11:52 initrd-2.6.18-164.9.1.el5xen.img
    -rw------- 1 root root 2565458 Sep 24 13:24 initrd-2.6.18-164.el5debug.img
    -rw------- 1 root root 2561141 Oct 2 15:02 initrd-2.6.18-164.el5.img
    -rw------- 1 root root 2561727 Oct 2 15:02 initrd-2.6.18-164.el5PAE.img
    -rw------- 1 root root 2561980 Oct 2 15:02 initrd-2.6.18-164.el5xen.img
    drwx------ 2 root root 12288 Apr 26 2009 lost+found/
    -rw-r--r-- 1 root root 80032 Mar 12 2009 message
    -rwxr--r-- 1 root root 32 Apr 27 2009 quota.user*
    -rw-r--r-- 1 root root 107917 Sep 30 16:15 symvers-2.6.18-164.2.1.el5debug.gz
    -rw-r--r-- 1 root root 107427 Sep 30 14:23 symvers-2.6.18-164.2.1.el5.gz
    -rw-r--r-- 1 root root 107503 Sep 30 15:00 symvers-2.6.18-164.2.1.el5PAE.gz
    -rw-r--r-- 1 root root 107401 Sep 30 15:38 symvers-2.6.18-164.2.1.el5xen.gz
    -rw-r--r-- 1 root root 107925 Nov 3 22:39 symvers-2.6.18-164.6.1.el5debug.gz
    -rw-r--r-- 1 root root 107439 Nov 3 19:46 symvers-2.6.18-164.6.1.el5.gz
    -rw-r--r-- 1 root root 107514 Nov 3 20:34 symvers-2.6.18-164.6.1.el5PAE.gz
    -rw-r--r-- 1 root root 107413 Nov 3 21:47 symvers-2.6.18-164.6.1.el5xen.gz
    -rw-r--r-- 1 root root 107926 Dec 16 02:26 symvers-2.6.18-164.9.1.el5debug.gz
    -rw-r--r-- 1 root root 107435 Dec 16 00:33 symvers-2.6.18-164.9.1.el5.gz
    -rw-r--r-- 1 root root 107513 Dec 16 01:10 symvers-2.6.18-164.9.1.el5PAE.gz
    -rw-r--r-- 1 root root 107412 Dec 16 01:48 symvers-2.6.18-164.9.1.el5xen.gz
    -rw-r--r-- 1 root root 107896 Sep 3 06:53 symvers-2.6.18-164.el5debug.gz
    -rw-r--r-- 1 root root 107405 Sep 3 05:01 symvers-2.6.18-164.el5.gz
    -rw-r--r-- 1 root root 107459 Sep 3 05:38 symvers-2.6.18-164.el5PAE.gz
    -rw-r--r-- 1 root root 107385 Sep 3 06:16 symvers-2.6.18-164.el5xen.gz
    -rw-r--r-- 1 root root 955868 Sep 30 14:23 System.map-2.6.18-164.2.1.el5
    -rw-r--r-- 1 root root 970236 Sep 30 16:15 System.map-2.6.18-164.2.1.el5debug
    -rw-r--r-- 1 root root 953352 Sep 30 15:00 System.map-2.6.18-164.2.1.el5PAE
    -rw-r--r-- 1 root root 952519 Sep 30 15:38 System.map-2.6.18-164.2.1.el5xen
    -rw-r--r-- 1 root root 956131 Nov 3 19:46 System.map-2.6.18-164.6.1.el5
    -rw-r--r-- 1 root root 970499 Nov 3 22:38 System.map-2.6.18-164.6.1.el5debug
    -rw-r--r-- 1 root root 953615 Nov 3 20:34 System.map-2.6.18-164.6.1.el5PAE
    -rw-r--r-- 1 root root 952782 Nov 3 21:46 System.map-2.6.18-164.6.1.el5xen
    -rw-r--r-- 1 root root 956242 Dec 16 00:33 System.map-2.6.18-164.9.1.el5
    -rw-r--r-- 1 root root 970610 Dec 16 02:25 System.map-2.6.18-164.9.1.el5debug
    -rw-r--r-- 1 root root 953726 Dec 16 01:10 System.map-2.6.18-164.9.1.el5PAE
    -rw-r--r-- 1 root root 952893 Dec 16 01:48 System.map-2.6.18-164.9.1.el5xen
    -rw-r--r-- 1 root root 954947 Sep 3 05:01 System.map-2.6.18-164.el5
    -rw-r--r-- 1 root root 969315 Sep 3 06:53 System.map-2.6.18-164.el5debug
    -rw-r--r-- 1 root root 952431 Sep 3 05:38 System.map-2.6.18-164.el5PAE
    -rw-r--r-- 1 root root 952318 Sep 3 06:16 System.map-2.6.18-164.el5xen
    -rw-r--r-- 1 root root 1858068 Sep 30 14:23 vmlinuz-2.6.18-164.2.1.el5
    -rw-r--r-- 1 root root 2042196 Sep 30 16:15 vmlinuz-2.6.18-164.2.1.el5debug
    -rw-r--r-- 1 root root 167 Sep 30 16:15 .vmlinuz-2.6.18-164.2.1.el5debug.hmac
    -rw-r--r-- 1 root root 162 Sep 30 14:23 .vmlinuz-2.6.18-164.2.1.el5.hmac
    -rw-r--r-- 1 root root 1854324 Sep 30 15:00 vmlinuz-2.6.18-164.2.1.el5PAE
    -rw-r--r-- 1 root root 165 Sep 30 15:00 .vmlinuz-2.6.18-164.2.1.el5PAE.hmac
    -rw-r--r-- 1 root root 2226022 Sep 30 15:38 vmlinuz-2.6.18-164.2.1.el5xen
    -rw-r--r-- 1 root root 165 Sep 30 15:38 .vmlinuz-2.6.18-164.2.1.el5xen.hmac
    -rw-r--r-- 1 root root 1858292 Nov 3 19:46 vmlinuz-2.6.18-164.6.1.el5
    -rw-r--r-- 1 root root 2042420 Nov 3 22:38 vmlinuz-2.6.18-164.6.1.el5debug
    -rw-r--r-- 1 root root 167 Nov 3 22:38 .vmlinuz-2.6.18-164.6.1.el5debug.hmac
    -rw-r--r-- 1 root root 162 Nov 3 19:46 .vmlinuz-2.6.18-164.6.1.el5.hmac
    -rw-r--r-- 1 root root 1854324 Nov 3 20:34 vmlinuz-2.6.18-164.6.1.el5PAE
    -rw-r--r-- 1 root root 165 Nov 3 20:34 .vmlinuz-2.6.18-164.6.1.el5PAE.hmac
    -rw-r--r-- 1 root root 2226163 Nov 3 21:46 vmlinuz-2.6.18-164.6.1.el5xen
    -rw-r--r-- 1 root root 165 Nov 3 21:46 .vmlinuz-2.6.18-164.6.1.el5xen.hmac
    -rw-r--r-- 1 root root 1858036 Dec 16 00:33 vmlinuz-2.6.18-164.9.1.el5
    -rw-r--r-- 1 root root 2044180 Dec 16 02:25 vmlinuz-2.6.18-164.9.1.el5debug
    -rw-r--r-- 1 root root 167 Dec 16 02:25 .vmlinuz-2.6.18-164.9.1.el5debug.hmac
    -rw-r--r-- 1 root root 162 Dec 16 00:33 .vmlinuz-2.6.18-164.9.1.el5.hmac
    -rw-r--r-- 1 root root 1854996 Dec 16 01:10 vmlinuz-2.6.18-164.9.1.el5PAE
    -rw-r--r-- 1 root root 165 Dec 16 01:10 .vmlinuz-2.6.18-164.9.1.el5PAE.hmac
    -rw-r--r-- 1 root root 2226679 Dec 16 01:48 vmlinuz-2.6.18-164.9.1.el5xen
    -rw-r--r-- 1 root root 165 Dec 16 01:48 .vmlinuz-2.6.18-164.9.1.el5xen.hmac
    -rw-r--r-- 1 root root 1855924 Sep 3 05:01 vmlinuz-2.6.18-164.el5
    -rw-r--r-- 1 root root 2041364 Sep 3 06:53 vmlinuz-2.6.18-164.el5debug
    -rw-r--r-- 1 root root 163 Sep 3 06:53 .vmlinuz-2.6.18-164.el5debug.hmac
    -rw-r--r-- 1 root root 158 Sep 3 05:01 .vmlinuz-2.6.18-164.el5.hmac
    -rw-r--r-- 1 root root 1852564 Sep 3 05:38 vmlinuz-2.6.18-164.el5PAE
    -rw-r--r-- 1 root root 161 Sep 3 05:38 .vmlinuz-2.6.18-164.el5PAE.hmac
    -rw-r--r-- 1 root root 2225793 Sep 3 06:16 vmlinuz-2.6.18-164.el5xen
    -rw-r--r-- 1 root root 161 Sep 3 06:16 .vmlinuz-2.6.18-164.el5xen.hmac
    -rw-r--r-- 1 root root 375889 Sep 30 13:48 xen.gz-2.6.18-164.2.1.el5
    -rw-r--r-- 1 root root 375762 Nov 3 19:11 xen.gz-2.6.18-164.6.1.el5
    -rw-r--r-- 1 root root 378595 Dec 15 23:58 xen.gz-2.6.18-164.9.1.el5
    -rw-r--r-- 1 root root 375877 Sep 3 04:27 xen.gz-2.6.18-164.el5
    -rwxr-xr-x 1 root root 817164 Sep 30 16:28 xen-syms-2.6.18-164.2.1.el5*
    -rwxr-xr-x 1 root root 817164 Nov 3 22:53 xen-syms-2.6.18-164.6.1.el5*
    -rwxr-xr-x 1 root root 825356 Dec 16 02:38 xen-syms-2.6.18-164.9.1.el5*
    -rwxr-xr-x 1 root root 817160 Sep 3 07:06 xen-syms-2.6.18-164.el5*


    thanks
     
  6. topdog

    topdog HowtoForge Supporter

    guped, you issue is not the same. all you need to do is uninstall the old kernels that you are not using.
     
  7. guped

    guped New Member

    as i do that?

    Could you please help me?
     

Share This Page