免费注册 查看新帖 |

Chinaunix

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

求救:veritas cluster 共享存储识别的问题: [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-27 03:04 |只看该作者 |倒序浏览
求救:veritas cluster 共享存储识别的问题:
我用两台sun ultra10 workstation + A1000 storage array 做双机, 用差分卡接盘阵.solaris 9.0 for sparc. 装raid manager6.在系统连接共享存储的时候总也做不好.请各位大侠帮忙.十分谢谢!
我的机器配置如下:
一台机器的obp做了设置,另一台没动:
ok printenv nvramrc
nvramrc =                        probe-all
                                cd /pci@1f,0/pci@1/scsi@3,1
                                6 " scsi-initiator-id" integer-property
                                device-end
                                cd /pci@1f,0/pci@1/scsi@3
                                6 "scsi-initiator-id" integer-property
                                device-end   
                                install-console
                                banner
ok        
做完设置后分别安装操作系统.
两机重启后,第一台机器用rm6做了两个镜象的lun, 一个hot spare, 在这台机器上用rm6看很正常,用format也很正常.显示如下:
sh-2.05# rm6
bash-2.05# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST320011A cyl 38790 alt 2 hd 16 sec 63>
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
       1. c1t6d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@1/rdriver@6,0
       2. c1t6d1 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@1/rdriver@6,1
       3. c1t6d2 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@1/rdriver@6,2
Specify disk (enter its number)
但另一台机器(就叫第二台机器吧)就出问题.
sh-2.05# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST39140A cyl 17660 alt 2 hd 16 sec 63>
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
       1. c2t0d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@0,0
       2. c2t0d1 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@0,1
       3. c2t0d2 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@0,2
       4. c2t1d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@1,0
       5. c2t2d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@2,0
       6. c2t3d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@3,0
       7. c2t4d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,0
       8. c2t4d1 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,1
       9. c2t4d2 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,2
      10. c2t5d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,0
      11. c2t5d1 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,1
      12. c2t5d2 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,2
      13. c2t8d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@8,0
      14. c2t9d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@9,0
      15. c2t10d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@a,0
      16. c2t11d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@b,0
      17. c2t12d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@c,0
      18. c2t13d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@d,0
      19. c2t14d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@e,0
      20. c2t15d0 <drive not available>
          /pci@1f,0/pci@1/scsi@3,1/sd@f,0
Specify disk (enter its number): 2



AVAILABLE DRIVE TYPES:
        0. Auto configure
        1. Quantum ProDrive 80S
        2. Quantum ProDrive 105S
        3. CDC Wren IV 94171-344
        4. SUN0104
        5. SUN0207
        6. SUN0327
        7. SUN0340
        8. SUN0424
        9. SUN0535
        10. SUN0669
        11. SUN1.0G
        12. SUN1.05
        13. SUN1.3G
        14. SUN2.1G
        15. SUN2.9G
        16. Zip 100
        17. Zip 250
        18. other
Specify disk type (enter its number)
并且用rm6根本无法找到盘阵.但如果运行devfsadm 并boot –r重启后,它就接管了盘阵,用rm6可以找到盘阵,用format 后出现:
sh-2.05# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST39140A cyl 17660 alt 2 hd 16 sec 63>
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
       1. c2t0d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@2/rdriver@0,0
       2. c2t0d1 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@2/rdriver@0,1
       3. c2t0d2 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pseudo/rdnexus@2/rdriver@0,2
       4. c2t1d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@1,0
       5. c2t2d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@2,0
       6. c2t3d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@3,0
       7. c2t4d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,0
       8. c2t4d1 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,1
       9. c2t4d2 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@4,2
      10. c2t5d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,0
      11. c2t5d1 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,1
      12. c2t5d2 <Symbios-StorEDGEA1000-0301 cyl 2147 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@5,2
      13. c2t8d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@8,0
      14. c2t9d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@9,0
      15. c2t10d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@a,0
      16. c2t11d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@b,0
      17. c2t12d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@c,0
      18. c2t13d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@d,0
      19. c2t14d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@e,0
      20. c2t15d0 <Symbios-StorEDGEA1000-0301 cyl 3 alt 2 hd 64 sec 64>
          /pci@1f,0/pci@1/scsi@3,1/sd@f,0
Specify disk (enter its number):  2
selecting c2t0d1
[disk formatted]


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> :
尽管多出几个盘,但至少有几块盘是正确的.但此时另一台机器(原来正常的机器)就出现了和第二台机器一样的问题(rm6找不到盘阵,format显示没有合适de driver).
有时当一台机器正常而另一台机器重启的时候,会出现下列情况:
sh-2.05# pwd
/
bash-2.05# Nov 26 11:53:39 ha1 qfe: SUNW,qfe1: 100 Mbps full duplex link up - in
ternal  transceiver
Nov 26 11:55:17 ha1 scsi: WARNING: /pci@1f,0/pci@1/scsi@3,1 (glm1):
Nov 26 11:55:17 ha1     unexpected SCSI interrupt while idle
Nov 26 11:55:32 ha1 raid: AEN event Host=ha1 Ctrl=1T02809261 Dev=c1t6d0
Nov 26 11:55:32 ha1 raid:   ASC=A0 ASCQ=00 FRU=00 LUN=00 LUN Stat=00
Nov 26 11:55:32 ha1 raid:   Sense=700006000000009800000000A000000000000000000000
0000000000000000000000800000082C000000000000000000000000000B05315430323830393236
31202020202020030103000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000F313132
3630372F31313538313000000000000000
Nov 26 11:55:32 ha1 raid: AEN event Host=ha1 Ctrl=1T02809261 Dev=c1t6d1
Nov 26 11:55:32 ha1 raid:   ASC=A0 ASCQ=00 FRU=00 LUN=01 LUN Stat=00
Nov 26 11:55:32 ha1 raid:   Sense=700006000000009800000000A000000000000000000000
0000000000000000000000800000082C000000000000000000000000000B05315430323830393236
31202020202020030103000001000000000000000000000000000000000000000000000000000100
00000000000000000000000000000000000000000000000000000000000000000000000013313132
3630372F31313538313000000000000000
Nov 26 11:55:33 ha1 raid: AEN event Host=ha1 Ctrl=1T02809261 Dev=c1t6d2
Nov 26 11:55:33 ha1 raid:   ASC=A0 ASCQ=00 FRU=00 LUN=02 LUN Stat=00
Nov 26 11:55:33 ha1 raid:   Sense=700006000000009800000000A000000000000000000000
0000000000000000000000800000082C000000000000000000000000000B05315430323830393236
31202020202020030103000002000000000000000000000000000000000000000000000000000100
00000000000000000000000000000000000000000000000000000000:
或:
bash-2.05# Nov 26 12:01:28 ha1 qfe: SUNW,qfe1: 100 Mbps full duplex link up - internal  transceiver
Nov 26 12:02:42 ha1 scsi: WARNING: /pci@1f,0/pci@1/scsi@3,1 (glm1):
Nov 26 12:02:42 ha1     unexpected SCSI interrupt while idle
Nov 26 12:02:45 ha1 scsi: WARNING: /pci@1f,0/pci@1/scsi@3,1 (glm1):
Nov 26 12:02:45 ha1     unexpected SCSI interrupt while idle
Nov 26 12:02:45 ha1 scsi: WARNING: /pci@1f,0/pci@1/scsi@3,1 (glm1):
Nov 26 12:02:45 ha1     SCSI bus reset recursion
Nov 26 12:02:45 ha1 genunix: WARNING: glm1: fault detected in device; service unavailable
Nov 26 12:02:45 ha1 genunix: WARNING: glm1: SCSI bus reset recursion
Nov 26 12:02:45 ha1 pcipsy: WARNING: pcipsy0: ino 0x19 blocked

:
led Module

请大家帮帮解决一下,是什么方面的问题.非常感谢.

论坛徽章:
0
2 [报告]
发表于 2007-11-27 05:17 |只看该作者
6 "scsi-initiator-id" integer-property

You missed a space between " and scsi. The correct syntax is
  1. 6 " scsi-initiator-id" integer-property
复制代码

论坛徽章:
0
3 [报告]
发表于 2007-11-27 23:54 |只看该作者

回复 #2 briangao 的帖子

这是我在打印文档资料的时候出的错,实际上是有空格的.谢谢你的答复.

论坛徽章:
0
4 [报告]
发表于 2007-11-28 00:23 |只看该作者
Well, this is a typical SCSI target conflict error.  You may want to double check the scsi-initiator-id on both boxes. Make sure the shared disks are under the path /pci@1f,0/pci@1/scsi@3,1. At OK prompt, cd /pci@1f,0/pci@1/scsi@3,1 and type .properties to verify that the scsi-initiator-id is 0000007 and 0000006 respectively. Otherwise, you will have to make sure that you are using the right and good SCSI cables.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP