RAID1 or LVM quesiton

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Mon Aug 16 17:16:36 EDT 2010


On 08/16/2010 04:38 PM, Ian Levesque wrote:
> On Aug 16, 2010, at 3:53 PM, Jerry Feldman wrote:
>
>  =20
>> I resinstalled RHEL 5.3 and now I need to recover the volume
>> group and logical volumes. I tried vgchange, vgscan and pvscan with no=

>> results.=20
>>    =20
> what does `pvscan -v` tell you?
>
>
>  =20
>> The partitions on both /dev/sdb and /dev/sdc are Linux LVM (8e).
>>    =20
> Then it's not a software RAID (otherwise you'd have formatted them 'fd'=
).
>
>  =20
Actually it is:
[gaf at boslc06 ~]$ sudo mdadm -q /dev/sdb1
/dev/sdb1: is not an md array
/dev/sdb1: device 1 in 2 device undetected raid1 /dev/md0.  Use mdadm
--examine for more detail.
[gaf at boslc06 ~]$ sudo mdadm --examine /dev/sdb1
/dev/sdb1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 6ffb4ea1:dc3059bf:dcf24f7e:390719ee
  Creation Time : Tue Jan 19 13:29:50 2010
     Raid Level : raid1
  Used Dev Size : 1953514496 (1863.02 GiB 2000.40 GB)
     Array Size : 1953514496 (1863.02 GiB 2000.40 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Thu Aug  5 16:42:36 2010
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 1771c21b - correct
         Events : 0.8


      Number   Major   Minor   RaidDevice State
this     1       8       33        1      active sync   /dev/sdc1

   0     0       8       17        0      active sync   /dev/sdb1
   1     1       8       33        1      active sync   /dev/sdc1

I think I can move forward from here.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list