24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

At the end of the install a volume group, altinst_rootvg, is left on the target disks<br />

in the varied off state as a place holder. If varied on, it will show as owning no<br />

logical volumes, but it does, in fact, contain logical volumes. Their definitions<br />

have been removed from the ODM because their names now conflict with the<br />

names of the logical volumes on the running system. It is recommended that you<br />

do not vary on the altinst_rootvg volume group but just leave the definition there<br />

as a place holder.<br />

When the system reboots from the new disk, the former rootvg will not show up in<br />

an lspv listing. The disks that were occupied by the rootvg will show up as not<br />

having a volume group. However, you can still use the bootlist command to<br />

change the bootlist to reboot from the old rootvg if necessary.<br />

When the system is rebooted from the new altinst_rootvg, then lspv will show the<br />

old rootvg as old_rootvg so you will know which disk or disks your previous rootvg<br />

was on. There is also a -q option in alt_disk_install that will allow you to query to<br />

see which disk has the boot logical volume so you can set your bootlist correctly<br />

for cases when old_rootvg has more than one disk.<br />

The alternate root file system is mounted as /alt_inst, so other file systems also<br />

have that prefix (/alt_inst/usr, /alt_inst/var). This is how they must be accessed if<br />

using a customization script.<br />

Note: If you have created an alternate rootvg with alt_disk_install, but no<br />

longer want use it, or you want to run alt_disk_install commands again, do not<br />

run exportvg on altinst_rootvg. Simply run the alt_disk_install -X command to<br />

remove the altinst_rootvg definition from the ODM database.<br />

The reason you cannot run the exportvg command (or the reducevg command) is<br />

that the logical volume names and file systems now have the real names, and<br />

exportvg removes the stanzas for the real file system from /etc/filesystems for the<br />

real rootvg.<br />

If exportvg is run by accident, be sure to recreate the /etc/filesystems file before<br />

rebooting the system. The system will not reboot without a correct<br />

/etc/filesystems file.<br />

6.8.1 alt_disk_install Command Syntax<br />

The following is an example of the alt_disk_install command:<br />

alt_disk_install -d device || -C [-i image.data ] [-s script ] [-R resolv_conf<br />

]<br />

[-D] [-B] [-V] [-r] [-p platform ] [-L mksysb_level ]<br />

[-b bundle_name [ [ -I installp_flags ] [-l images_location ] [-f fix_bundle ]<br />

[-F fixes ] [-e exclude_list ] [-w filesets ] target_disks...<br />

alt_disk_install -X<br />

The following is a description of alt_disk_install flags:<br />

-d device<br />

The value for device can be:<br />

• Tape device - for example, /dev/rmt0.<br />

122 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!