Hi,

We have installed Redhat 6.0 E-Commerce Server on a Dell PowerEdge 2300
that has two SCSI2 9 gig hard drives.  This server does not have a hardware
Raid controller.

Using the Software-RAID.HOWTO.txt document contained in:
/usr/docs/raidtools-0.90 directory.  I upgraded to raidtools-0.90-4 and
also upgraded to kernel 2.2.5-22

The output from /proc/mdstat is:
Personalities:
read_ahead not set
unused devices: <none>

The instructions say that it should tell me that I have the right RAID mode
registered and that No RAID devices are active but it doesn't show this.
On bootup it does show some information on RAID as well as automount.

I created the following in my /etc/raidtab file:

raiddev /dev/md0
        raid-level     1
        nr-raid-disks  2
        nr-spare-disks 0
        chunk-size     4
        persistent-superblock 1
        device         /dev/sda
        raid-disk      0
        device         /dev/sdb
        raid-disk      1

When I run the mkraid /dev/md0 command I get a device /dev/sda is already
mounted error and it doesn't make or start the RAID up.

/dev/sda has the following partiions:
sda1  boot   23
sda7  /      258
sda6  /home  4032
sda5  /usr   4032
sda8  /var   258
sda9  swap   70

/dev/sdb has 0 partions on it.

What I am trying to do is set up a raid1 between the two drives so to
mainly provide data redundancy.  It would be also nice to have the server
continue to operate on a drive failure but that isn't as important. 

I have read a number of faqs and Howto's and I guess I am not totally clear
on it.  Can I set up a raid just for partitions?  I assumed a RAID can be
configured just for whole drives.  My other question is if I cant set up a
RAID because one of my drives is mounted then how do I do it?  Boot off a
floppy?  Should I try to install an old IDE drive to serve as the boot disk?

Thanks for the help,

Kevin Adams

Reply via email to