Windows setup raid 0 partitions not showing up right in linux

From: gargle (gargle_at_none.com)
Date: 06/30/05


Date: Thu, 30 Jun 2005 05:55:43 GMT

Hi all,
        I recently installed two WD 80GB SATA drives on a new system and
created a raid 0 array from them, from which I created two partitions
with the windows xp setup program. I installed Linux on the main IDE
drive separate from this. Now I can't get Linux (mdadm) to properly
detect that raid setup.

/proc/partitions reports the following:
major minor #blocks name
    3 0 78150744 hda
    3 1 76662148 hda1
    3 2 1 hda2
    3 5 1485981 hda5
  254 0 76662148 dm-0
  254 1 1485981 dm-1
    8 0 78150744 sda
    8 1 43005973 sda1
    8 2 1 sda2
    8 16 78150744 sdb

/dev/sda and sdb are the drives obviously, and sda1 and sda2 are the
start of my partitions (sda1 blocks is actually correct, sda2 blocks
obviously not).

A quick examine with "mdadm -E /dev/sda1" responds "mdadm: no RAID
superblock on /dev/sda1". Obviously b/c they were made with windows setup.

"mdadm -A /dev/md0 /dev/sda /dev/sdb" will cause mdadm to assemble a
single partition out of the whole devices, sda and sdb, and it will
report them working just fine. But I can't mount that since it's not
really a working file system.

My question of course is how do I detect and mount my partitions without
repartitioning / destroying them in some way? Any suggestions would be
very appreciated at this point.

Thanks,
        Ryan

More stuff:
AMD Athlon 64 3200+
ASUS A8N-SLI D motherboard
Silicon Image 3114 hardware RAID controller
Ubuntu AMD64 install

"mdadm -E /dev/sda", etc.
/dev/sda:
           Magic : a92b4efc
         Version : 00.90.01
            UUID : d7c87995:bc0950b3:766126b8:b07bce88
   Creation Time : Sun Jun 26 20:30:12 2005
      Raid Level : raid0
     Device Size : 78150656 (74.53 GiB 80.03 GB)
    Raid Devices : 2
   Total Devices : 2
Preferred Minor : 0

     Update Time : Sun Jun 26 20:30:12 2005
           State : active
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0
        Checksum : ee021c52 - correct
          Events : 0.2

      Chunk Size : 64K

       Number Major Minor RaidDevice State
this 0 8 0 0 active sync /dev/sda

    0 0 8 0 0 active sync /dev/sda
    1 1 8 16 1 active sync /dev/sdb

/dev/sdb:
           Magic : a92b4efc
         Version : 00.90.01
            UUID : d7c87995:bc0950b3:766126b8:b07bce88
   Creation Time : Sun Jun 26 20:30:12 2005
      Raid Level : raid0
     Device Size : 78150656 (74.53 GiB 80.03 GB)
    Raid Devices : 2
   Total Devices : 2
Preferred Minor : 0

     Update Time : Sun Jun 26 20:30:12 2005
           State : active
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0
        Checksum : ee021c64 - correct
          Events : 0.2

      Chunk Size : 64K

       Number Major Minor RaidDevice State
this 1 8 16 1 active sync /dev/sdb

    0 0 8 0 0 active sync /dev/sda
    1 1 8 16 1 active sync /dev/sdb



Relevant Pages

  • Re: [SLE] SUSE 9.0, software RAID, and booting
    ... > have to establish the RAID after the initial setup. ... > raid tools to create the mirror, update my fstab and lilo.conf and reboot. ... I suppose it means going to expert mode in yast, create custom partitions, ...
    (SuSE)
  • Raid 0 partitions?
    ... this working in a Raid 0 setup, and one of the hard drives dies, do I ... Can I even use partitions in Raid 0? ...
    (comp.sys.mac.system)
  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)
  • RE: RAID gotchas!
    ... Subject: RAID gotchas! ... Well I converted my single disk system last night into a dual disk ... My partitions were laid out as follows: ...
    (Fedora)
  • Re: Migrating to Raid
    ... >> a RAID Mirroring environment. ... >mirroring in each OS so that it mirrored its own partitions... ... uses FC4 as a file server, one uses SUSE as a web server, and one is ... planning on upgrading to Win 2003 SBS from their existing NT4 setup. ...
    (alt.os.linux.suse)