Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] pvvolume extension on the same part.
@ 2002-04-23  9:26 Donaldson, Leslie
  2002-04-23 11:47 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Donaldson, Leslie @ 2002-04-23  9:26 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'; +Cc: 'donaldlf@cs.rose-hulman.edu'

Hello,
  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.)

Leslie D.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] pvvolume extension on the same part.
  2002-04-23  9:26 [linux-lvm] pvvolume extension on the same part Donaldson, Leslie
@ 2002-04-23 11:47 ` Andreas Dilger
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Dilger @ 2002-04-23 11:47 UTC (permalink / raw)
  To: Donaldson, Leslie
  Cc: 'linux-lvm@sistina.com',
	'donaldlf@cs.rose-hulman.edu'

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-23 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-23  9:26 [linux-lvm] pvvolume extension on the same part Donaldson, Leslie
2002-04-23 11:47 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox