Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1213219
  • 博文数量: 212
  • 博客积分: 10450
  • 博客等级: 上将
  • 技术积分: 1957
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-23 09:00
文章分类

全部博文(212)

文章存档

2012年(1)

2011年(16)

2010年(11)

2009年(9)

2008年(22)

2007年(36)

2006年(117)

分类: 系统运维

2011-03-04 16:04:52

单位一台Sun StorageTek (tm) 6140 磁盘阵列经常黄色告警,用管理软件查看报错为卷不在首选的控制器上,切换到首选的控制器后一段时间又出现这问题。后来发现只要主机format查看一下就会告警。检查最后发现是一条硬件路径没有配置。该路径应该是指向磁盘阵列管理卷,6140有两个控制器,主机上也应该有指向管理卷(ACCESS LUN)的两条路径(该主机连两台6140,所以有4条路径)。以下是具体的过程:
# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown
c1                             fc-private   connected    configured   unknown
c1::21000000870dff06           disk         connected    configured   unknown
c1::21000000870e51b4           disk         connected    configured   unknown
c1::21000000870fa911           disk         connected    configured   unknown
c1::21000000870fae0d           disk         connected    configured   unknown
c1::21000000870fc7f6           disk         connected    configured   unknown
c1::21000000870fd60a           disk         connected    configured   unknown
c1::50800200001bed29           ESI          connected    configured   unknown
c3                             fc-fabric    connected    configured   unknown
c3::201200a0b8336854           disk         connected    configured   unknown
c3::201300a0b8336854           disk         connected    configured   unknown
c3::201400a0b8336890           disk         connected    configured   unknown
c3::201500a0b8336890           disk         connected    unconfigured unknown
c3::2100001b321a2a9a           unknown      connected    unconfigured unknown
c4                             fc           connected    unconfigured unknown
pcisch0:hpc1_slot0             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot1             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot2             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot3             bridge/hp    connected    configured   ok
pcisch2:hpc2_slot4             vgs8514/hp   connected    configured   ok
pcisch2:hpc2_slot5             ethernet/hp  connected    configured   ok
pcisch2:hpc2_slot6             scsi/hp      connected    configured   ok
pcisch3:hpc0_slot7             fibre/hp     connected    configured   ok
pcisch3:hpc0_slot8             unknown      empty        unconfigured unknown
# cfgadm -c configure c3::201500a0b8336890
# cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t6d0                 CD-ROM       connected    configured   unknown
c1                             fc-private   connected    configured   unknown
c1::21000000870dff06           disk         connected    configured   unknown
c1::21000000870e51b4           disk         connected    configured   unknown
c1::21000000870fa911           disk         connected    configured   unknown
c1::21000000870fae0d           disk         connected    configured   unknown
c1::21000000870fc7f6           disk         connected    configured   unknown
c1::21000000870fd60a           disk         connected    configured   unknown
c1::50800200001bed29           ESI          connected    configured   unknown
c3                             fc-fabric    connected    configured   unknown
c3::201200a0b8336854           disk         connected    configured   unknown
c3::201300a0b8336854           disk         connected    configured   unknown
c3::201400a0b8336890           disk         connected    configured   unknown
c3::201500a0b8336890           disk         connected    configured   unknown
c3::2100001b321a2a9a           unknown      connected    unconfigured unknown
c4                             fc           connected    unconfigured unknown
pcisch0:hpc1_slot0             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot1             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot2             unknown      empty        unconfigured unknown
pcisch0:hpc1_slot3             bridge/hp    connected    configured   ok
pcisch2:hpc2_slot4             vgs8514/hp   connected    configured   ok
pcisch2:hpc2_slot5             ethernet/hp  connected    configured   ok
pcisch2:hpc2_slot6             scsi/hp      connected    configured   ok
pcisch3:hpc0_slot7             fibre/hp     connected    configured   ok
pcisch3:hpc0_slot8             unknown      empty        unconfigured unknown
# luxadm probe
Found Enclosure:
SUNWGS INT FCBPL   Name:FCloop   Node WWN:50800200001bed28   Logical Path:/dev/es/ses0

Found Fibre Channel device(s):
  Node WWN:200400a0b8336890  Device Type:Disk device
    Logical Path:/dev/rdsk/c2t600A0B8000338F3A000005554AB55E77d0s2
  Node WWN:200200a0b8336854  Device Type:Disk device
    Logical Path:/dev/rdsk/c2t600A0B8000338F3E000001294AB5D044d0s2
  Node WWN:200200a0b8336854  Device Type:Disk device
    Logical Path:/dev/rdsk/c2t600A0B8000336854000001274AB5CE44d0s2
  Node WWN:200400a0b8336890  Device Type:Disk device
    Logical Path:/dev/rdsk/c2t600A0B8000336890000007B74AB55E8Ad0s2
  Node WWN:200200a0b8336854  Device Type:Disk device
    Logical Path:/dev/rdsk/c3t201200A0B8336854d31s2
    Logical Path:/dev/rdsk/c3t201300A0B8336854d31s2
  Node WWN:200400a0b8336890  Device Type:Disk device
    Logical Path:/dev/rdsk/c3t201400A0B8336890d31s2
    Logical Path:/dev/rdsk/c3t201500A0B8336890d31s2
