Tuesday, November 29, 2011

/boot directory is full and remount another partition to /boot direcotry

Problem: /boot directory on /dev/hda1 is full, and no more space on disk
Solve: re-mount /dev/hda6 to /boot 

[root@centos5 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             9.5G  7.7G  1.4G  86% /
/dev/hda6              23G  4.7G   17G  22% /home
/dev/hda3             1.9G   37M  1.8G   3% /tmp
/dev/hda1              90M  85M   5M 100% /boot

mount /dev/hda6 /boot


[root@centos5 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             9.5G  7.7G  1.4G  86% /
/dev/hda6              23G  4.7G   17G  22% /home
/dev/hda3             1.9G   37M  1.8G   3% /tmp
/dev/hda1              23G  4.7G   17G  22% /boot
tmpfs                 251M     0  251M   0% /dev/shm
/dev/hda6              23G  4.7G   17G  22% /boot

No comments: