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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| <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 *** |