[Software Raid] mdadm error

Pagina: 1
Acties:

  • eth0
  • Registratie: Mei 2002
  • Laatst online: 15-09-2025
Ik heb 2 de zelfde disken van 20GB, nu wil ik hier 3 raid 1 partities en een raid 0 partitie hebben. Hier ie niets vreemds aan. Heb ik wel eens vaker gedaan.

Maar als /dev/md1 aan wil maken krijg ik deze fout. En ik kom er niet uit wat er nou fout is.
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
Dit is mijn partitie indeling van hda en hdc, deze zijn exact gelijk.
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
En hier de nu actieve raid devices.
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>
Weet iemand wat de oorzaak kan zijn waarom mdadm zegt dat hda2 en hdc2 to small zijn met 1k?