Abit KT7-RAID & Linux Software RAID

Abit KT7-RAID & Linux Software RAID

Post by Daniel Chue » Fri, 22 Dec 2000 05:46:57



Hi,

Has anyone tried to created a Software RAID 0 drive under Redhat Linux 7.0?
I followed the instructions to create the /etc/raidtab file with the
following settings on a Abit KT7-RAID motherboard with 2 Maxtor 20GB 7200RPM
ATA100 hard drives.  Kernel was recompile to include the raid modules.

/etc/raidtab
--------------------------------------------------------
raiddev                 /dev/md0
raid-level              0    # it's not obvious but this *must* be
                             # right after raiddev
persistent-superblock   1    # set this to 1 if you want autostart,
                             # BUT SETTING TO 1 WILL DESTROY PREVIOUS
                             # CONTENTS if this is a RAID0 array created
                             # by older raidtools (0.40-0.51) or mdtools!
chunk-size              16
nr-raid-disks           2
nr-spare-disks          0
device                  /dev/hde1
raid-disk               0
device                  /dev/hdg1
raid-disk               1
-----------------------------------------------------------------

when I try to run mkraid, it give the following error:

----------------------------------------------------

handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hde1, 20010784kB, raid superblock at 20010688kB
disk 1: /dev/hdg1, 20010784kB, raid superblock at 20010688kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
----------------------------------------------------------------------------
----------------------

cat /proc/mdstat result in the following:
---------------------------------------------------------
Personalities : [2 raid0]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
---------------------------------------------------------

both hard drives /dev/hde and /dev/hdg are partitioned as type fd
-----------------------------------------------------------
Disk /dev/hde: 16 heads, 63 sectors, 39704 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect

Disk /dev/hdg: 16 heads, 63 sectors, 39704 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect
----------------------------------------------------------------------------
------------------

The kernel has been patch for the highpoint controller and is functioning
properly.  The kernel has no problem detecting and formating the drivers
individually.

Am I missing something here?  Any help is greatly appreciated!

Daniel Chuen

 
 
 

Abit KT7-RAID & Linux Software RAID

Post by Luckydaz » Fri, 22 Dec 2000 07:57:26


I used Mandrake 7.2 and it was so simple to set up software raid mode
0. I'm running it right now. I also tried RH 7.0 and had no problems
either. Number one you must make a boot partition first outside the
raid device. Second, you must create a  / or root directory on the MD0
or raid device then just format it. BTW I used the Reiser file system
instead of the ext2 format. Much faster in raid. Mandrake gave me that
option.

On Wed, 20 Dec 2000 13:46:57 -0700, "Daniel Chuen"


>Hi,

>Has anyone tried to created a Software RAID 0 drive under Redhat Linux 7.0?
>I followed the instructions to create the /etc/raidtab file with the
>following settings on a Abit KT7-RAID motherboard with 2 Maxtor 20GB 7200RPM
>ATA100 hard drives.  Kernel was recompile to include the raid modules.

>/etc/raidtab
>--------------------------------------------------------
>raiddev                 /dev/md0
>raid-level              0    # it's not obvious but this *must* be
>                             # right after raiddev
>persistent-superblock   1    # set this to 1 if you want autostart,
>                             # BUT SETTING TO 1 WILL DESTROY PREVIOUS
>                             # CONTENTS if this is a RAID0 array created
>                             # by older raidtools (0.40-0.51) or mdtools!
>chunk-size              16
>nr-raid-disks           2
>nr-spare-disks          0
>device                  /dev/hde1
>raid-disk               0
>device                  /dev/hdg1
>raid-disk               1
>-----------------------------------------------------------------

>when I try to run mkraid, it give the following error:

>----------------------------------------------------

>handling MD device /dev/md0
>analyzing super-block
>disk 0: /dev/hde1, 20010784kB, raid superblock at 20010688kB
>disk 1: /dev/hdg1, 20010784kB, raid superblock at 20010688kB
>mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
>----------------------------------------------------------------------------
>----------------------

>cat /proc/mdstat result in the following:
>---------------------------------------------------------
>Personalities : [2 raid0]
>read_ahead not set
>md0 : inactive
>md1 : inactive
>md2 : inactive
>md3 : inactive
>---------------------------------------------------------

>both hard drives /dev/hde and /dev/hdg are partitioned as type fd
>-----------------------------------------------------------
>Disk /dev/hde: 16 heads, 63 sectors, 39704 cylinders
>Units = cylinders of 1008 * 512 bytes

>   Device Boot    Start       End    Blocks   Id  System
>/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect

>Disk /dev/hdg: 16 heads, 63 sectors, 39704 cylinders
>Units = cylinders of 1008 * 512 bytes

>   Device Boot    Start       End    Blocks   Id  System
>/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect
>----------------------------------------------------------------------------
>------------------

>The kernel has been patch for the highpoint controller and is functioning
>properly.  The kernel has no problem detecting and formating the drivers
>individually.

>Am I missing something here?  Any help is greatly appreciated!

>Daniel Chuen


 
 
 

Abit KT7-RAID & Linux Software RAID

Post by Luckydaz » Fri, 22 Dec 2000 08:02:31


Oh I'm not running it off the drives on the Highpoint controller. I'm
running raid for Win 98 and 2k on that. I have Mandrake on my old
drives on ide 1 and 2 ata 33. You can't run raid off the highpoint
controller AFAIK. I don't think software raid will work either. Let me
know if you get it working. Or, try the drivers for Linux at
www.highpoint-tech.com but they're only for single drives on the HPT
controller. Try it anyway, might work.

On Wed, 20 Dec 2000 13:46:57 -0700, "Daniel Chuen"


>Hi,

>Has anyone tried to created a Software RAID 0 drive under Redhat Linux 7.0?
>I followed the instructions to create the /etc/raidtab file with the
>following settings on a Abit KT7-RAID motherboard with 2 Maxtor 20GB 7200RPM
>ATA100 hard drives.  Kernel was recompile to include the raid modules.

>/etc/raidtab
>--------------------------------------------------------
>raiddev                 /dev/md0
>raid-level              0    # it's not obvious but this *must* be
>                             # right after raiddev
>persistent-superblock   1    # set this to 1 if you want autostart,
>                             # BUT SETTING TO 1 WILL DESTROY PREVIOUS
>                             # CONTENTS if this is a RAID0 array created
>                             # by older raidtools (0.40-0.51) or mdtools!
>chunk-size              16
>nr-raid-disks           2
>nr-spare-disks          0
>device                  /dev/hde1
>raid-disk               0
>device                  /dev/hdg1
>raid-disk               1
>-----------------------------------------------------------------

>when I try to run mkraid, it give the following error:

>----------------------------------------------------

>handling MD device /dev/md0
>analyzing super-block
>disk 0: /dev/hde1, 20010784kB, raid superblock at 20010688kB
>disk 1: /dev/hdg1, 20010784kB, raid superblock at 20010688kB
>mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
>----------------------------------------------------------------------------
>----------------------

>cat /proc/mdstat result in the following:
>---------------------------------------------------------
>Personalities : [2 raid0]
>read_ahead not set
>md0 : inactive
>md1 : inactive
>md2 : inactive
>md3 : inactive
>---------------------------------------------------------

>both hard drives /dev/hde and /dev/hdg are partitioned as type fd
>-----------------------------------------------------------
>Disk /dev/hde: 16 heads, 63 sectors, 39704 cylinders
>Units = cylinders of 1008 * 512 bytes

>   Device Boot    Start       End    Blocks   Id  System
>/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect

>Disk /dev/hdg: 16 heads, 63 sectors, 39704 cylinders
>Units = cylinders of 1008 * 512 bytes

>   Device Boot    Start       End    Blocks   Id  System
>/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect
>----------------------------------------------------------------------------
>------------------

>The kernel has been patch for the highpoint controller and is functioning
>properly.  The kernel has no problem detecting and formating the drivers
>individually.

>Am I missing something here?  Any help is greatly appreciated!

>Daniel Chuen

 
 
 

Abit KT7-RAID & Linux Software RAID

Post by Daniel Chue » Fri, 22 Dec 2000 14:16:26


I have a separate hard drive hook up to /dev/hda.  The 2 drives for the Raid
is hook up to the primary and secondary master of the highpoint ide ports,
i.e. ide2 & ide3

But I keep getting the abort message from mkraid...  anyone know how to find
out in the syslog what might be causing the problem?

Thanks!

Daniel


> I used Mandrake 7.2 and it was so simple to set up software raid mode
> 0. I'm running it right now. I also tried RH 7.0 and had no problems
> either. Number one you must make a boot partition first outside the
> raid device. Second, you must create a  / or root directory on the MD0
> or raid device then just format it. BTW I used the Reiser file system
> instead of the ext2 format. Much faster in raid. Mandrake gave me that
> option.

