Hi Martin,
When I changed to "failed-disk 1" it works, even if I have to use the
undocumented special force. Thank you for your help!
Now my /proc/mdstat says:
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 hda1[0] 64128 blocks [2/1] [U_]
unused devices: <none>
I have some other questions:
How do I interprete the /proc/mdstat information (I understand
personalities, but the rest)?
At what point should I change to auto-detect filesystem tag? Before or
after I have put a filesystem on md0 and before or after I have started to
run the raid in non-degraded mode?
To change boot device from /dev/hdc1 to /dev/md0 I guess that I use rdev to
update the kernel (I'm booting from a floppy for the moment - make zdisk).
What is a recommended chunk-size for partitions in this sizes:
# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdc1 62193 18247 40735 31% /
/dev/hdc3 124443 33999 84018 29% /var
/dev/hdc5 62193 13 58969 0% /tmp
/dev/hdc6 616636 154956 430356 26% /usr
/dev/hdc7 5233940 201492 4766576 4% /opt
Thanks once more!
_\\|//_
(-0-0-)
/-------------------------------ooO-(_)-Ooo------------------------------\
| Magnus Sandberg Email: [EMAIL PROTECTED] |
| Network Engineer, BlueLabs AB http://www.bluelabs.se/ |
| Phone: +46-8-470 2155 (FAX: +46-8-470 2199) GSM: +46-708-225 805 |
\------------------------------------------------------------------------/
|| ||
ooO Ooo
----- On 11th of July 2000 Martin Bene wrote; -----
Hi Magnus,
> # mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> raid_disk conflict on /dev/hda1 and /dev/hdc1 (0)
That's the hint where the problem is :-)
> mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
> I have tried different config in /etc/raidtab, but for the moment it
> looks like:
>
> # cat /etc/raidtab
> raiddev /dev/md0
> raid-level 1
> nr-raid-disks 2
> nr-spare-disks 0
> chunk-size 4
> persistent-superblock 1
> device /dev/hda1
> raid-disk 0
> device /dev/hdc1
> failed-disk 0
>
>
> Can anyone help me out, both with this problem and to add me to the
> maillist?
Error in your raidtab file; you're defining disk 0 twice and aren't defining
disk 1; make it failed-disk 1 and it should work.
The file above will overwrite /dev/hda1 and will keep /dev/hdc1 unchanged.
is this what you intended?
Bye, Martin
PS: don't know about the list config, sorry