Re: Can I create a PV that only uses a portion of a partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Mar 2008, Bryn M. Reeves wrote:

> > creating multiple PV on the same disk makes no sense.
> > if you were to do this you could well do without LVM and avoid the
> > hassle.
> 
> Not necessarily; Lionel could have perfectly valid reasons for wanting
> to have multiple volume groups on the same disk.

I commonly use multiple PVs.  This wastes a little space, but it allows me to
do things like:

o Use md raid1 mirroring with smaller (20-30G) pieces that need syncing.
  Very important on systems where md driver can't remember its sync
  status between reboots.

o Rearrange PVs while operating by creating, syncing and removing md raid1
  mirrors.

Granted, these should be replaced with LVM mirroring and pvmove.  But
LVM mirroring doesn't seem to be mainstream with rhel5, and pvmove doesn't
seem as trustworthy as a result (since it depends on temporary mirroring
to move LVs while operating).

Also, when upgrading a system with LVM1 to LVM2, I prefer to create
a new VG and when committed to new OS, move LVs and incorporate PVs
of old VG.  Although I've also just created an LVM1 LV for new OS, I'm
then left with a LVM1 VG, and I'm afraid to run the convert. :-)

-- 
	      Stuart D. Gathman <stuart@bmsi.com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux