Solaris中调整scsi参数的方法
出处:51CTO论坛
阅读提示:本文介绍如何在Solaris系统中调试SCSI设备相关的参数配置。
先看看 /usr/include/sys/scsi/autoconf.h 中有关 SCSI_OPTION 的参数 :
#define SCSI_OPTIONS_DR 0x8 /* Global disconnect/reconnect */
#define SCSI_OPTIONS_LINK 0x10 /* Global linked commands */
#define SCSI_OPTIONS_SYNC 0x20 /* Global synchronous xfer capability *
#define SCSI_OPTIONS_PARITY 0x40 /* Global parity support */
#define SCSI_OPTIONS_TAG 0x80 /* " tagged command support */
#define SCSI_OPTIONS_FAST 0x100 /* " FAST scsi support */
#define SCSI_OPTIONS_WIDE 0x200 /* " WIDE scsi support */
#define SCSI_OPTIONS_FAST20 0x400 /* " FAST20 scsi support */ 看到了吧, 如果你想 enable 某个 function, 那就把它 add 起来(注意是HEX !), 然后在 /etc/system 中加一行 :
set scsi_options = 0x(你的数值)。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_600495.html
页:
[1]