<div>Hi all,</div>
<div> </div>
<div>I ran onto a similar problem when trying to create a LV where the ramdisk PV came FIRST. It wouldn't do it even though I ordered it first in the list. So what I had to do was create a VG out of the first PV alone, and the LV on it, and then keep adding PV to VG and extend the LV. That resulted in a determinate ordering.</div>

<div> </div>
<div>If the composite VG already exists, the only technique I know is to search or even write characteristic data patterns in the LV and also in all the PVs, thus determining offsets :-(</div>
<div> </div>
<div>Larry Dickson<br>Cutting Edge Networked Storage<br> </div>
<div><span class="gmail_quote">On 5/22/08, <b class="gmail_sendername">R Ramkumar</b> <<a href="mailto:rramkumar@novell.com">rramkumar@novell.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Hi,<br><br>I have a LVM setup where I have a VG with 3 PVs.. I have created 2 LVs from the VG which eventually has taken physical storage space from one or two of the PVs.. Now, when I want to shrink the VG, I need to know the unallocated PV so that I can remove from the VG..<br>
<br>Is there anyway that I can find out which PV is unallocated and which PV to remove from the VG.. Please let me know your views..<br><br>Thanks,<br>Ram<br><br><br>_______________________________________________<br>linux-lvm mailing list<br>
<a href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</blockquote></div><br>