LVM problem

Gabriel VLASIU gabriel at vlasiu.net
Thu Apr 15 10:08:27 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 15 Apr 2010, Luc MAIGNAN wrote:

> I want to add a new disk (/dev/sdb1) to an existing VG.
> 
> Here what I've done :
> 
> * pvcreate /dev/sdb1
> * vgextend VolGroup00 /dev/sdb1
> * lvresize -l +20901 /dev/VolGroup00/LogVol00
> 
> (LogVol00 is mounted on /)
> 
> Then, when I make a 'lvdisplay' I saw the correct size of the volume 
> (sum of the old size plus the size of the new disk)
> 
> But a 'df -kh' always gives me the old size...
> 
> What's wrong ???
resize2fs - ext2/ext3/ext4 file system resizer
You need to resize your / fs.


Gabriel

- -- 

// Gabriel VLASIU
//
// OpenGPG-KeyID      : 0xE684206E
// OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E
// OpenGPG-URL        : http://www.vlasiu.net/public.key


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLxuWgeWrbH+aEIG4RAlnmAJ9GhpWOKnVYPOomir+opUCVZIY1wQCeMLv2
hliZf6kZ3pYbNXMqaqep0G8=
=jW/n
-----END PGP SIGNATURE-----


More information about the users mailing list