Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I had to move data from one HDD to another. So in existing LVM I extended it with new HDD. Moved from one to another hdd. Was fine but after restart LVM disappeared. I can see only partition LVM (pvdisplay, lvdisplay, vgdisplay show empty). No lucky recovering it. So can i use pvcreate (i don't have a backup data or uuid) and somehow get logical volumes with data?
I tried with testdisk and others with no good lucky.
So UUID are :
Where /dev/myPVpart is the physical-volume of the volume-group. It could be /dev/sda2, sdb1, sdc, ..., ...
Then you could use less or strings (or similar) to grab the LVM2 metadata text from it and identify how the LVs were structured. If you are not able to bring the LV(s) up (activate) using the available LVM binaries, with the metadata you should be able to manually reassemble the LV(s) using device-mapper (dmsetup) directly to recover any data not yet overwritten as long as all the segments are available.
I have read this thread and saw that rayfordj had some interesting insight into lvm recovery.
I have a similar problem (http://ubuntuforums.org/showthread.php?t=2128504) and would like to know if anyone can tell me if and how I could use dmsetup in order to recover data?