<div dir="ltr">Thanks again Eric!<div><br></div><div>You're wright, I have 64 pv each one 500GB hdd. I have problems with my pv starting by pv0 until pv23, I had seen after dd lvm doesn't recognize the devices of these pvs, status "unknown device", others devices I don't have the same problem. I cut this output from dd of hdisk plt-85 = pv64</div><div><br></div><div>Device with problem</div><div><br></div><div>-----</div><div><div><br></div><div>pv0 {</div><div>id = "N7lOu9-Ahjn-lf19-WVFW-xglN-yfL6-KOOw6O"</div><div>device = "unknown device"</div><div><br></div><div>status = ["ALLOCATABLE"]</div><div>flags = ["MISSING"]</div><div>dev_size = 1048576000</div><div>pe_start = 2048</div><div>pe_count = 127999</div><div>}</div></div><div><br></div><div>-----</div><div><br></div><div>Device without problem</div><div><br></div><div>-----</div><div><br></div><div><div>pv24 {</div><div>id = "D8aEQf-2CVS-oyVE-t40G-kOd7-eUe5-SkCe8V"</div><div>device = "/dev/mapper/mpathr"</div><div><br></div><div>status = ["ALLOCATABLE"]</div><div>flags = []</div><div>dev_size = 1048576000</div><div>pe_start = 2048</div><div>pe_count = 127999</div><div>}</div></div><div><br></div><div>-----</div><div><br></div><div><br></div><div>But the output from another hdisk plt-01 = pv0 I have different view.</div><div><br></div><div>-----</div><div><br></div><div><div>pv0 {</div><div>id = "N7lOu9-Ahjn-lf19-WVFW-xglN-yfL6-KOOw6O"</div><div>device = "/dev/mapper/plt-01"</div><div><br></div><div>status = ["ALLOCATABLE"]</div><div>flags = ["MISSING"]</div><div>dev_size = 1048576000</div><div>pe_start = 2048</div><div>pe_count = 127999</div><div>}</div></div><div><br></div><div>-----</div><div><br></div><div>I'm getting crazy lol...</div><div><br></div><div>Thank you</div><div><br></div><div>Marcos Dutra</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-11 21:49 GMT-02:00 service hofman <span dir="ltr"><<a href="mailto:service.hofman@googlemail.com" target="_blank">service.hofman@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">----<br>
                pv64 {<br>
                        id = "TFSqaf-Wd6b-9w2r-8ZLp-rVN9-5851-0qNX0z"<br>
                        device = "/dev/mapper/plt-85"   # Hint only<br>
<br>
                        status = ["ALLOCATABLE"]<br>
                        flags = []<br>
                        dev_size = 1048576000   # 500 Gigabytes<br>
                        pe_start = 2048<br>
                        pe_count = 127999       # 499.996 Gigabytes<br>
                }<br>
        }<br>
<br>
----<br>
<br>
pvXX this is One for Team or for [hdd] /dev/sdX<br>
this look like you have 64hdd for 500Gb one.<br>
<br>
and first look MBR 0-2Mb<br>
<br>
dd if=/dev/sdX of=/boot/sdX.mbr bs=512 count=4000<br>
<br>
in side  sdX.mbr is <a href="http://lvm.vg" target="_blank">lvm.vg</a><br>
if is this same [ <a href="http://platinum_after_missing.vg" target="_blank">platinum_after_missing.vg</a> ]<br>
<br>
you found all record /etc/lvm/*<br>
<br>
rest is easy.<br>
<br>
device is inode, but not lv.<br>
[ -b "/dev/mapper/plt-01" ] && echo "True " || echo "False"<br>
<br>
-----<br>
<br>
        logical_volumes {<br>
<br>
                volume-a2d55040-a597-419b-95b6-403f5b287773 {<br>
                        id = "GA9jj9-hooD-Au8T-23Bw-LNox-LkWF-G1TUG6"<br>
                        status = ["READ", "WRITE", "VISIBLE"]<br>
                        flags = []<br>
                        creation_host = "brasilia"<br>
                        creation_time = 1409946331      # 2014-09-05 16:45:31 -0300<br>
                        segment_count = 1<br>
<br>
<br>
<br>
                        segment1 {<br>
                                start_extent = 0<br>
                                extent_count = 1024     # 4 Gigabytes<br>
<br>
                                type = "striped"<br>
                                stripe_count = 1        # linear<br>
<br>
                                stripes = [<br>
<br>
                                        "pv10", 30730<br>
                                ]<br>
                        }<br>
                }<br>
<br>
-----<br>
segment1 == lv like /dev/sdX1<br>
<br>
pv10==[hdd X],  offset[sdX1] == [  -->[xxx] ]<br>
but every one is start == 0[+offset]<br>
30730*4096=[offset]<br>
<br>
<br>
by recovery us dd if=/dev/sdX1 bs=4096 count=(1024*1000) seek=($offset)<br>
<br>
<br>
this not LVM only IBM LLVM<br>
LINUX use LVM. <a href="http://kernel.org" target="_blank">kernel.org</a><br>
IBM use AIX kernel<br>
<span class="im HOEnZb"><br>
<br>
<br>
ComputerAlarmTechnologySystem©<br>
<br>
<a href="http://plus.google.com/105013137826111836446" target="_blank">http://plus.google.com/105013137826111836446</a><br>
<a href="tel:%2B44%2077%2004%2024%2074%2000" value="+447704247400">+44 77 04 24 74 00</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<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" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a></div></div></blockquote></div><br></div>