# luxadm display 200400a0b8336890
DEVICE PROPERTIES for disk: 200400a0b8336890
  Vendor:               SUN    
  Product ID:           CSM200_R       
  Revision:             0710
  Serial Num:           SG83404135 
  Unformatted capacity: 836981.750 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x3
    Maximum prefetch:   0x0
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c2t600A0B8000338F3A000005554AB55E77d0s2
  /devices/scsi_vhci/ssd@g600a0b8000338f3a000005554ab55e77:c,raw
   Controller           /devices/pci@9,600000/SUNW,qlc@2/fp@0,0
    Device Address              201400a0b8336890,1
    Host controller port WWN    2100001b320ba0c5
    Class                       secondary
    State                       ONLINE
   Controller           /devices/pci@9,600000/SUNW,qlc@2/fp@0,0
    Device Address              201500a0b8336890,1
    Host controller port WWN    2100001b320ba0c5
    Class                       primary
    State                       STANDBY

DEVICE PROPERTIES for disk: 200400a0b8336890
  Vendor:               SUN    
  Product ID:           CSM200_R       
  Revision:             0710
  Serial Num:           SG83404135 
  Unformatted capacity: 139496.453 MBytes
  Write Cache:          Enabled
  Read Cache:           Enabled
    Minimum prefetch:   0x3
    Maximum prefetch:   0x0
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c2t600A0B8000336890000007B74AB55E8Ad0s2
  /devices/scsi_vhci/ssd@g600a0b8000336890000007b74ab55e8a:c,raw
   Controller           /devices/pci@9,600000/SUNW,qlc@2/fp@0,0
    Device Address              201400a0b8336890,0
    Host controller port WWN    2100001b320ba0c5
    Class                       primary
    State                       ONLINE
   Controller           /devices/pci@9,600000/SUNW,qlc@2/fp@0,0
    Device Address              201500a0b8336890,0
    Host controller port WWN    2100001b320ba0c5
    Class                       secondary
    State                       STANDBY

DEVICE PROPERTIES for disk: 200400a0b8336890
  Vendor:               SUN    
  Product ID:           Universal Xport
  Revision:             0710
  Serial Num:           SG83404135 
  Unformatted capacity: 20.000 MBytes
  Read Cache:           Enabled
    Minimum prefetch:   0x0
    Maximum prefetch:   0x0
  Device Type:          Disk device
  Path(s):

  /dev/rdsk/c3t201400A0B8336890d31s2
  /devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201400a0b8336890,1f:c,raw
    LUN path port WWN:          201400a0b8336890
    Host controller port WWN:   2100001b320ba0c5
    Path status:                O.K.
  /dev/rdsk/c3t201500A0B8336890d31s2
  /devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201500a0b8336890,1f:c,raw
    LUN path port WWN:          201500a0b8336890
    Host controller port WWN:   2100001b320ba0c5
    Path status:                O.K.
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870fc7f6,0
       1. c1t1d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870fae0d,0
       2. c1t2d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870fd60a,0
       3. c1t3d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870e51b4,0
       4. c1t4d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870fa911,0
       5. c1t5d0
          /pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w21000000870dff06,0
       6. c2t600A0B8000338F3A000005554AB55E77d0
          /scsi_vhci/ssd@g600a0b8000338f3a000005554ab55e77
       7. c2t600A0B8000338F3E000001294AB5D044d0
          /scsi_vhci/ssd@g600a0b8000338f3e000001294ab5d044
       8. c2t600A0B8000336854000001274AB5CE44d0
          /scsi_vhci/ssd@g600a0b8000336854000001274ab5ce44
       9. c2t600A0B8000336890000007B74AB55E8Ad0
          /scsi_vhci/ssd@g600a0b8000336890000007b74ab55e8a
      10. c3t201200A0B8336854d31 UniversalXport-0710 cyl 8 alt 2 hd 64 sec 64>
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201200a0b8336854,1f
      11. c3t201300A0B8336854d31
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201300a0b8336854,1f
      12. c3t201400A0B8336890d31
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201400a0b8336890,1f
      13. c3t201500A0B8336890d31
          /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201500a0b8336890,1f
      红色标记的UniversalXport应该就是指向磁盘阵列默认管理卷(ACCESS LUN)的路径。
阅读(1798) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~