Data Recovery Forums - Help & Discussions Forum Index

Data Backup Software
Data Recovery Forums - Help & Discussions
Free online data recovery guide to help you find the information you need to recover your data. Discuss and get help about data recovery in this forum.
Data Recovery | RAID Recovery | Laptop Data Recovery

 FAQsFAQs   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Data Recovery Software
ZFS Data recovery LVM...

 
Post new topic   Reply to topic    Data Recovery Forums - Help & Discussions Forum Index -> Data Recovery Services Laptop and PC Hard Drives


 
Author Message
gear2000



Joined: 03 Feb 2011
Posts: 1

PostPosted: Thu Feb 03, 2011 2:07 pm    Post subject: ZFS Data recovery LVM... Reply with quote

hi,

i'm in need of some help to recover data. please feel fre to give me any advice.

HOST OS: Centos 5.5 with Xen 3.4.3 with software RAID 1 and LVM on top of it.
GUEST OS: NexentaStor CE and Centos 5 Paravirtualization machines.

essentially, this is what happened:

1) Prior

ON HOST

/dev/md1 - software raid 1

lvm on top of /dev/md1 - contained several logical volumes.

2) What happened

ON GUEST

created a XEN VM of NexentaStor Community Edition on the HOST. Accidentally assigned /dev/md1 instead of /dev/md2.

nexenta create a zpool on top of /dev/md2. it didn't check on whether there was an existing linux lvm or anything.

i create 3 zfs filesystems on top of it.

ON HOST

i started copying files to the Nexentastor VM, and then my LVM's disppeared. it was writing on top of an existing LVM that wa
s being used. Once the ZFS encapsulated the /dev/md1 with GPT, linux couldn't read the LVM anymore.

3) NOW

i have /dev/md1 which still has the LVM information, but it's encapsulated into some GPT container. Nexenta did something to
it.

dd if=/dev/md1 bs=512 count=255 skip=1 of=/tmp/md1.txt

i looked at /tmp/md1.txt and it shows the lvm informmation along with some "binary" type headers intermixed throughout the file.

TRIEDsince it is a raid 1, i detached one member to serve as backup. i can "dd" it back to the original condition with the backup
copy of the mirror.

it looks like the original linux lvm which was directly on the top of the /dev/md1 (not a partition) is somewhat encapsulated
by what ZFS did with GPT.

i figure i need to remove the GPT and see if i can't get the LVM to be detected. right now, when i run pvscan, no volumes sho
w up. when i do an fdisk -l, it complains about not being able to read GPT.

4) HOPE

I just hope to recover what data I can. I wasn't sure if I should use testdisk or some other utility, or send it to some place to recover the data.

Gosh, I wished I didn't fat finger /dev/md1 instead of /dev/md2. Please any suggestion or direction would be very very appreciative.

Thanks,

Gary

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Data Recovery Forums - Help & Discussions Forum Index -> Data Recovery Services Laptop and PC Hard Drives All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Data Recovery London UK | Data Recovery Software

Powered by phpBB © 2001, 2005 phpBB Group