Chinaunix首页 | 论坛 | 博客
  • 博客访问: 663043
  • 博文数量: 109
  • 博客积分: 6081
  • 博客等级: 准将
  • 技术积分: 1318
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-24 10:28
文章分类
文章存档

2011年(8)

2010年(39)

2009年(62)

分类:

2009-12-26 22:18:32

AIX 更换坏硬盘


IBM P550 , AIX6.1

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


#diag  

 

FUNCTION SELECTION                                                                                                            801002

 

Move cursor to selection, then press Enter.

 

  Diagnostic Routines

    This selection will test the machine hardware. Wrap plugs and

    other advanced functions will not be used.

  Advanced Diagnostics Routines

    This selection will test the machine hardware. Wrap plugs and

    other advanced functions will be used.

  Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.)

    This selection will list the tasks supported by these procedures.

    Once a task is selected, a resource menu may be presented showing

    all resources supported by the task.

  Resource Selection

    This selection will list the resources in the system that are supported

    by these procedures. Once a resource is selected, a task menu will

be presented showing all tasks that can be run on the resource(s).

 

TASKS SELECTION LIST                                                                                                          801004

 

 

From the list below, select a task by moving the cursor to

the task and pressing 'Enter'.

To list the resources for the task highlighted, press 'List'.

 

  Run Diagnostics

  Run Error Log Analysis

  Run Exercisers

  Display or Change Diagnostic Run Time Options

 

  Add Resource to Resource List

  Automatic Error Log Analysis and Notification

  Backup and Restore Media

  Certify Media

  Change Hardware Vital Product Data

  Configure Platform Processor Diagnostics

  Delete Resource from Resource List

  Disk Maintenance

  Display Configuration and Resource List

  Display Firmware Device Node Information

  Display Hardware Error Report

  Display Hardware Vital Product Data

  Display Multipath I/O (MPIO) Device Configuration

  Display Previous Diagnostic Results

  Display Resource Attributes

  Display Service Hints

  Display Software Product Data

  Display USB Devices

  Display or Change Bootlist

  Format Media

  Gather System Information

  Hot Plug Task

  Identify and Attention Indicators

  Load ISO Image to Flashdrive

  Local Area Network Analyzer

  Log Repair Action

  Microcode Tasks

  Periodic Diagnostics

  RAID Array Manager

  Update Disk Based Diagnostics

 

Hot Plug Task                                                                                                                 801004

 

Move cursor to desired item and press Enter.

 

  PCI Hot Plug Manager

  SCSI and SCSI RAID Hot Plug Manager

SCSI and SCSI RAID HOT PLUG MANAGER                                                                                           802481

 

The following operations can be performed on devices attached to

SCSI and SCSI RAID Hot Plug Enclosure devices.

 

Make selection, use Enter to continue.

 

  List Hot Swap Enclosure Devices

    This selection lists all scsi hot swap slots and their contents.

  Identify a Device Attached to a SCSI Hot Swap Enclosure Device

    This selection sets the Identify indication.

  Attach a Device to an SCSI Hot Swap Enclosure Device

    This selection sets the Add indication and prepares

    the slot for insertion of a device.

  Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device

    This selection sets the Remove indication and prepares

    the device for removal.

  Configure Added/Replaced Devices

    This selection runs the configuration manager on the

    parent adapter where devices have been added or replaced.


更换磁盘步骤:

一、确认磁盘是否损坏

#lspv

发现hdisk2 为非PV,应为没有PV ID。

#chdev -l hdisk2  -a pv=yes  //改命令执行失败,应该磁盘数据写不进去


如果磁盘上面没有数据,也可以通过 dd 命令测试磁盘是否可写。不可写,可以确定磁盘已经损坏了。

#rmdev -dl hdisk2


二、开始更换磁盘

1、 List Hot Swap Enclosure Devices 

查看可以热插拔的磁盘槽位。


2、  Identify a Device Attached to a SCSI Hot Swap Enclosure Device

标志损坏磁盘的位置


3、 Replace/Remove a Device Attached to an SCSI Hot Swap Enclosure Device

执行该命令,准备更换磁盘


4、插入磁盘


5、  Configure Added/Replaced Devices

相当于 cfgmgr 命令,从新查找硬件




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