[linux-lvm] Are there problems with same VG on same hard disk?

Patrick Caulfield caulfield at sistina.com
Wed Apr 9 07:42:01 UTC 2003


On Wed, Apr 09, 2003 at 02:36:06PM +0200, Kai Weber wrote:
> On Wed, Apr 09, 2003 at 01:32:43PM +0200, Anders Widman wrote:
> 
> > Why  would  you want to do that? One of the major benefits with LVM is
> > that  you  do  not have to divide your physical disks into partitions,
> > but  to  do  that through LVM. Also, performance-wise it is not a good
> > idea to do what you suggested.
> 
> I have removed Windows from a partition. So it is now empty and could be
> used an included in the VG. If it's possible to resize the partitions...
> 
> /dev/hda7          1923      2520   4803403+  8e  Linux LVM
> /dev/hda8          2521      3198   5446003+  8e  Linux LVM
> /dev/hda9          3199      9729  52460226   8e  Linux LVM
> 
> /dev/hda7 is VG system, /dev/hda9 is VG data and /dev/hda8 the new and
> empty partition. I have no space to backup /dev/hda9 for merging hda8
> and hda9. There seems to be no "pvresize" for LVM1.
> 

Sounds perfectly reasonable to me, that's pretty much what I have, though
without the shame of previously having windows on the machine :-)

  PV /dev/sda7   VG vg00   lvm1 [20.00 GB / 0    free]
  PV /dev/sda8   VG vg00   lvm1 [9.89 GB / 0    free]
  PV /dev/sdb1   VG vg00   lvm1 [34.18 GB / 3.18 GB free]

...and yes, I swap to an LV too...

patrick





More information about the linux-lvm mailing list