Solaris 中调整 SCSI 参数的方法 (1)
- 先看看/usr/include/sys/scsi/autoconf.h中有关SCSI_OPTION的参数: #defineSCSI_OPTIONS_DR0x8/*Globaldisconnect/reconnect*/ #defineSCSI_OPTIONS_LINK0x10/*Globallinkedcommands*/ #defineSCSI_OPTIONS_SYNC0x20/*Globalsynchronousxfercapability* #defineSCSI_OPTIONS_PARITY0x40/*Globalparitysupport*/ #defineSCSI_OPTIONS_TAG0x80/*"taggedcommandsupport*/ #defineS
先看看/usr/include/sys/scsi/autoconf.h中有关SCSI_OPTION的参数:
#defineSCSI_OPTIONS_DR0x8/*Globaldisconnect/reconnect*/
#defineSCSI_OPTIONS_LINK0x10/*Globallinkedcommands*/
#defineSCSI_OPTIONS_SYNC0x20/*Globalsynchronousxfercapability*
#defineSCSI_OPTIONS_PARITY0x40/*Globalparitysupport*/
#defineSCSI_OPTIONS_TAG0x80/*"taggedcommandsupport*/
#defineSCSI_OPTIONS_FAST0x100/*"FASTscsisupport*/
#defineSCSI_OPTIONS_WIDE0x200/*"WIDEscsisupport*/
#defineSCSI_OPTIONS_FAST200x400/*"FAST20scsisupport*/
看到了吧,假如你想enable某个function,那就把它add起来(注重是
HEX!),然後在/etc/system中加一行:
setscsi_options=0x(你的数值),
reboot就行啦:)
#defineSCSI_OPTIONS_DR0x8/*Globaldisconnect/reconnect*/
#defineSCSI_OPTIONS_LINK0x10/*Globallinkedcommands*/
#defineSCSI_OPTIONS_SYNC0x20/*Globalsynchronousxfercapability*
#defineSCSI_OPTIONS_PARITY0x40/*Globalparitysupport*/
#defineSCSI_OPTIONS_TAG0x80/*"taggedcommandsupport*/
#defineSCSI_OPTIONS_FAST0x100/*"FASTscsisupport*/
#defineSCSI_OPTIONS_WIDE0x200/*"WIDEscsisupport*/
#defineSCSI_OPTIONS_FAST200x400/*"FAST20scsisupport*/
看到了吧,假如你想enable某个function,那就把它add起来(注重是
HEX!),然後在/etc/system中加一行:
setscsi_options=0x(你的数值),
reboot就行啦:)





