The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RESTORE 4.0.9-1 (RESTORE-EE branch) iBot Software Releases - RSS News 0 01-31-2008 11:20 AM
RESTORE 4.0.8-1 (RESTORE-DC branch) iBot Software Releases - RSS News 0 01-29-2008 11:00 PM
RESTORE 4.0.5-1 (RESTORE-EE branch) iBot Software Releases - RSS News 0 01-26-2008 10:20 PM
RESTORE 4.0.3-1 (RESTORE-EE branch) iBot Software Releases - RSS News 0 01-10-2008 06:40 PM
Holonyx opens up RESTORE backup and recovery software - eChannelLine iBot UNIX and Linux RSS News 0 10-14-2007 08:40 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.50 average. Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-06-2008
Zburatorul Zburatorul is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 4
Question LVM restore / recovery

Hello,

I would really appreciate help on recovering some data.

I have a RAID1 array under /dev/md0 composed of devices /dev/sdb and /dev/sdc. I had lvm on the raid with 3 lv, the last of which was a snapshot partition.

My / is on /dev/sda. Recently, I reinstalled the system (Debian lenny) and reconfigured /dev/sda with lvm.
When I booted, the system correctly determined the presence of the RAID array and even activated it. All I had to do is import /dev/md0 back into the system.

However, out of stupidity, I ran

Code:
    # sudo pvcreate -v /dev/md0
    Set up physical volume for "/dev/md0" with 488396928 available sectors
    Zeroing start of device /dev/md0
  Physical volume "/dev/md0" successfully created
As it says, it overwrote the start of the device, the data is has not been affected. Now I don't know how to access the LVs on /dev/md0.

Does anyone have any suggestions on how to recover the information about the lvm volumes on the disk?

I do not have the backup file of the volume group on the raid, as I just reinstalled the system over it. Otherwise I would have just followed the instructions here.

Thank you in advance.
 

Bookmarks

Tags
lvm, pvcreate, raid, recover, restore

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0