[linux-lvm] pvvolume extension on the same part.

Andreas Dilger adilger at clusterfs.com
Tue Apr 23 11:47:03 UTC 2002


On Apr 23, 2002  07:26 -0700, Donaldson, Leslie wrote:
>   I am trying to set my personal computer using Raid-5 with LVM.
> My problem is the following... I created a device /dev/md4 with a 32 GB
> drive and then after bouncing data and drives around I grew  the drive
> to 48 GB drive.
> 
> what happened:
> 32 GB raid 5 created (/dev/md3)
> created lvm on 32 /dev/md3
> extended /dev/md3 to 48 GB (raidresize)
> 
> Question:
>   How to I get lvm to use the new 16GB of drive space
> without reinstalling LVM on the part. (I have data I would like to keep, 
> and it's the boot disk.)

In the most recent versions of the LVM user tools there is a "pvresize"
command which does what you want.

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/





More information about the linux-lvm mailing list