[software raid] mdadm error

From: Phantagom (phantagom_at_hotmail.com)
Date: 01/30/05


Date: Sun, 30 Jan 2005 19:32:19 +0100

Hi,

I am creating a raid1 partition, but i get this error:

nfsroot:/opt/boot# mdadm --create --verbose /dev/md1 --level=1
--raid-disks=2 /dev/hda2 /dev/hdc2
mdadm: chunk size defaults to 64K
mdadm: /dev/hda2 is too small: 1K
mdadm: /dev/hdc2 is too small: 1K
mdadm: create aborted

What does it mean, and how can i fixit?

My disk configs:

Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes

    Device Boot Start End Blocks Id System
/dev/hda1 1 7750 3905968+ fd Linux raid autodetect
/dev/hda2 7751 9688 976752 fd Linux raid autodetect
/dev/hda3 9689 19376 4882752 fd Linux raid autodetect
/dev/hda4 19377 38792 9785664 fd Linux raid autodetect

Disk /dev/hdc: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes

    Device Boot Start End Blocks Id System
/dev/hdc1 1 7750 3905968+ fd Linux raid autodetect
/dev/hdc2 7751 9688 976752 fd Linux raid autodetect
/dev/hdc3 9689 19376 4882752 fd Linux raid autodetect
/dev/hdc4 19377 38792 9785664 fd Linux raid autodetect

nfsroot:/opt/boot# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md3 : active raid0 hdc4[1] hda4[0]
       34681088 blocks 64k chunks

md2 : active raid1 hdc3[1] hda3[0]
       512000 blocks [2/2] [UU]

md0 : active raid1 hdc1[1] hda1[0]
       1536064 blocks [2/2] [UU]

unused devices: <none>



Relevant Pages