Chinaunix首页 | 论坛 | 博客
  • 博客访问: 526785
  • 博文数量: 159
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1264
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-20 14:15
个人简介

LoveMoney

文章存档

2016年(2)

2015年(8)

2014年(148)

2011年(1)

分类: AIX

2014-05-22 15:30:21

IBM 7133存储
SSA RAID卡命令
smitty ssaraid
ssaraid -l ssa0 -Iz
ssadisk -a ssa0 -P
ssadisk -a ssa0 -L
ssaxlate -l hdisk8
smitty ssa
检查SSA适配卡微码的版本
命令:
#lsattr –E –l ssa0 –a ucode
输出:
Ucode 14109100.05.nn ssa0 code download False
注:ssa0是你想要检查的SSA卡的名称,nn是微码的版本。
=============
SSA管理7133存储
IBM 7133阵列管理
卡, 电池
SSA卡电池管理
   #ssa_fw_status -a ssa1 显示cache电池的信息
   #ssa_format -1 ssa1 -b 清除cache电池的寿命为零
   #ssa_format -l ssa0 清掉cache里的内容,
   #ssadisk -a ssa1 -L 列出对应ssa卡的hdisk盘
   #ssadisk -a ssa1 -P 列出对应ssa卡的pdisk盘
   #ssa_diag -l ssa0 显示ssa的SRN号,通过SRN号来确定问题
   #/usr/lpp/diagnostics/bin/ssa_diag -l ssa0 -a
  //如果为返回值为0则正常,如果返回为1则表示机器电源或风扇没有冗余,如果为2则表示卡坏了。
   # ssaadap -l hdisk3 确定hdisk3是从属哪个ssa卡
   ssa_progress ---to show how much(by percentage) of a format operation has been completed,
and to show the status of the format operation.the status can be "complete","formatting",or "failed"
   #ssa_progress -l pdisk0
   #ssaraid -l ssa0 -Iz 列出hdisk 和pdisk的状态
   配置确认,找到pdisk跟hdisk的对应关系
   #diag----Task Selection --SSA Service Aids--Configuration Verification
   格式化盘,将导致盘上的数据丢失。当盘无法被所用时,这是一种解决办法。
   #diag----Task Selection --SSA Service Aids--Format Disk
   验证盘是否有坏块等问题
   #diag----Task Selection --SSA Service Aids--Certify Disk
   显示或更新磁盘的Microcode
   #diag----Task Selection --SSA Service Aids--Display/Download Disk Drive Microcode--Display the Microcode levels of all SSA Physical Disk Drives 显示Microcode
   #diag----Task Selection --SSA Service Aids--Display/Download Disk Drive Microcode--Download Microcode 可选一个盘或所有的盘。是从软盘中安装。
   对盘进行raid操作,使用smitty ssaraid。
   定位盘
     #smitty dev ---ssa disks----SSA Physical Disks--- Identify an SSA Physical Disk---选中盘。
# ssaencl -l enclosure0 -b 显示enclosure0 的bypass cards 的状态
# ssaencl -l enclosure0 -c -v 显示VPD的状态
# ssaencl -l enclosure0 -I R202 更改enclosure0 的ID为 R202
# ssaencl -l enclosure0 -d 8 显示 disk bay 8 的内容
是不是用这种方法查找已经坏的磁盘,执行的时候,那个磁盘的disk identification lights会闪
确认要更换的盘之后,需要不需要返回上一级菜单:
  Cancel all SSA Disk Identifications
把确认有问题的磁盘插上,之后如果想把这个磁盘加到degraded的RAID中,需要对这个磁盘执行什么操作!
用户可以用以下命令察看7133 RAID的状态
smitty ssaraid
List Status of all Defined SSA RAID Arrays
当RAID中的硬盘出现问题时,此RAID的状态是“degraded”
1. 可用以下命令判断硬盘是否被被阵列(Array)剔除(reject):
smit ssaraid
List/Identify SSA Physical Disks
List Rejected Array Disks
如果硬盘没有被阵列(Array)剔除(reject)
smitty ssaraid
Change Member Disks in an SSA RAID Array
Remove a disk from an SSA RAID Array
选择相应的阵列(array)和想要更换的硬盘(pdisk#)。
2. 物理上更换硬盘。
3. 运行下列命令。
rmdev -dl pdisk# --从系统中删除想更换硬盘的定义。
cfgmgr -vl ssar ---从新配置新加的硬盘。
4. smitty ssaraid
Change/Show use of an ssa physical disk
将新加硬盘的状态变为 Array Candidate.
5. smiity ssaraid
Change Member Disks in an SSA RAID Array
Add a disk to an SSA RAID Array
将新硬盘加入阵列(Array)。
此时,用 smitty ssaraid
List Status of all Defined SSA RAID Arrays
检查此阵列应为“Rebuilding”状态,在Rebuilding完成后阵列
返回“Good”状态。
ssaencl -l name
[-s]
[-v]
[-i]
[-r]
[-b[card ...]]
[-t[threshold ...]]
[-a]
[-f[fan ...]]
[-d[drive_bay ...]]
[-p[PSU ...]]
[-o]
[-c]
To modify enclosure component settings:
ssaencl -l name
[-I ID [-U]]
[-B mode | card=mode ...]
[-S {d[drive_bay ...] | b[card ...] | p[PSU
...]|r|c|o}]
[-T threshold=value ...]
For help, type: ssaencl -? or ssaencl -h

转载请说明出处,谢谢!


阅读(1877) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~