I have a file server with 1 SATA "system" drive on which I have installed Slackware 10. I also have 4 RAID'ed drives (2 RAID arrays) using the onboard Highpoint 374 controller. I have kernel 2.6.9 and I compiled the highpoint linux drivers (from the highpoint website) into a module to get the RAID drives working.
Everything is working nearly perfectly except that the RAID drives do not mount at boot time....however, I can log in and do a mount -a and they get properly mounted. Its almost like the hpt374.ko module does not get loaded in time for the mount command in the startup sequence.
Any ideas? Do I need a ramdisk to make sure the highpoint module is loaded?
The system sata drive is /dev/sda
The first raid arrray is /dev/sdb
The second raid array is /dev/sdc
At bootup - I get the following error reported to the screen:
Code:
mount: special device /dev/sdb1 does not exist
mount: special device /dev/sdb2 does not exist
mount: special device /dev/sdc1 does not exist
Here is the pertinent section from my /var/log/messages
Code:
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 21 17:46:31 coruscant kernel: Freeing unused kernel memory: 184k freed
Jan 21 17:46:31 coruscant kernel: Adding 2097136k swap on /dev/sda2. Priority:-1 extents:1
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda1, internal journal
Jan 21 17:46:31 coruscant kernel: scsi2 : hpt374
Jan 21 17:46:31 coruscant kernel: Vendor: HPT3xx Model: RAID 0 Array Rev: 3.00
Jan 21 17:46:31 coruscant kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 21 17:46:31 coruscant kernel: SCSI device sdb: 1172229376 512-byte hdwr sectors (600181 MB)
Jan 21 17:46:31 coruscant kernel: sdb: sdb1 sdb2
Jan 21 17:46:31 coruscant kernel: Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Jan 21 17:46:31 coruscant kernel: Vendor: HPT3xx Model: RAID 0 Array Rev: 3.00
Jan 21 17:46:31 coruscant kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 21 17:46:31 coruscant kernel: SCSI device sdc: 976794112 512-byte hdwr sectors (500119 MB)
Jan 21 17:46:31 coruscant kernel: sdc: sdc1
Jan 21 17:46:31 coruscant kernel: Attached scsi disk sdc at scsi2, channel 0, id 1, lun 0
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda5, internal journal
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda6, internal journal
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda7, internal journal
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda8, internal journal
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
Jan 21 17:46:31 coruscant kernel: kjournald starting. Commit interval 5 seconds
Jan 21 17:46:31 coruscant kernel: EXT3 FS on sda9, internal journal
Jan 21 17:46:31 coruscant kernel: EXT3-fs: mounted filesystem with ordered data mode.
You can see it mounts my / partition and the swap partition
Then does the call to rc.modules at which time the highpoint driver gets loaded - which successfully finds the 2 RAID arrays.
Then the mount command in /etc/rc.d/rc.S. It successfully mounts all the partitions on /dev/sda, but does not do it for /dev/sdb or /dev/sdc - thats where I get the error messages on the screen.
My /etc/fstab file is as follows:
Code:
/dev/sda2 swap swap defaults 0 0
/dev/sda1 / ext3 defaults 1 1
/dev/sda5 /usr ext3 defaults 1 2
/dev/sda6 /var ext3 defaults 1 2
/dev/sda7 /var/lib ext3 defaults 1 2
/dev/sda8 /home ext3 defaults 1 2
/dev/sda9 /tmp ext3 defaults 1 2
/dev/sdb1 /fs1 ext3 defaults 1 2
/dev/sdb2 /fs2 ext3 defaults 1 2
/dev/sdc1 /fs3 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
But as I said before, I can log in and do a mount -a command and everything is fine.
Anything you can help me with would be nice. Thanks
Dan