<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR><BR><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</STYLE>
Hi,<BR> <BR>Problem is that I don't  - the card will only refer to it in 2gb - but it could be actually 2tb as in 2 x 1024 x 1024 x 1024 x1024 bytes.<BR> <BR>I can extract this: <BR> <BR≯¶ÿ LVM2 x[5A%r0N*>           ð      <BR>      I      ¬Zí¾                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2terabytes {<BR>id = "ApBoL0-71Q4-e0yC-JyTI-cORC-8Yd1-Wgsf3M"<BR>seqno = 1<BR>status = ["RESIZEABLE", "READ", "WRITE"]<BR>extent_size = 8192<BR>max_lv = 256<BR>max_pv = 256<BR>physical_volumes {<BR>pv0 {<BR>id = "QADZl1-asMf-PyLf-EIw1-qLkv-ZbFI-2goQUD"<BR>device = "/dev/sdb1"<BR>status = ["ALLOCATABLE"]<BR>pe_start = 384<BR>pe_count = 524286<BR>}<BR>}<BR>}<BR># Generated by LVM2: Mon Apr 30 18:54:48 2007<BR>contents = "Text Format Volume Group"<BR>version = 1<BR>description = ""<BR>creation_host = "r" # Linux r 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686<BR>creation_time = 1177955688 # Mon Apr 30 18:54:48 2007<BR>                                                                                                                                                                                                                                                                                                                                                                                                                                                          2terabytes {<BR>id = "ApBoL0-71Q4-e0yC-JyTI-cORC-8Yd1-Wgsf3M"<BR>seqno = 2<BR>status = ["RESIZEABLE", "READ", "WRITE"]<BR>extent_size = 8192<BR>max_lv = 256<BR>max_pv = 256<BR>physical_volumes {<BR>pv0 {<BR>id = "QADZl1-asMf-PyLf-EIw1-qLkv-ZbFI-2goQUD"<BR>device = "/dev/sdb1"<BR>status = ["ALLOCATABLE"]<BR>pe_start = 384<BR>pe_count = 524286<BR>}<BR>pv1 {<BR>id = "lT0VrQ-uAur-IlZB-htso-Ezqf-nq95-YykdbX"<BR>device = "/dev/sdc1"<BR>status = ["ALLOCATABLE"]<BR>pe_start = 384<BR>pe_count = 12225<BR>}<BR>}<BR>}<BR># Generated by LVM2: Mon Apr 30 18:55:06 2007<BR>contents = "Text Format Volume Group"<BR>version = 1<BR>description = ""<BR>creation_host = "r" # Linux r 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686<BR>creation_time = 1177955706 # Mon Apr 30 18:55:06 2007<BR>                                                                                                                                                                                                                                                                                                                    2terabytes {<BR>id = "ApBoL0-71Q4-e0yC-JyTI-cORC-8Yd1-Wgsf3M"<BR>seqno = 3<BR>status = ["RESIZEABLE", "READ", "WRITE"]<BR>extent_size = 8192<BR>max_lv = 256<BR>max_pv = 256<BR>physical_volumes {<BR>pv0 {<BR>id = "QADZl1-asMf-PyLf-EIw1-qLkv-ZbFI-2goQUD"<BR>device = "/dev/sdb1"<BR>status = ["ALLOCATABLE"]<BR>pe_start = 384<BR>pe_count = 524286<BR>}<BR>pv1 {<BR>id = "lT0VrQ-uAur-IlZB-htso-Ezqf-nq95-YykdbX"<BR>device = "/dev/sdc1"<BR>status = ["ALLOCATABLE"]<BR>pe_start = 384<BR>pe_count = 12225<BR>}<BR>}<BR>logical_volumes {<BR>2TBData {<BR>id = "Kki2Ar-91IF-IueI-GN62-jD6o-Yl0V-hq5Y3A"<BR>status = ["READ", "WRITE", "VISIBLE"]<BR>segment_count = 2<BR>segment1 {<BR>start_extent = 0<BR>extent_count = 524286<BR>type = "striped"<BR>stripe_count = 1 # linear<BR>stripes = [<BR>"pv0", 0<BR>]<BR>}<BR>segment2 {<BR>start_extent = 524286<BR>extent_count = 12225<BR>type = "striped"<BR>stripe_count = 1 # linear<BR>stripes = [<BR>"pv1", 0<BR>]<BR>}<BR>}<BR>}<BR>}<BR># Generated by LVM2: Mon Apr 30 18:57:56 2007<BR>contents = "Text Format Volume Group"<BR>version = 1<BR>description = ""<BR>creation_host = "r" # Linux r2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686<BR>creation_time = 1177955876 # Mon Apr 30 18:57:56 2007<BR> <BR><BR>What should i expect to find on the second PV? (50gb) - there is only 800gb in the total volume - so I wouldn't expect to find any data on it, but should there be any "header information" at the start of the drive?<BR>When i seek to the 2tb byte in the virtual image file - its blank -  no evidence of any data - is this normal?<BR><BR>Robin<BR>
<HR id=EC_stopSpelling>
<BR>> Date: Sun, 5 Oct 2008 21:58:11 +0200<BR>> From: marki@marki-online.net<BR>> To: linux-lvm@redhat.com<BR>> Subject: Re: [linux-lvm] Help with LVM reconstruction<BR>> <BR>> Hi Robin,<BR>> <BR>> Sunday, October 5, 2008, 21:09:56, Robin Thompson wrote:<BR>> <BR>> > In short the data is intact, and I have found a program called RAID<BR>> > Reconstructor that will produce an image file of the RAID 5 arrays.<BR>> > This will be hopefully 2.05tb file.<BR>> > <BR>> > I've read that I can use losetup and vgscan to create LVM from 2<BR>> > image files. But i'm unsure of how to proceed with when i have only<BR>> > one file which is combination of both.<BR>> > <BR>> > Anyone out there any advice or help?<BR>> <BR>> I have used losetup few times when doing tests with LVM. Your problem<BR>> is that you have 2 PVs in 1 file (if I understand it correctly). If<BR>> you know the exact size in bytes of the 2tb PV, then you can use dd to<BR>> skip those 2tb and copy only the last 50gb into different file. Then<BR>> truncate the original to 2tb (or copy first 2tb).<BR>> Then you should have 2 files with your 2 PVs. But think of (or test)<BR>> any headers that could be in the begining of those files (for example<BR>> partition table and only inside partition there is PV).<BR>> But generally, it should be possible to use those files as PVs.<BR>> <BR>> -- <BR>> bYE, Marki<BR>> <BR>> <BR>> _______________________________________________<BR>> linux-lvm mailing list<BR>> linux-lvm@redhat.com<BR>> https://www.redhat.com/mailman/listinfo/linux-lvm<BR>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/<BR><BR><BR>
<HR>
Win £3000 to spend on whatever you want at Uni! <A href="http://clk.atdmt.com/UKM/go/111354032/direct/01/" target=_blank>Click here to WIN!</A> <br /><hr />Try Facebook in Windows Live Messenger! <a href='http://clk.atdmt.com/UKM/go/111354030/direct/01/' target='_new'>Try it Now!</a></body>
</html>