-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ivan Arteaga wrote:
I tried the commands you sent me and i can extend the size to the new value but canĀ“t resize the file system:
[root@mail ~]# lvextend -L+30G /dev/VolGroup00/LogVol00 Extending logical volume LogVol00 to 88.59 GB Logical volume LogVol00 successfully resized [root@mail ~]# resize2fs /dev/VolGroup00/LogVol00 resize2fs 1.35 (28-Feb-2004) /dev/VolGroup00/LogVol00 is mounted; can't resize a mounted filesystem!
[root@mail ~]# df -kh Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 58G 49G 5.8G 90% / /dev/sda1 99M 33M 62M 35% /boot /dev/mapper/VolGroup00-LogVol03 20G 9.7G 8.6G 53% /cose none 1013M 0 1013M 0% /dev/shm [root@mail ~]# umount /dev/VolGroup00/LogVol00 umount: /: device is busy
How can i umount the / filesystem?
Boot CentOS using the install CD and type linux rescue. You can run the command there when / is unmounted. Don't mount the partitions if it asks you to.
Max