Chinaunix首页 | 论坛 | 博客
  • 博客访问: 129012
  • 博文数量: 30
  • 博客积分: 2090
  • 博客等级: 大尉
  • 技术积分: 301
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-27 09:11
文章分类

全部博文(30)

文章存档

2011年(2)

2010年(2)

2009年(5)

2008年(21)

我的朋友

分类:

2008-10-22 15:32:14

HP DS2405 replace disk
 
故障现象
在STM里发现有一块硬盘报错。

Disk Modules

 

       ------------------------------------------------------------

SLOT   | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |10 |11 |12 |13 |14 |

BUS ID | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |10 |11 |12 |13 |14 |

STATUS |OK |OK |OK |OK |FLT|OK |NIN|NIN|NIN|NIN|NIN|NIN|NIN|NIN|NIN|
 
# /opt/resmon/bin/resdata -R 126418946 -r /storage/events/enclosures/ses_enclosure/0_2_0_0.8.0.255.0.15.0 -n 126419434 -a
CURRENT MONITOR DATA:
Event Time..........: Thu Oct  9 12:28:48 2008
Severity............: CRITICAL
Monitor.............: dm_ses_enclosure
Event #.............: 111                
System..............: scp1
Summary:
     Enclosure at hardware path 0/2/0/0.8.0.255.0.15.0 : Hardware failure

Description of Error:
     The disk device is indicating that it has faulted.
Probable Cause / Recommended Action:
     The disk drive in slot 4 has failed.  Check the connection, re-seat, or
     inspect/verify the disk drive.
User Defined Annotation:  .
Additional Event Data:
     System IP Address...:
     System IP Address...:      System IP Address...:
     Event Id............: 0x48ed888000000000
     Monitor Version.....: B.01.00
     Event Class.........: I/O
     Client Configuration File...........:
     /var/stm/config/tools/monitor/default_dm_ses_enclosure.clcfg
     Client Configuration File Version...: A.01.00
          Qualification criteria met.
               Number of events..: 1
     Associated OS error log entry id(s):
          None
     Additional System Data:
          System Model Number.............: 9000/800/A500-7X
          OS Version......................: B.11.11
          System Serial Number............: SGH443062L
          System Software ID..............: 849950670
          EMS Version.....................: A.04.00
          STM Version.....................: A.43.00
     Latest information on this event:
         
v-v-v-v-v-v-v-v-v-v-v-v-v    D  E  T  A  I  L  S    v-v-v-v-v-v-v-v-v-v-v-v-v
 
Component Data:
     Physical Device Path...: 0/2/0/0.8.0.255.0.15.0
     Firmware Version.......: HP04
     Serial Number..........: S42BK1403633
     Inquiry Product ID.....: A6255A         
     Inquiry Vendor ID......: HP
 
 
 

1、Identify the loop_id of the disk being moved or replaced
# fcmsutil /dev/td0 devstat all | grep Loop
Device Statistics for Nport_id 0x0000ce(Loop_id 15)
Device Statistics for Nport_id 0x0000e0(Loop_id 5)
Device Statistics for Nport_id 0x0000e2(Loop_id 3)
Device Statistics for Nport_id 0x0000e4(Loop_id 2)
Device Statistics for Nport_id 0x0000e8(Loop_id 1)
Device Statistics for Nport_id 0x0000ef(Loop_id 0)
 
在系统中已经完全看不到了,所以可以直接换盘。
 
2、Replace bad disk with new disk.
 
3、Check the state of the new disk
# ioscan -fnC disk
Class     I  H/W Path      Driver S/W State   H/W Type     Description
=======================================================================
disk      2  0/0/1/0.2.0   sdisk  CLAIMED     DEVICE       HP      DVD-ROM 305
                          /dev/dsk/c0t2d0   /dev/rdsk/c0t2d0
disk      0  0/0/1/1.15.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753LC
                          /dev/dsk/c1t15d0   /dev/rdsk/c1t15d0
disk      1  0/0/2/1.15.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753LC
                          /dev/dsk/c3t15d0   /dev/rdsk/c3t15d0
disk      3  0/2/0/0.8.0.255.0.0.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753FC
                          /dev/dsk/c4t0d0   /dev/rdsk/c4t0d0
disk      4  0/2/0/0.8.0.255.0.1.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753FC
                          /dev/dsk/c4t1d0   /dev/rdsk/c4t1d0
disk      5  0/2/0/0.8.0.255.0.2.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753FC
                          /dev/dsk/c4t2d0   /dev/rdsk/c4t2d0
disk      6  0/2/0/0.8.0.255.0.3.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753FC
                          /dev/dsk/c4t3d0   /dev/rdsk/c4t3d0
disk      7  0/2/0/0.8.0.255.0.4.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336752FC
                          /dev/dsk/c4t4d0   /dev/rdsk/c4t4d0

disk      8  0/2/0/0.8.0.255.0.5.0  sdisk  CLAIMED     DEVICE       HP 36.4GST336753FC
                          /dev/dsk/c4t5d0   /dev/rdsk/c4t5d0
 
4、Restore the LVM configuration/headers onto the replaced disk from your backup of the LVM configuration.
# vgcfgrestore -n /dev/vgsybase /dev/rdsk/c4t4d0
Volume Group configuration has been restored to /dev/rdsk/c4t4d0
 
5、Attach the new disk to the active volume group with the vgchange command.
# vgchange -a e /dev/vgsybase
Volume group "/dev/vgsybase" has been successfully changed.
 
6、Identify the loop_id of the new disk .
# fcmsutil /dev/td0 devstat all | grep Loop
Device Statistics for Nport_id 0x0000ce(Loop_id 15)
Device Statistics for Nport_id 0x0000e0(Loop_id 5)
Device Statistics for Nport_id 0x0000e1(Loop_id 4)
Device Statistics for Nport_id 0x0000e2(Loop_id 3)
Device Statistics for Nport_id 0x0000e4(Loop_id 2)
Device Statistics for Nport_id 0x0000e8(Loop_id 1)
Device Statistics for Nport_id 0x0000ef(Loop_id 0)
 
7、It's over
 
 
阅读(2306) | 评论(0) | 转发(0) |
0

上一篇:rc的由来

下一篇:设置history file

给主人留下些什么吧!~~