免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1257 | 回复: 0
打印 上一主题 下一主题

Missing Solaris disks [复制链接]

论坛徽章:
2
荣誉会员
日期:2011-11-23 16:44:17拜羊年徽章
日期:2015-03-03 16:15:43
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-12 19:41 |只看该作者 |倒序浏览

Missing Solaris disksSolaris' SCSI driver configuration file, /kernel/drv/sd.conf, by default only probes for SCSI devices with LUNs of 0 during system boot. If you attach storage arrays or other SCSI devices to your system that have a SCSI LUN other than 0, the device will not be seen by the operating system. If you are able to see the devices with the Open Boot Prompt probe-scsi-all command but not with the operating system's format command, then sd.conf likely has to be modified.
Here is example format output before sd.conf changes:
# format
Searching for disks...doneAVAILABLE DISK SELECTIONS:       0. c0t0d0           /pci@1f,4000/scsi@3/sd@0,0       1. c0t8d0           /pci@1f,4000/scsi@3/sd@8,0       2. c1t0d0           /pci@1f,4000/scsi@5/sd@0,0       3. c1t1d0           /pci@1f,4000/scsi@5/sd@1,0       4. c1t2d0           /pci@1f,4000/scsi@5/sd@2,0       5. c1t3d0           /pci@1f,4000/scsi@5/sd@3,0Specify disk (enter its number):
Note that only SCSI disks with a LUN of 0 are recognized by the operating system. The output of probe-scsi-all shows that I have SCSI disks with targets of 0, 1, 2, and 3, with LUNs of 0 through 6. I have to add these target/LUN combinations to sd.conf and perform a reconfiguration reboot, as the commands drvconfig;devlinks;disks do not appear to recognize these disks on a running system.
Additions to /kernel/drv/sd.conf:
name="sd" class="scsi" class_prop="atapi"        target=0 lun=1;name="sd" class="scsi" class_prop="atapi"        target=0 lun=2;name="sd" class="scsi" class_prop="atapi"        target=0 lun=3;name="sd" class="scsi" class_prop="atapi"        target=0 lun=4;name="sd" class="scsi" class_prop="atapi"        target=0 lun=5;name="sd" class="scsi" class_prop="atapi"        target=0 lun=6;
name="sd" class="scsi" class_prop="atapi"        target=1 lun=1;name="sd" class="scsi" class_prop="atapi"        target=1 lun=2;name="sd" class="scsi" class_prop="atapi"        target=1 lun=3;name="sd" class="scsi" class_prop="atapi"        target=1 lun=4;name="sd" class="scsi" class_prop="atapi"        target=1 lun=5;name="sd" class="scsi" class_prop="atapi"        target=1 lun=6;name="sd" class="scsi" class_prop="atapi"        target=2 lun=1;name="sd" class="scsi" class_prop="atapi"        target=2 lun=2;name="sd" class="scsi" class_prop="atapi"        target=2 lun=3;name="sd" class="scsi" class_prop="atapi"        target=2 lun=4;name="sd" class="scsi" class_prop="atapi"        target=2 lun=5;name="sd" class="scsi" class_prop="atapi"        target=2 lun=6;name="sd" class="scsi" class_prop="atapi"        target=3 lun=1;name="sd" class="scsi" class_prop="atapi"        target=3 lun=2;name="sd" class="scsi" class_prop="atapi"        target=3 lun=3;name="sd" class="scsi" class_prop="atapi"        target=3 lun=4;name="sd" class="scsi" class_prop="atapi"        target=3 lun=5;name="sd" class="scsi" class_prop="atapi"        target=3 lun=6;
Perform a reconfiguration reboot with reboot -- -rv or with boot -rv at the Open Boot Prompt.
Here is example format output after the sd.conf changes and a reconfiguration reboot:
# format
Searching for disks...doneAVAILABLE DISK SELECTIONS:       0. c0t0d0           /pci@1f,4000/scsi@3/sd@0,0       1. c0t8d0           /pci@1f,4000/scsi@3/sd@8,0       2. c1t0d0           /pci@1f,4000/scsi@5/sd@0,0       3. c1t0d1           /pci@1f,4000/scsi@5/sd@0,1       4. c1t0d2           /pci@1f,4000/scsi@5/sd@0,2       5. c1t0d3           /pci@1f,4000/scsi@5/sd@0,3       6. c1t0d4           /pci@1f,4000/scsi@5/sd@0,4       7. c1t0d5           /pci@1f,4000/scsi@5/sd@0,5       8. c1t0d6           /pci@1f,4000/scsi@5/sd@0,6       9. c1t1d0           /pci@1f,4000/scsi@5/sd@1,0      10. c1t1d1           /pci@1f,4000/scsi@5/sd@1,1      11. c1t1d2           /pci@1f,4000/scsi@5/sd@1,2      12. c1t1d3           /pci@1f,4000/scsi@5/sd@1,3      13. c1t1d4           /pci@1f,4000/scsi@5/sd@1,4      14. c1t1d5           /pci@1f,4000/scsi@5/sd@1,5      15. c1t1d6           /pci@1f,4000/scsi@5/sd@1,6      16. c1t2d0           /pci@1f,4000/scsi@5/sd@2,0      17. c1t2d1           /pci@1f,4000/scsi@5/sd@2,1      18. c1t2d2           /pci@1f,4000/scsi@5/sd@2,2      19. c1t2d3           /pci@1f,4000/scsi@5/sd@2,3      20. c1t2d4           /pci@1f,4000/scsi@5/sd@2,4      21. c1t2d5           /pci@1f,4000/scsi@5/sd@2,5      22. c1t2d6           /pci@1f,4000/scsi@5/sd@2,6      23. c1t3d0           /pci@1f,4000/scsi@5/sd@3,0      24. c1t3d1           /pci@1f,4000/scsi@5/sd@3,1Specify disk (enter its number):
Adding SCSI target/LUN combinations to sd.conf that are not available on your system should result in only a minor slowdown during boot, according to this
comp.unix.solaris post
.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/76/showart_84198.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP