how to setup SCST
Fc Target Machine Hardware Requirement
1. FC-HBA: QLA2200 (1G) or QLA2300(2G);
Fc Target Machine Hardware Requirement
1. Redhat Linux 9
2. kernel 2.6.10 (http://www.kernel.org)
3. scst-0.9.2 (http://scst.sourceforge.net)
4. qla2x00-0.9.3.2 (http://scst.sourceforge.net)
Compilation:
1. Update your kernel to 2.6.10, with kernel source in
/usr/src/linux-2.6.10
2. ln -s /usr/src/linux-2.6.10 /lib/modules/2.6.10/build
3. cd your work dir in /root with all the tars in it
4. tar xvzf scst-0.9.2.tar.gz
5. cd scst-0.9.2
6. modify init_scst function in scst.c: cpu_online_num can't be
resolved for NON_SMP machine;
7. make install
8. cd ..
9. tar xvzf qla2x00-target-0.9.3.2
10. cd qla*
11. Modify Makefile, point to the right scst-0.9.2 directory
12. make install
Test:
dd if=/dev/zero of=/vdisks/scsi_disk_file_0 count=1
1. modprobe qla2300tgt (qla2200tgt)
2. modprobe scst_disk_fileio dir=/vdisks count=1
3. connect FC cables between Solaris initator and Linux Target machine.
4. rescsn and you will find the new fc disk, and do dd or tar to test.
1. FC-HBA: QLA2200 (1G) or QLA2300(2G);
Fc Target Machine Hardware Requirement
1. Redhat Linux 9
2. kernel 2.6.10 (http://www.kernel.org)
3. scst-0.9.2 (http://scst.sourceforge.net)
4. qla2x00-0.9.3.2 (http://scst.sourceforge.net)
Compilation:
1. Update your kernel to 2.6.10, with kernel source in
/usr/src/linux-2.6.10
2. ln -s /usr/src/linux-2.6.10 /lib/modules/2.6.10/build
3. cd your work dir in /root with all the tars in it
4. tar xvzf scst-0.9.2.tar.gz
5. cd scst-0.9.2
6. modify init_scst function in scst.c: cpu_online_num can't be
resolved for NON_SMP machine;
7. make install
8. cd ..
9. tar xvzf qla2x00-target-0.9.3.2
10. cd qla*
11. Modify Makefile, point to the right scst-0.9.2 directory
12. make install
Test:
dd if=/dev/zero of=/vdisks/scsi_disk_file_0 count=1
1. modprobe qla2300tgt (qla2200tgt)
2. modprobe scst_disk_fileio dir=/vdisks count=1
3. connect FC cables between Solaris initator and Linux Target machine.
4. rescsn and you will find the new fc disk, and do dd or tar to test.