> I configured sda3 and sdb3 to a raid 1(mirror) with no problem.
>
> Now I want to change the configuration to raid0,
> so I edit the /etc/raidtab file,
> issue mkraid --force /dev/md0,
> everything seems fine, but when "raidstart" and check the status,
> the raid is still running in old raid1.
Something is wrong here. mkraid automatically starts the raid, so running
"raidstart" afterwards should produce an error. Unless, of course, you ran
mkraid with a flag like --force which makes it not do very much.
"mkraid --force" exists primarily to warn you about doing
"mkraid --really-force"; it doesn't do much itself. I imagine you think you have
run mkraid, when all you have done is bring up a warning, so the raid remains
exactly as it was before, which would explain why raidstart succeeded, but
launched the array still in raid-1 mode.
Try "raidstart --really-force /dev/md0" and see if that makes a difference.
Cheers,
Bruno Prior [EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dong Hu
> Sent: 25 November 1999 22:26
> To: raid
> Subject: Could not change configuration.
>
>
> I am testing raid tools on linux and I have a problem.
>
> I have two same SCSI harddisk and have one same size
> partition on each harddisk, sda3 and sdb3.
>
> I configured sda3 and sdb3 to a raid 1(mirror) with no problem.
>
> Now I want to change the configuration to raid0,
> so I edit the /etc/raidtab file,
> issue mkraid --force /dev/md0,
> everything seems fine, but when "raidstart" and check the status,
> the raid is still running in old raid1.
>
> I just could not change the configuration to anything other than
> raid 1.
>
> kernel: 2.2.11 with patch raid0145-19990824-2.2.11.gz,
> raidtools: raidtools-19990824-0.90
>
> Any idea?
>
> Thanks,
> Dong Hu
>
>