I started this morning with RAID :-)

20 minutes later I had a raid device running as nitwit, compliments,compliments.
I got greedy, and wanted to create a 3-disk raid0 device to install redhat on, and
the first problems turned up.

1 I started by modifying redhat bootdisk with a MD0 capable 2.2.5 kernel. 
2 Booted from it (bootdisk, the rescue-root disk)
3 mounted the only partition in the machine not to become part of the raid (the future 
 swap part.), installed some raid tools on them. 0.9 btw.
4 mknod /dev/md0 b 9 0
5 chmod 600 /dev/md0 
6 raidttab to /etc/raidtab, containing the standard raid0 example expanded to 3 disks.
 (p.s. the errormessage if you try to create a three disc array with number 0,1,1 is a 
bit cryptic, 
  took me 30 minutes before I figured it out)
7 /mnt/image/mkraid /dev/md0 --really.force

5 sec warning message, and then  the following message (which I couldn't pipe, because 
of bootdisk bash?)
roughly retyped:

Handling md device md0
analysing superblock
disk 0: /dev/hda1 xxxk superblock at (xxx-12)k
disk 1: /dev/hdc1
disk 2: /dev/hdd1

bind<hda1,1>
bind<hdc1,2>
bind<hdd1,3>
hdd1's event counter 00000000
hdd1's event counter 00000000
hdd1's event counter 00000000
md: md0: raid array is not clean -- starting background reconstruction:

unbind (hda1,1)
export_rdev(hda1)
unbind (hdc1,2)
export_rdev(hda1)
unbind (hdd1,3)
export_rdev(hda1)
md0 stopped
/dev/md0 no such device

---

Remarks:

1 hdc1 and hdd1 were used to create the first experimental raiddevice.
 Both partitions were removed, recreated and  mke2fs'ed to avoid problems.
2 Watch the bind and unbind calls. This is no typo. The numbers for the unbind calls
 are 1 higher than the bind calls.


Any suggestions?????

(p.s. mail to me directly, or how does subscribing work for this list?)
Marco van de Voort ([EMAIL PROTECTED])
<http://www.stack.nl/~marcov/xtdlib.htm>

Reply via email to