Re: MDADM Software Raid Woes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dylan Taft
Date: Wednesday, December 17, 2008 - 11:16 pm

Ok...this is really bad.  I just lost data...

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa6caa6dd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          63      506016   fd  Linux raid autodetect
/dev/sda2              64        3711    29302560   fd  Linux raid autodetect
/dev/sda3            3712        3836     1004062+  fd  Linux raid autodetect
/dev/sda4            3837      121601   945947362+  fd  Linux raid autodetect


cat /proc/mdstat
Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md1 : active raid0 sdb2[1] sda2[0]
      58604928 blocks 64k chunks

md2 : active raid0 sdb3[1] sda3[0]
      2007936 blocks 64k chunks

md3 : active raid0 sdb4[1] sda4[0]
      1891894528 blocks 64k chunks

md0 : active raid1 sdb1[1] sda1[0]
      505920 blocks [2/2] [UU]

md3 is huge according to mdstat, like it's supposed to be.
Fdisk says it's md3: 29.0 GB, 29011435520 bytes
I did a mkfs.ext3 on it, and it's now a 30gb filesystem, which
methinks is part of md1...which is supposed to be 2 30 gb raid0
partitions, so I probably just lost data....?

The booting issue I was able to resolve by reading md.txt in
Documentation, apparently the md kernel option is required if you're
using raid for a root partition....

Is this raid array autodetection supposed to work like this, though?

Thanks

On Wed, Dec 17, 2008 at 11:33 PM, Dylan Taft <d13f00l@gmail.com> wrote:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MDADM Software Raid Woes, Dylan Taft, (Wed Dec 17, 9:33 pm)
Re: MDADM Software Raid Woes, Dylan Taft, (Wed Dec 17, 11:16 pm)
Re: MDADM Software Raid Woes, Nick Andrew, (Wed Dec 17, 11:56 pm)
Re: MDADM Software Raid Woes, Dylan Taft, (Thu Dec 18, 6:08 am)