FreeBSD Driver Support
7-6
Note: If you have configured a RAID 10 using 4 disks, it will be registered to system
as device /dev/da0. You can use “/stand/sysinstall” to create partitions and
disklabels (like da0s1e) on da0. Then, create a new filesystem using “newfs /dev/
da0s1e”. Now you can mount /dev/da0s1e to somewhere to access it
Step 3 Configure System to Automatically Load the Driver
To avoid typing in “load hptiop” each time the operating system is booted, the
system must be instructed to automatically load the module during bootup. To
configure the system to automatically install the module, type in the following
commands:
# echo ’hptiop_load=”YES”’ >> /boot/defaults/loader.conf
This command will instruct the loader to load the RocketRAID module together with
the kernel. After using this command, reboot the system. The RocketRAID module
should now automatically load each time the operating system starts up.
Note: When using FreeBSD 4.x, type in the following command to configure the system:
# mknod /dev/hptiop c 200 0
Then, check to make sure the node “/dev/hptiop”, is present in the /dev directory.
Step 4 Configure the System to Mount Volumes at Startup
Instruct the system to automatically mount the array by modifying the file /etc/fstab.
Example: Add the following line to instruct the system to mount /dev/da1s1e to location
/mnt/hpt after startup:
/dev/da1s1e /mnt/hpt ufs rw 0 0
3 - Updating the Driver
To update the driver with a newer revision, simply reinstall the driver following the steps
discussed in the previous section, “Install the driver on an existing system”.
4 - Uninstalling the Driver
The driver can only be uninstalled when the system is not booting from devices
attached to the RocketRAID host adapter. To uninstall, remove the line
hptiop_load=”YES” located in /boot/defaults/loader.conf, and then delete the driver
module /modules/hptiop.ko or /boot/kernel/hptiop.ko.