Unix Technical Forum

LVM pvg

This is a discussion on LVM pvg within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> hello using lvm in hp ux. i needed to extend a logical volume in a vg so i've created ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:58 PM
hkgf7@yahoo.com
 
Posts: n/a
Default LVM pvg

hello

using lvm in hp ux. i needed to extend a logical volume in a vg so
i've created a pvg updating the lvmpvg than i have extended the
volume. After the volume is extended can i delete the entry in the
lvmpvg?
thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:58 PM
Kilgaard
 
Posts: n/a
Default Re: LVM pvg

<hkgf7@yahoo.com> wrote in message
news:1144958122.455577.192500@e56g2000cwe.googlegr oups.com...
> hello
>
> using lvm in hp ux. i needed to extend a logical volume in a vg so
> i've created a pvg updating the lvmpvg than i have extended the
> volume. After the volume is extended can i delete the entry in the
> lvmpvg?
> thanks


Yes you can, provided you are not using auto-sparing, and even then you
probably can, but *WHY*? Why do you want to delete the entry in the lvmpvg
file?

PVGs are normally used during LV creation or extension to:
1) Ensure that mirrors are created on a separate set of disks (separate
enclosure, separate SCSI bus, etc)
2) Restrict the set of disks that a striped (extent based) LV will be
allocated on.

Is both cases it is only when the LV actually allocates the Physical Extents
(PEs), which is during the lvcreate or lvextend commands. Once the LV is
fully created then LVM does not (normally) care about the lvmpvg file.

The exception to the above is if you are using auto-sparing, in which case
the Spare Disk(s) should be in the same PVG as the disks that they are
acting as spare for. If you remove all PVG info, and set the LV to a non-PVG
allocation policy then you could use a generic pool of spares.

However, IMHO it is good practice to leave the entries in the lvmpvg, not
only as a form of documentation, but also to assist recovery when you have a
disk failure.

PS: The use of LVM based auto-sparing seems very uncommon. Many HP Engineers
seem unfamiliar with the technology.


*** Posted via a free Usenet account from http://www.teranews.com ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com