有个 HP MSL 5060 的老带库,有两个 Drive 总是显示为 Down 的不可用状态,今天集中精力最后搞定,解决过程如下:

C:\Documents and Settings\Administrator>tpconfig -l     # 通过这个命令可以查看 Drive 状态
Device Robot Drive       Robot                    Drive                 Device

Type     Num Index  Type DrNum Status  Comment    Name                  Path

robot      1    -    TLD    -       -  -          -                     ntbbkp05

drive    -    5  hcart    2      UP  -          HP.ULTRIUM4-SCSI.017  {2,0,1,0}
drive    -    6  hcart    4      UP  -          HP.ULTRIUM4-SCSI.019  {2,0,2,0}
drive    -    7  hcart    1      UP  -          HP.ULTRIUM4-SCSI.016  {3,0,1,0}
drive    -    8  hcart    3      UP  -          HP.ULTRIUM4-SCSI.018  {3,0,2,0}
robot      2    -    TLD    -       -  -          -                     {5,0,0,0}
drive    -    0  hcart    1    DOWN  -          HP.ULTRIUM1-SCSI.000  MISSING_PATH:{3,0,1,0}:HU75C0121
drive    -    1  hcart    2      UP  -          HP.ULTRIUM1-SCSI.001  {5,0,2,0}
drive    -    2  hcart    3    DOWN  -          HP.ULTRIUM1-SCSI.002  MISSING_PATH:{6,0,3,0}:HUB6C03WA
drive    -    3  hcart    4    DOWN  -          HP.ULTRIUM1-SCSI.003  {6,0,4,0}
drive    -    4  hcart    1      UP  -          HP.ULTRIUM1-SCSI.004  {5,0,1,0}
drive    -    9  hcart    3    DOWN  -          HP.ULTRIUM1-SCSI.005  {6,0,3,0}

可以看到 robot 2 下面多出了两个状态为 Missing path 的 drive,其实那个是 MSL 5060 的老带库,只有一个机械手和四个 Drive,多出了两个莫名其妙的 Missing Path 的 Drive.

直接在 NBU Console 中的 Media and Device Management/Devices/Drives 里面删掉状态为 missing_PATH 的 Drive,然后再重新 Define robots and drives。如果 tpconfig -l 里面还有状态为 Down 的 Drive,使用 vmoprcmd -up 的命令 up 这个 drive,然后再在 NBU console 里面刷新,可以看到状态为 Up 了。

C:\Documents and Settings\Administrator>tpconfig -l    # 再次查看状态,有两个为 Down
Device Robot Drive       Robot                    Drive                 Device

Type     Num Index  Type DrNum Status  Comment    Name                  Path

robot      1    -    TLD    -       -  -          -                     ntbbkp05

drive    -    5  hcart    2      UP  -          HP.ULTRIUM4-SCSI.017  {2,0,1,0}
drive    -    6  hcart    4      UP  -          HP.ULTRIUM4-SCSI.019  {2,0,2,0}
drive    -    7  hcart    1      UP  -          HP.ULTRIUM4-SCSI.016  {3,0,1,0}
drive    -    8  hcart    3      UP  -          HP.ULTRIUM4-SCSI.018  {3,0,2,0}
robot      2    -    TLD    -       -  -          -                     {5,0,0,0}
drive    -    1  hcart    2      UP  -          HP.ULTRIUM1-SCSI.001  {5,0,2,0}
drive    -    3  hcart    4    DOWN  -          HP.ULTRIUM1-SCSI.003  {6,0,4,0}
drive    -    4  hcart    1      UP  -          HP.ULTRIUM1-SCSI.004  {5,0,1,0}
drive    -    9  hcart    3    DOWN  -          HP.ULTRIUM1-SCSI.005  {6,0,3,0}
C:\Documents and Settings\Administrator>vmoprcmd -up 3        # 使用这个命令将 index 为 3 的 Drive Up
C:\Documents and Settings\Administrator>vmoprcmd -up 9
C:\Documents and Settings\Administrator>tpconfig -l
Device Robot Drive       Robot                    Drive                 Device

Type     Num Index  Type DrNum Status  Comment    Name                  Path

robot      1    -    TLD    -       -  -          -                     ntbbkp05

drive    -    5  hcart    2      UP  -          HP.ULTRIUM4-SCSI.017  {2,0,1,0}
drive    -    6  hcart    4      UP  -          HP.ULTRIUM4-SCSI.019  {2,0,2,0}
drive    -    7  hcart    1      UP  -          HP.ULTRIUM4-SCSI.016  {3,0,1,0}
drive    -    8  hcart    3      UP  -          HP.ULTRIUM4-SCSI.018  {3,0,2,0}
robot      2    -    TLD    -       -  -          -                     {5,0,0,0}
drive    -    1  hcart    2      UP  -          HP.ULTRIUM1-SCSI.001  {5,0,2,0}
drive    -    3  hcart    4      UP  -          HP.ULTRIUM1-SCSI.003  {6,0,4,0}
drive    -    4  hcart    1      UP  -          HP.ULTRIUM1-SCSI.004  {5,0,1,0}
drive    -    9  hcart    3      UP  -          HP.ULTRIUM1-SCSI.005  {6,0,3,0}

Ok,现在似乎 Drive 状态都是 OK 了。

Possibly Related Posts: (Automatically Generated)

Tags: , , , , ,

Leave a Reply

*