Sans Digitial TowerRAID TR4M+

From Nearline Storage
Jump to: navigation, search

This device uses a RocketRAID 622 PCIe HBA adapter.

Manuals and device driver software can be downloaded from http://highpoint-tech.com/USA_new/series_rr600-download.htm

You must build and install a proprietary driver in the form of a kernel module. You must also install either a command line utility or a web-based utility to communicate with the propriety driver and configure/monitor the disk array.

I used a beta version of the kernel module for kernel 3.14.27: rr62x-linux-src-v1.3.3-130822-17639.tar.gz

 $ cd ~/src
 $ wget https://help.ubuntu.com/community/RocketRaid?action=AttachFile&do=view&target=rr62x-linux-src-v1.3.3-130822-17639.tar.gz
 $ tar -zxvf  rr62x-linux-src-v1.3.3-130822-17639.tar.gz
 $ cd rr62x-linux-src-v1.3.3/product/rr62x/linux/
 $ make
 $ sudo cp rr62x.ko /lib/modules/3.14.27-100.fc19.x86_64/kernel/drivers/scsi/
Manual testing:
 $ sudo depmod -a
 $ sudo modprobe rr62x
Add module to initrd:
 $ sudo mv /boot/initramfs-3.14.27-100.fc19.x86_64.img /boot/initramfs-3.14.27-100.fc19.x86_64.img.b4.rr62x 
 $ sudo mkinitrd /boot/initramfs-3.14.27-100.fc19.x86_64.img 3.14.27-100.fc19.x86_64 
Install web interface:
 $ cd /tmp/
 $ wget http://www.highpoint-tech.com/BIOS_Driver/HRM/Linux/WebGUI-Linux-v2.1.5-130409.tgz
 $ tar -zxvf WebGUI-Linux-v2.1.5-130409.tgz
 $ sudo yum localinstall hptsvr-https-2.1.5-13.0409.x86_64.rpm
 
/usr/bin/hptsvr is the executable, known to systemctl as hptdaemon.service. Disable the service and start it only when you need it.
Connect to the web interface on port 7402 - http://localhost:7402
Default userid: RAID
Default password: hpt (change password through web GUI)

DKMS - Dynamic Kernel Module Support

To automatically rebuild the module for new kernels when upgrades happen:

  1. Install dkms package
  2. Move module source directory to /usr/src/rr62x-1.3.3 and change file ownership to root
  3. Create dkms.conf in /usr/src/rr620x-1.3.3
MAKE="make -C product/rr62x/linux/ KERNELDIR=/lib/modules/${kernelver}/build"
CLEAN="make -C product/rr62x/linux/ clean"
BUILT_MODULE_NAME=rr62x
BUILT_MODULE_LOCATION=product/rr62x/linux/
PACKAGE_NAME=rr62x
PACKAGE_VERSION=1.3.3
AUTOINSTALL=yes
REMAKE_INITRD=yes
  1. dkms uses dracut to build the initrd (initramfs, actually.) You must add "rr62x" to the "add_drivers" line in /etc/dracut.conf:
add_drivers+="rr62x"
  1. Register the module to dkms and test the build process
$ sudo dkms add -m rr62x -v 1.3.3
$ sudo dkms build -m rr62x -v 1.3.3
$ sudo dkms install -m rr62x -v 1.3.3

Resources

This Ubuntu community page may be helpful: https://help.ubuntu.com/community/RocketRaid