-----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 at mail ~]# lvextend -L+30G /dev/VolGroup00/LogVol00
> Extending logical volume LogVol00 to 88.59 GB
> Logical volume LogVol00 successfully resized
> [root at mail ~]# resize2fs /dev/VolGroup00/LogVol00
> resize2fs 1.35 (28-Feb-2004)
> /dev/VolGroup00/LogVol00 is mounted; can't resize a mounted filesystem!
> [root at 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 at 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFHtgz7IXSX/6LmsXkRAgx4AJ9D807fOmixl2Jh848K2qp3WL5+VQCfXMvw
rd2soCNIfbtYGBMkmoEP0bE=IUvb
-----END PGP SIGNATURE-----