> -----Original Message-----
> From: Jieming Wang [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 26, 2000 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: disk partiton type
>
> Hello there,
>
> I have 2 SCSI disks with the following configuration (running
> Redhat 6.0 with kernel 2.2.5-15):
>
> /etc/raidtab:
>
> raiddev /dev/md0
> raid-level 1
> nr-raid-disks 2
> nr-spare-disks 0
> chunk-size 4
>
> device /dev/sda1
> raid-disk 0
> device /dev/sdb1
> raid-disk 1
>
> When I run command mkraid /dev/md0, I receive the following errors:
>
> disk 0: /dev/sda1, 1028128kB, raid supperblock at 1028032kB
> /dev/sda1 appears to contain an ext2 filesystem -- use -f to override
> mkraid: abort.
>
> I also tried -f option and it didn't work either.
>
> So it seems that the disk partition type (ext2) was wrong?
>
> Any suggestions will be appreciated.
Try overwriting some of the data on /dev/sda1, maybe with something like 'dd
if=/dev/zero of=/dev/sda1' for a few seconds (30 should be more than
sufficient). Doing that WILL destroy the data on /dev/sda1, assuming that's
what you want to do. After you do that, mkraid shouldn't see the ext2
filesystem, and should blow away the data on those drives, letting you
create the RAID. Check out the Software-RAID-HOWTO from
http://www.linuxdoc.org/
Greg