> On Wed, 20 Dec 2000 13:46:57 -0700, "Daniel Chuen"

> >Hi,

> >Has anyone tried to created a Software RAID 0 drive under Redhat Linux
7.0?
> >I followed the instructions to create the /etc/raidtab file with the
> >following settings on a Abit KT7-RAID motherboard with 2 Maxtor 20GB
7200RPM
> >ATA100 hard drives.  Kernel was recompile to include the raid modules.

> >/etc/raidtab
> >--------------------------------------------------------
> >raiddev                 /dev/md0
> >raid-level              0    # it's not obvious but this *must* be
> >                             # right after raiddev
> >persistent-superblock   1    # set this to 1 if you want autostart,
> >                             # BUT SETTING TO 1 WILL DESTROY PREVIOUS
> >                             # CONTENTS if this is a RAID0 array created
> >                             # by older raidtools (0.40-0.51) or mdtools!
> >chunk-size              16
> >nr-raid-disks           2
> >nr-spare-disks          0
> >device                  /dev/hde1
> >raid-disk               0
> >device                  /dev/hdg1
> >raid-disk               1
> >-----------------------------------------------------------------

> >when I try to run mkraid, it give the following error:

> >----------------------------------------------------

> >handling MD device /dev/md0
> >analyzing super-block
> >disk 0: /dev/hde1, 20010784kB, raid superblock at 20010688kB
> >disk 1: /dev/hdg1, 20010784kB, raid superblock at 20010688kB
> >mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

>---------------------------------------------------------------------------
-
> >----------------------

> >cat /proc/mdstat result in the following:
> >---------------------------------------------------------
> >Personalities : [2 raid0]
> >read_ahead not set
> >md0 : inactive
> >md1 : inactive
> >md2 : inactive
> >md3 : inactive
> >---------------------------------------------------------

> >both hard drives /dev/hde and /dev/hdg are partitioned as type fd
> >-----------------------------------------------------------
> >Disk /dev/hde: 16 heads, 63 sectors, 39704 cylinders
> >Units = cylinders of 1008 * 512 bytes

> >   Device Boot    Start       End    Blocks   Id  System
> >/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect

> >Disk /dev/hdg: 16 heads, 63 sectors, 39704 cylinders
> >Units = cylinders of 1008 * 512 bytes

> >   Device Boot    Start       End    Blocks   Id  System
> >/dev/hde1             1     39704  20010784+  fd  Linux raid autodetect

>---------------------------------------------------------------------------
-
> >------------------

> >The kernel has been patch for the highpoint controller and is functioning
> >properly.  The kernel has no problem detecting and formating the drivers
> >individually.

> >Am I missing something here?  Any help is greatly appreciated!

> >Daniel Chuen

 
 
 

1. Linux and Raid 0 on a ABit KT7-RAID?

At the moment I have Win98 running on an Abit KT7-RAID with 2 IBM
20GIG Hard drives on the highpoint controller set up as a 40 GIG
stripped array. As far as Windows is concerned there is only 1 40 GIG
drive connected.

I've decided to take the plunge with Red Hat 7.1 HOWEVER! When the
installation gets to setting up partitions it sees the drives as 2
seperate drives instead of the raid array. Annaconda will let me set
up my directories on either drive but it wont let me set a directory
accross the 2 drives. Does this mean that RAID 0 is not an option for
me at this stage or am I doing something not quite right.

At this stage i am considering putting another HD on IDE0 and loading
linux onto it and leaving Win98 on the raid drives and just dual
booting.

What I would much rather do is have Linux on the raid drives and run a
few win apps in a virtual computer using something like vmware or
win4lin

Any ideas on how to get around this problem?

2. local email only on NT network

3. Abit kt7-RAID HPT370/370A RAID chipset

4. Network Card installing On Linux RedHat 7.0

5. LILO problems with RH7.1 and ABit KT7-Raid

6. Replacing CDE with something else?

7. RedHat 7 and ABIT KT7-RAID

8. Simple Questions....

9. FreeBSD on a Abit KT7-RAID

10. ABIT KT7-RAID supported by FreeBSD 4.1.1?

11. Drive corruption with VIA VT82C686A (ABIT KT7-RAID) - Still -

12. Q: MB -- Abit KT7-RAID against Asus A7V

13. ABit KT7-RAID HPT370 IMPOSSIBLE