ImageVerifierCode 换一换
格式:DOCX , 页数:6 ,大小:18.56KB ,
资源ID:5073812      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/5073812.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(AIX上移除和替换硬盘的标准步骤.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

AIX上移除和替换硬盘的标准步骤.docx

1、AIX上移除和替换硬盘的标准步骤This document describes the procedures to remove and replace a fixed disk in a volume group. These procedures DO NOT apply in the following environments: 1. The disk is in a shared volume group. This would apply to environments that use HACMP, RVSD, or any other management software.

2、Refer to the documentation for that product for correct disk replacement procedures. The SSA Users Guide explains the procedures for changing disks in a RAID or hot swap environment. It is available for download at: 48 2. The disk is in rootvg and the disk contains any one of the following logical v

3、olumes, which are not mirrored: hd2, hd3, hd4, hd6, hd9var, hd8In this case, you would need to replace the disk and restore from a system backup specifying the correct disks to restore. 3. The system is a /usr, dataless, or diskless client.This document applies to AIX Versions 4.3.3 and 5L. Please r

4、ead the entire document before proceeding and ensure all relevant fixes mentioned in this document or otherwise are installed prior to using these procedures. Removing a physical volume from a volume groupThe basic steps to replacing a disk drive are as follows: 1. Deallocate all the physical partit

5、ions associated with the physical volume in the associated volume group.2. Remove the physical volume from the volume group. 3. Remove the definition for the disk from the device configuration database.These steps are outlined in more detail in subsequent sections. If there is just one disk in the v

6、olume group, proceed to the next section, How to proceed if the volume group has just one disk. Otherwise, proceed to the section entitled Deallocating physical partitions from the disk. How to proceed if the volume group has just one diskIf the drive to be replaced is the only drive in the volume g

7、roup, then remove the volume group definition with: exportvg At this point, remove the disk definition using the rmdev command. Details are included in the section Removing the disk definition from the system in this document. Checking to see what quorum is set toIf your volume group is mirrored, yo

8、u could have disabled quorum. The purpose of quorum is explained in the IBM Redbook: LVM: Introduction and Concepts. Here is an excerpt: A quorum is a vote of the number of Volume Group Descriptor Areas and Volume Group Status Areas (VGDA/VGSA) that are active. A quorum ensures data integrity in the

9、 event of a disk failure. Each physical disk in a volume group has at least one VGDA/VGSA. When a volume group is created onto a single disk, it initially has two VGDA/VGSA areas residing on the disk. If a volume group consists of two disks, one disk still has two VGDA/VGSA areas, but the other disk

10、 has one VGDA/VGSA. When the volume group is made up of three or more disks, then each disk is allocated one VGDA/VGSA. A quorum is lost when enough disks and their VGDA/VGSA areas are unreachable so that a 51% majority of VGDA/VGSA areas no longer exists. In a two-disk volume group, if the disk wit

11、h only one VGDA/VGSA is lost, a quorum still exists because two of the three VGDA/VGSA areas still are reachable. If the disk with two VGDA/VGSA areas is lost, this statement is no longer true. The more disks that make up a volume group, the lower the chances of quorum being lost when one disk fails

12、. lsvg testvg - check to see if Quorum is set to 1 VOLUME GROUP: testvg VG IDENTIFIER: 00097c7f00004c00000000f4a163bc7b VG STATE: active PP SIZE: 16 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 1084 (17344 megabytes) MAX LVs: 256 FREE PPs: 998 (15968 megabytes) LVs: 12 USED PPs: 86 (1376 megabyt

13、es) OPEN LVs: 9 QUORUM: 1 TOTAL PVs: 2 VG DESCRIPTORS: 3 STALE PVs: 1 STALE PPs: 1 ACTIVE PVs: 2 AUTO ON: yes MAX PPs per PV: 2032 MAX PVs: 16If replacing the disk drive immediately, then you may not have to turn quorum back on. The mirrorvg command automatically turns quorum off and the unmirrorvg

14、command automatically turns quorum on. If you are dealing with rootvg, the only way to have a change in quorum take effect, is to reboot. If this is a non-rootvg volume group, quorum can be changed by varyingoff the volume group and then varying it back on. To change quorum from the command line, ru

15、n the following: chvg -Q n vgname - turns quorum offchvg -Q y vgname - turns quorum on In order to varyoff a volume group, unmount all filesystems and make sure all logical volumes are in a closed state. Enter: lsvg -l testvg LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT testlv jfs2 1 1 1 closed/syn

16、cd /testfs loglv00 jfs2log 1 1 1 closed/syncd N/AOnce all the logical volumes are closed, run the following: varyoffvg vgname varyonvg vgnameThe new quorum change will be in effect. Deallocating physical partitions from the diskEvery physical partition (PP) on the disk allocated to any logical volum

17、e (LV), including file systems or paging spaces, must be deallocated, either by moving the contents of those PPs to another disk or by removing them. To determine what logical volumes have PPs allocated to that disk, run: lspv -l If the hdisk name no longer exists, and the disk is identifiable only

18、by its 16-digit PVID (you might see this from the output of lsvg -p ), substitute the PVID for the disk name. For example: lspv -l 0123456789abcdefYou may receive the following error: 0516-320 : Physical volume 00001165a97b10c6 is not assigned to a volume group.If so, run the following command: putl

19、vodm -p getlvodm -v VGname refers to your volume group, PVID refers to the 16-digit physical volume identifier, and the characters around the getlvodm command are grave marks, the backward single quote mark. The lspv -l command should now run successfully. If another disk in the volume group has spa

20、ce to contain the partitions on this disk, and the disk to be replaced has not failed, the migratepv command may be used to move the used PPs on this disk. See the man page for the migratepv command on the steps to do this. If the partitions cannot be migrated, they must be removed. The output of th

21、e lspv -l , or lspv -l , command indicates what logical volumes will be affected. Run the following command on each LV: lslv The COPIES field shows if the LV is mirrored. If so, remove the failed copy with: rmlvcopy 1 hdisk# refers to all the disks in the copy that contain the failed disk. A list of

22、 drives can be specified with a space between each. Use the lslv -m command to see what other disks may need to be listed in the rmlvcopy command. If the disk PVID was previously used with the lspv command, specify that PVID in the list of disks given to the rmlvcopy command. At AIX Version 4.2.1 or

23、 higher, the unmirrorvg command may be used in lieu of the rmlvcopy command. See the man pages for rmlvcopy and unmirrorvg, or other documentation, for additional information. If the LV is not mirrored, the entire logical volume must be removed, even if just one physical partition resides on the dri

24、ve to be replaced and cannot be migrated to another disk. If the unmirrored LV is a JFS file system, unmount the file system and remove it. Enter: umount / rmfs /If the unmirrored logical volume is a paging space, see if it is active. Enter: lsps -aIf it is active, set it to be inactive on the next

25、reboot. Enter: chps -a n After you reboot, remove it by entering: rmps Remove any other unmirrored logical volume with the following command: rmlv NOTE: If the LV is serving as a dump device, the dump pointer must first be reassigned. The same is true if the LV was mirrored and the copy is being rem

26、oved. Check the dump pointers by entering: sysdumpdev -lReassign the dump pointers. Enter: sysdumpdev -Pp /dev/sysdumpnull (for the primary device)sysdumpdev -Ps /dev/sysdumpnull (for the secondary device) The pointers can be reassigned to the appropriate logical volume after it is recreated. Deleti

27、ng the disk from the volume groupUsing either the PVID or the hdisk name, depending on which was used when running lspv -l in the preceding discussion, run one of the following: reducevg -f reducevg -f If you used the PVID value and if the reducevg command complains that the PVID is not in the devic

28、e configuration database, run the following command to see if the disk was indeed successfully removed: lsvg -p If the PVID or disk is not listed at this point, then ignore the errors from the reducevg command. Removing the disk definition from the systemRemove the hdisk. Enter: rmdev -dl If the dis

29、k was an SSA disk, delete the pdisk. Enter: rmdev -dl If the disk was an SSA disk, determine which pdisk number corresponds to the hdisk. The easiest way to do this is by using the ssaxlate commands. Enter the following: ssaxlate -l hdisk# - shows the pdisk#(s) definition ssaxlate -l pdisk# - shows

30、the hdisk# definitionAnother way to do this is with the following commands: lsdev -Cc disk -F name connwhere lsdev -Cc pdisk -F name connwhereSee which SSA disk serial number coincides with the hdisk to remove. If the hdisk does not appear, or if the user has been working with a PVID value up to thi

31、s point, the pdisk whose serial number does not coincide with any of the hdisks is likely to be the disk to remove. Other SSA commands might provide additional information. Consult the SSA documentation. If you have been working with a PVID value rather than with an hdisk name, ensure that the PVID is removed from the ODM with the following command. The 32-digit value supplied consists of the PVID plus 16 zeros. For example: odmdelete -q value=0073659c2c6d26f100000000000

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1