A complete installation requires that you install both the quadstor-core-xxxx.tbz and quadstor-itf-xxxx.tbz packages, the steps for the same are described below.
Installation of prerequisite packages
In order to use the web based GUI apache needs to be installed on the system. This can be done by
sh# pkg_add -r apache22
Add the following line to /etc/rc.conf to start apache at system boot
apache22_enable="YES"
Installation/Upgrading of QUADStor on FreeBSD 8.2
- Login to the target system as root
- Uninstall any previous version of the software by
sh# pkg_delete quadstor-itf-xxxx
sh# pkg_delete quadstor-core-xxxx
Where previous versions can be got by
sh# pkg_info | grep quadstor
- Install the packages by running the following commands
sh# pkg_add quadstor-core-xxxx.tbz
sh# pkg_add quadstor-itf-xxxx.tbz
NOTE: quadstor-core package must be installed first
You will get a warning similar to "pkg_add: package quadstor-core-2.0.11-x86_64 has no origin recorded"
while installing the quadstor-itf package. This is alright.
- After the install is successful add the following to /etc/rc.conf
quadstor_enable="YES"
- Add the following to /boot/loader.conf in the same order as below
ispfw_load="YES"
ispmod_load="YES"
remove isp_load="YES" if present
The ispmod driver used is a modified version of the FreeBSD isp driver but all device hints suggested in the manpage of isp are supported. Also the current behavior of the driver is to enable both target mode and initiator mode. Initiator mode is required, if for access to disks or tape is over fiber channel connected to QLogic cards. If however you are accessing disks or tape without the need for FC connected to QLogic card(s) then it is suggested to disable initiator mode. This can be change by adding a device hint in either the /boot/loader.conf or /boot/device.hints.
For example:
hint.ispmod.0.role="1" would enable target mode only. Note that ispmod.0 specifies the first QLogic adapter, ispmod.1 the second etc.
role can be "1" [target mode only], "2" [ initiator mode only], "3" [both target and initiator mode]