linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Oliver Schembach <oliver@schembach.de>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Recovering LVM configuration on crashed RAID partition
Date: Wed, 18 Jan 2006 15:13:12 +0100	[thread overview]
Message-ID: <43CE4CF8.8090709@schembach.de> (raw)

Hi,

I'm running 4 IDE disks in my home server using software raid with the 
following partition layout:

hd[abcd]1   /boot (RAID 1)
hd[abcd]2   swap (RAID 5)
hd[abcd]3   / (RAID 5)
hd[abcd]4   (RAID 5) LVM with logical volumes /data and /business

Now hdb crashed and while trying to recover the root partition (before I 
replaced the faulty disk) I lost all data in the root partition 
(including the whole /etc directory tree). So after replacing the defect 
drive I installed a linux on hda3 (with swap partion on hda2) for 
recovering purposes. I actually left the LVM RAID partition untouched 
until I replaced the defect drive. After resyncing the new drive into 
the LVM partition I tried to get access to the data in the logical 
volumes, but without success. There are no PVs, no VGs, or LVs listed.

GPART did not give any positive results, but listed four primary 
partitions with all 00s in it:
* Warning: strange partition table magic 0x0000.
Primary partition(1)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
   hex:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00

Primary partition(2)
...

vgscan gives:
  Reading all physical volumes.  This may take a while...

pvscan gives:
  No matching physical volumes found

lvdisplay gives:
  No volume groups found

Since I didn't do anything with the LVM RAID partition the logical 
volumes and the data must still be there!!!

Is there any other way to get access to the LVM partitions?

Thanks in advance!

Oliver 

             reply	other threads:[~2006-01-18 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 14:13 Oliver Schembach [this message]
     [not found] ` <1137600874l.12955l.0l@mofo>
2006-01-18 17:42   ` [linux-lvm] Recovering LVM configuration on crashed RAID partition Oliver Schembach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CE4CF8.8090709@schembach.de \
    --to=oliver@schembach.de \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).