- configure additional disks (if not yet recognized)
smit -C Devices - Install/Configure Devices Added After IPL
- add disks to existing VG's
smit -C System Storage Management - LVM - Volume Groups - Set Characteristics ... - Add a Physical Volume to a Volume Group
- Mirror the volume group,
- Method 1 (traditional), by LV
smit -C System Storage Management - LVM - Logical Volumes - Set Characteristics ... - Add a Copy to a Logical Volume
selection list via F4 key. (forrootvg
the LVshd6,hd8,hd4,hd2,hd9var,hd3,hd1,...
have to be selected, unfortunately one after the other separately.hd5
must not be mirrored this way) Fill the following entries and submit:NEW TOTAL number of logical partition 2 SYNCHRONIZE the data in the new yes logical partition copies?
Be patient, this might take some time because data has to be copied to the mirror disk.
For arootvg
(only) the mirror copy must be made bootablemklv -y hd51 -t boot -a e rootvg 2 hdiskx bosboot -a -l /dev/hd51 -d /dev/hdiskx bootlist -m normal hdisky hdiskx
wherehdiskx
is the additional physical volume holding the mirror andhdisky
the original (x,y = 0..n ) - Method 2 (new, faster), by VG
smitty System Storage Management - LVM - Logical Volumes - Volume Groups - Mirror a Volume Group PHYSICAL VOLUME names [hdiskx] Number of COPIES 2
Be patient, this might take some time because data has to be copied to the mirror disk. As suggested, for arootvg
(only) the mirror copy must be made bootablebosboot -a -l /dev/hd5 -d /dev/hdiskx bosboot -a -l /dev/hd5 -d /dev/hdisky bootlist -m normal hdisky hdiskx
- Method 1 (traditional), by LV
- Switch off the disk quorum for the volume group.
smit -C System Storage Management - Volume Groups - Set Characteristics ... - Change a Volume Group
selection list via F4 key. Fill the following entries (example fortkrvg
) and submit.* VOLUME GROUP name tkrvg * Activate volume group AUTOMATICALLY yes + at system restart? * A QUORUM of disks required to keep the volume no + group on-line ?
- Ensure synchronization of mirror and original, e.g.:
syncvg -v rootvg syncvg -v tkrvg
Mirroring an AIX volume group
最新推荐文章于 2021-01-26 13:53:41 发布