Creating a boot disk with alt_disk_install
In order to use this command, the following file sets must be installed:
bos.alt_disk_install.boot_images
bos.alt_disk_install.rte (pour rootvg cloning)
1. Create a logical drive on the DS4000 big enough to contain all
rootvg data, and make an appropriate zoning to see the DS4000 from the
AIX system.
2. Assuming that the source internal SCSI disk is hdisk0 and the target disk on the DS4000
is hdisk3, use one of the following commands to clone hdisk0 to hdisk3:
#lsdev –Cc disk
#/usr/sbin/alt_disk_install –C –B -P all hdisk3
3.You can verify the result with the lspv command, activating the
volume group with varyonvg altinst_rootvg and lsvg -l altint_rootvg.
#lspv
#varyonvg altinst_roog
#lsvg –l altinst_rootvg
4.you need to clean up the alternate disk volume group and make hdisk0 as a system
disk using the command:
#alt_disk_install -X
5.Ensure the proper boot logical setting for the target disk:
/usr/lpp/bosinst/blvset -d /dev/hdisk3 -g level
6. If you find that the boot logical volume settings on the cloned disk are blank, you should
update the cloned boot logical volume manually with the following command:
echo y | /usr/lpp/bosinst/blvset -d /dev/hdisk3 -plevel
7. It is then necessary to change the AIX boot list to force AIX to start on hdisk3 at the next
reboot.
#bootlist -m normal hdisk3
#shutdown -Fr
8. The system comes back up, booting from the DS4000 rootvg disk.
Creating a SAN boot disk by mirroring
#smitty vg
→ Set Characteristics of a Volume Group
→ Add a Physical Volume from a Volume Group.
#smitty vg → Mirror a Volume Group,
Verify that all partitions are mirrored (see Figure 10-8) with
#lsvg -l rootvg,
recreate the boot logical drive, and change the normal boot list with the following commands:
#bosboot -ad hdisk3
#bootlist -m normal hdisk3
The next step is to remove the original mirror copy with smitty vg → Unmirror a Volume Group.
Remove the disk from the volume group rootvg with smitty vg → Set
Characteristics of a Volume Group → Remove a Physical Volume from a
Volume Group
We recommend that you execute the following commands again:
bosboot -ad hdisk3
bootlist -m normal hdisk3
阅读(2421) | 评论(0) | 转发(0) |