当前位置: 首页 > 学习 > 电脑学习 > 操作系统 > Solaris > 应用技术 > 正文

Solaris 不支持多个lun的解决方法

http://www.zk168.com.cn  招考学习网 2006-3-18 13:07:36
-----------------------------------------------------------[交流]-[打印]-[发送]-[收藏]--

73G硬盘,外部14块73G硬盘,总容量1T多,系统sol2.7x86,perc2的raid卡化了22个
container,solaris2.7只能认识8个lun,郁闷。。。。。
手动修改/kernel/drv/sd.conf文件,一个lun只支持15个target,不用多写,具体修改如下

# more /kernel/drv/sd.conf
#
# ident "@(#)sd.conf 1.17 98/08/10 SMI"
#
# Copyright (c) 1998 by Sun Microsystems, Inc.
# All rights reserved.
#

name="sd" target=0 lun=0;
name="sd" target=1 lun=0;
name="sd" target=2 lun=0;
name="sd" target=3 lun=0;
name="sd" target=4 lun=0;
name="sd" target=5 lun=0;
name="sd" target=6 lun=0;
name="sd" target=7 lun=0;
name="sd" target=8 lun=0;
name="sd" target=9 lun=0;
name="sd" target=10 lun=0;
name="sd" target=11 lun=0;
name="sd" target=12 lun=0;
name="sd" target=13 lun=0;
name="sd" target=14 lun=0;
name="sd" target=15 lun=0;

name="sd" target=0 lun=1;
name="sd" target=1 lun=1;
name="sd" target=2 lun=1;
name="sd" target=3 lun=1;
name="sd" target=4 lun=1;
name="sd" target=5 lun=1;
name="sd" target=6 lun=1;
name="sd" target=7 lun=1;
name="sd" target=8 lun=1;
name="sd" target=9 lun=1;
name="sd" target=10 lun=1;
name="sd" target=11 lun=1;
name="sd" target=12 lun=1;
name="sd" target=13 lun=1;
name="sd" target=14 lun=1;
name="sd" target=15 lun=1;


name="sd" target=0 lun=2;
name="sd" target=1 lun=2;
name="sd" target=2 lun=2;
name="sd" target=3 lun=2;
name="sd" target=4 lun=2;
name="sd" target=5 lun=2;
name="sd" target=6 lun=2;
name="sd" target=7 lun=2;

name="sd" target=0 lun=3;
name="sd" target=1 lun=3;
name="sd" target=2 lun=3;
name="sd" target=3 lun=3;
name="sd" target=4 lun=3;
name="sd" target=5 lun=3;
name="sd" target=6 lun=3;
name="sd" target=7 lun=3;

name="sd" parent="blogic" target=0 lun=0;
name="sd" parent="blogic" target=1 lun=0;
name="sd" parent="blogic" target=2 lun=0;
name="sd" parent="blogic" target=3 lun=0;
name="sd" parent="blogic" target=4 lun=0;
name="sd" parent="blogic" target=5 lun=0;
name="sd" parent="blogic" target=6 lun=0;

name="sd" parent="flashpt" target=0 lun=0;
name="sd" parent="flashpt" target=1 lun=0;
name="sd" parent="flashpt" target=2 lun=0;
name="sd" parent="flashpt" target=3 lun=0;
name="sd" parent="flashpt" target=4 lun=0;
name="sd" parent="flashpt" target=5 lun=0;
name="sd" parent="flashpt" target=6 lun=0;

touch /reconfigure
reboot
然后认到了22个container,好像sun的网站提供sd.conf文件的补丁,我试了,但是不行

sparc的机器也会有此问题,解决如下

8 LUNS with Solaris 2.7/E250/A1000/RAID 6.1.1 Update 2

Thanks to Andreas Sinderman (who responded immediately to the ssa-managers
mail) and Mark Reid at Sun (who responded to my service call).

Andreas had it mostly right. The Tpatch (T106925-03) coupled with the other
required configuration file changes fixed things (I got the Tpatch from Mark).

Solaris 7 doesn't support more than 16 LUNS.

In addition to the Tpatch, you need to have the following:

* Appropriate entries in /kernel/drv/sd.conf -- manually type them in (like
I did) or run add16luns.sh from the Tools directory on the Raid Manager
software cd.

* create/edit /kernel/drv/glm.conf to have:

device-type-scsi-options-list =
"Symbios StorEDGE A1000", "lsi-scsi-options",
"Symbios StorEDGE A3000", "lsi-scsi-options",
"SYMBIOS RSM Array 2000", "lsi-scsi-options";
lsi-scsi-options = 0x407f8;

* change the /etc/osa/rmparams to have 16 MaxLuns instead of 8:

System_MaxLunsPerController=16

All this and boot -r. I found that the /dev/dsk links for disks 8 and up were
not created at boot time, but were created as LUNS using these disk numbers
were created.

lauradel

我没有测试过,如果可以,请告诉大家方法吧

-----------------------------------------------------------[交流]-[打印]-[发送]-[收藏]--
最新入库:
 
·实质、过程及意义——阿多尔诺“否定的辩证法”探微
·从Ontology的译名之争看哲学术语的翻译原则
·论马克思主义哲学经典的解释——解释学方法及其在马克
·中国哲学当前的核心与周边问题
·和合学与21世纪文化价值和科技
·中国文化的和合精神与21世纪
·宗教之间理当相互宽容
·上半个世纪的自由主义
·殷周至春秋时期神人关系之演进
·大学之道:构建以“三纲八目”为核心的道德修养体系
相关内容:
 
·环保企业人力资源开发与管理的实证研究————巨龙公
·重油制气污水处理系统(A/O)技术改造
·英美CPA管理模式及其启示
·改造NERA微波公务信道为国产监控信道
·EAStudio让电子商务网站如虎添翼
·基于PB6和ORACLE8开发“劳动信息管理系统”
·巧解Pretty  Park 病毒一例
·CDMA在中国的应用以及向CDMA2000的过度中的问题研究
·SMA施工控制与现场监理
·浅谈改性沥青及SMA路面平整度的控制
网友点评:
 
会员名称:
密码:匿名 ·注册·忘记密码?
评论内容:
(最多300个字符)
  查看评论
友情提醒:
 1.库中的资料大都来自互联网、网友上传、各类书籍,在录入的过程中难免会出现错误,恳请网
 友来信指正!
 2.如果网友在本库中未能找到所需要的材料,请登陆到我们的论坛《招考学习网》版块!
 3.考友想加入招考学习网的编辑部,请发信到XueXiWang#Gmail.com(#改为@)附带个人简历
 4.如需转载请注明出处及作者,谢谢合作!
 5.如果您有更好的建议或意见请EMAIL:XueXiWang#Gmail.com (#改为@)
 6.凡标题中有注有“[NO]”字样均不含答案且答案整理中.
 7.如本库中转载文章涉及版权等问题,请相关网站或作者在两周内发邮件通知(EMAIL:  XueXiWang#Gmail.com (#改为@))我们,我们接到通知后立即删除该文章及链接!
你问我答 更多>>