[HPADM] extending a VG with larger volumes using LVM

Phillips_Sean_at_emc.com
Date: 04/27/05

  • Next message: Phillips_Sean_at_emc.com: "[HPADM] SUMMARY: extending a VG with larger volumes using LVM"
    To: hpux-admin@dutchworks.nl
    Date: Tue, 26 Apr 2005 23:30:15 -0400
    
    

    Gurus,
     
    Postings in the archives seem to indicate that LVM may have 'issues' when
    extending a VG with larger PV's than it's presently configured with.
     
    In my case, we have 4x12gb LUNs. We want to add 3x68gb LUN's as a mirror
    during a migration, and eventually expand the LV's on the remaining PE's.
    Here's the preliminary plan:
     
    1. Existing disks are /dev/dsk/c4t1d1 /dev/dsk/c4t1d2 /dev/dsk/c4t1d3
    /dev/dsk/c4t1d4
     
    2. # vgextend vg01 /dev/dsk/c1t1d1 /dev/dsk/c1t1d2 /dev/dsk/c1t1d3
     
    3. # lvextend -m 1 /dev/vg01/lv01 /dev/dsk/c1t1d1 /dev/dsk/c1t1d2
    /dev/dsk/c1t1d3
     
    4. ....wait....until....mirrored....then...
     
    5. # lvreduce -m 0 /dev/vg01/lv01 /dev/dsk/c1t1d1 /dev/dsk/c1t1d2
    /dev/dsk/c1t1d3
     
    6. Remove the original disks--> # vgreduce /dev/vg01 /dev/dsk/c4t1d1
    /dev/dsk/c4t1d2 /dev/dsk/c4t1d3 /dev/dsk/c4t1d4
     
    The real question is whether or not there truly is an issue when extending
    VG's with larger volumes?
     
     
    Thanks,
    Sean

    --
                 ---> Please post QUESTIONS and SUMMARIES only!! <---
            To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
           Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
     
     Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
                http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)
    

  • Next message: Phillips_Sean_at_emc.com: "[HPADM] SUMMARY: extending a VG with larger volumes using LVM"