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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

volume group. Therefore, you can still reboot from that volume group, if you reset<br />

your bootlist.<br />

To see which disk is the boot disk, of the old_rootvg volume group, after a reboot<br />

from the alternate disk, the -q flag has been added to alt_disk_install to<br />

determine the boot disk, from the user specified disk and its associated volume<br />

group. The command syntax is:<br />

# alt_disk_install -q <br />

Given any disk in the volume group, and the command will return the actual boot<br />

disk (contains hd5), for that volume group.<br />

# lspv<br />

hdisk0 00006091aef8b687 old_rootvg<br />

hdisk1 00076443210a72ea rootvg<br />

hdisk2 0000875f48998649 old_rootvg<br />

# alt_disk_install -q hdisk0<br />

hdisk1<br />

In this case, the boot disk for old_rootvg is actually hdisk1. Therefore, you could<br />

reset your bootlist to hdisk1 and reboot to the original rootvg volume group.<br />

# bootlist -m normal hdisk1<br />

# reboot -q<br />

This query will work on any volume group that has a boot (hd5) logical volume.<br />

Different names for altinst_rootvg are now possible for the case that a user would<br />

want to have multiple alternate disks on one system (one with <strong>4.3</strong>.2, one with<br />

4.2.1, and so on). The -v flag was added to allow non-rootvg volume group<br />

names to be changed. The syntax for this is:<br />

# alt_disk_install -v <br />

For example, on a 4.2.1 system, run alt_disk_install to restore a <strong>4.3</strong>.2 mksysb to<br />

hdisk2 and hdisk3. Execute alt_disk_install, with the -v flag, to rename the<br />

altinst_rootvg volume group name. Then, on the same system, run<br />

alt_disk_install to clone the 4.2.1 system to hdisk4 and hdisk5. Finally, rename<br />

the cloned altinst_rootvg.<br />

# lspv<br />

hdisk0 00006091aef8b687 rootvg<br />

hdisk1 00000103000d1a78 rootvg<br />

hdisk2 000040445043d9f3 None<br />

hdisk3 00076443210a72ea None<br />

hdisk4 0000875f48998649 None<br />

hdisk5 000005317c58000e None<br />

# alt_disk_install -d /dev/rmt0 hdisk2 hdisk3<br />

...<br />

# lspv<br />

hdisk0 00006091aef8b687 rootvg<br />

hdisk1 00000103000d1a78 rootvg<br />

hdisk2 000040445043d9f3 altinst_rootvg<br />

hdisk3 00076443210a72ea altinst_rootvg<br />

hdisk4 0000875f48998649 None<br />

hdisk5 000005317c58000e None<br />

# alt_disk_install -v alt_disk_432 hdisk2<br />

# lspv<br />

System Management and Utilities 127

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

Saved successfully!

Ooh no, something went wrong!