Mounting an LVM disk

Weiner, Michael weinerm at ccf.org
Mon May 24 13:08:49 CDT 2010


Bond - 

Thank you once again for your insightful response. I will dig a bit and
see what I can come up with using your suggested approaches.

Michael

-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Bond Masuda
Sent: Monday, May 24, 2010 1:56 PM
To: 'J. Epperson'; linux-poweredge at dell.com
Subject: RE: Mounting an LVM disk

> If your disk were intact, yeah, you should be able to vgimport the
> volume
> group and mount it.  But the partition table results you're seeing are
> consistent with someone trying to clone a 1Tb disk to a 2Tb one and
> getting the source and target mixed up, overwriting the partition
table
> on
> the 1Tb with the table from the 2Tb.  In which case, fuhgeddaboudit .

well, actually, if the data portion is untouched, if one can guess or
restore the partition table, everything should be just fine. if the
partition table has gotten corrupted, mistakenly overwritten, etc., I
would
make a 'dd' image of it and mess with the image or copy of the image.

there is also 'gpart', which can scan and try to guess what the
partition
table was originally.

you might need to figure out if the entire 1tb disk (/dev/sdc) was used
as a
LVM2 PV, or if the disk was a single partition (/dev/sdc1) marked as
'lvm'
and the partition was used as a PV. if the former, you don't need to
worry
much about the partition table.

-Bond

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq


===================================

P Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2009).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.




More information about the Linux-PowerEdge mailing list