Am Samstag, 3. November 2007 schrieb ext Daniel Rose:
> Hi everyone,
>
> I have an LVM comprising 2 partitions on a drive I wish to read data
> from, and I have a 'main' file from somewhere in /etc/lvm from that old
> drive:
>
>
> main {
>         id = "em7z2K-GhvB-mpW4-YNjE-SiZ7-zia2-PIObh2"
>
> [...]
>         physical_volumes {
>
>                 pv0 {
>                         id = "6oVVgd-WIVK-qB0y-PXk2-Acu5-ZxcI-gMj5JD"
>                         device = "/dev/md2"     # Hint only
>                         status = ["ALLOCATABLE"]     # 74.4062 Gigabytes
>                 }
>         }
>
>         logical_volumes {
>                 root {
>                         id = "Cu9udo-QFcL-72XW-G1OU-1sQA-giBa-WASzs2"
>                         status = ["READ", "WRITE", "VISIBLE"]  #
> 74.125Gigabytes }
>                 }
>
>                 swap {
>                         id = "aM7Jm4-QfMW-4y2c-zCv3-0O6f-CVzz-P3Ebg4"
>                         status = ["READ", "WRITE", "VISIBLE"]        #256
> Megabytes }
>
> Anyway so the lone disk is in a separate box now:
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdd1   *           1          13      104391   fd  Linux raid
> autodetect
> /dev/hdd2              14        9729    78043770   fd  Linux raid
> autodetect
>
> As it turns out, I can run pvcreate and pvdisplay ok, but a second run
> of pvdisplay... and it's gone.  vgcreate always fails.
>
> Any ideas anyone?  I'm a little startled at how hard it seems to be to
> mount a 'foreign' LVM drive in Linux.

Looks like LVM is setup on top of a software RAID. Looks like you need to 
use the sw raid tools first to bring up the RAID set.

Bye...

        Dirk

-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to