Somehow one of my hard drives got a raid header on it, causing it to
start automatically sometimes when not needed.  It's on /dev/hda, my
main system disk, which is not RAID at all.  Running mdadm -E /dev/hda I
get:

-----------------------
phoenix alan # mdadm  -E /dev/hda
/dev/hda:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 0feab44f:a7f9e0ef:ef5b4af3:58c56a79
  Creation Time : Wed Mar  1 22:20:42 2006
     Raid Level : raid1
  Used Dev Size : 77900672 (74.29 GiB 79.77 GB)
     Array Size : 77900672 (74.29 GiB 79.77 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Wed Mar  1 22:25:43 2006
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 35f4ee48 - correct
         Events : 0.4


      Number   Major   Minor   RaidDevice State
this     0     253        2        0      active sync   /dev/mapper/sda1

   0     0     253        2        0      active sync   /dev/mapper/sda1
   1     1     253        3        1      active sync   /dev/mapper/sdb1
phoenix alan # 
-----------------------

The other disks in the array (sda and sdb) are two SCSI disks which are
currently unused, but have some raid partitions on them (mostly used for
playing with other distros).

It also looks like my system is confusing /dev/hda and /dev/sda or
something?  Maybe this is caused by using evms?  All I know is when I
installed ubuntu on the SCSI disks to play around I found that it
wouldn't install properly because after partitioning the disks it had a
RAID device already up and running, which turned out to be /dev/hda in a
RAID1 with a second device missing.

None of the partitions on the disk are marked as type raid-autodetect
either.  I'm hoping that there's a magic offset that I can dd /dev/zero
to to knock the raid header off without nuking my system disk.

Thanks.

Alan


-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net
--------------------------------------------------------------------
"Backups are for people who don't pray."                 -- big Mike
-- 
gentoo-user@gentoo.org mailing list

Reply via email to