[HELP NEEDED] Increase space of home folder in CentOS 6
Problem : /dev/mapper/vg_centos-lv_home has become full, however there is still some free space on device, what's going on?!?
[root@centos ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_centos-lv_root 46287864 4627216 39309340 11% / tmpfs 394044 228 393816 1% /dev/shm /dev/sda1 495844 56505 413739 13% /boot /dev/mapper/vg_centos-lv_home 4519408 4280864 8964 100% /home /dev/sr0 58094 58094 0 100% /media/VBOXADDITIONS_4.2.12_84980 If you see carefully, the / partition has 46 GB while the /home folder has only 4.2 GB. I tried to resize the partitions but it caused the system to stop booting. So I had to restart the installation from scratch. If you know the answer, please comment below!
So df reports full disk, but disk analyser or du reports that there is free space
Solution : Resize partitions.
Source : https://www.centos.org/modules/newbb/viewtopic.php?topic_id=42285
Other wordings of symptomes :
lsof reclaim fantom disk space phantom disk space
home folder is full but my device still has space in CentOS 6.4
This is the command that failed (the second line failed) :
lvextend -L+2G /dev/mapper/VolGroup00-var resize2fs /dev/mapper/VolGroup00-var
Recent Comments