- 论坛徽章:
- 1
|
如何设置系统对多个LUN的支持?
[quote]原帖由 "stevenzhou"]我的系统怎么找不到你说的目录,只有/etc/conf/sdevice.d这个目录,这下面都是一些文件,没有其它目录了。[/quote 发表:
sorry!记错了
从新来说,以ad160为例,主要是这种卡比较典型。
cd /etc/conf/pack.d/ad160/
vi space.c
其中文件里有这么一段- /* Suppress scanning for LUN
- * During initialization, the driver will scan all devices
- * to obtain negotiation information. By default, all target
- * IDs are scanned, but not the LUN.
- * 0 = disable lun scanning (default). 1 = enable lun scanning.
- */
- int ad160_scan_lun = 0;
复制代码
看明白了吧。也就是这句话0 = disable lun scanning (default). 1 = enable lun scanning.
意思是0关闭lun的检测1是打开的,默认为关闭。
只要修改int ad160_scan_lun = 0的,0改为1然后保存就OK了。 |
|