A fix is available
APAR status
Closed as program error.
Error description
When running nimadm to migrate AIX on target, the alt_disk_mig_posti will remove empty directories under /usr/lpp. So directories needed in /usr/lpp/bos/inst_root will be removed if they are empty. These directories are needed for example when creating a wpar. So wpars created after that migration will fail to start with messages like : 0516-028 varyonvg: Unable to open internal map file. 0516-780 importvg: Unable to import volume group from hdisk0. /usr/lib/wpars/wparinstcmd: 0960-231 ATTENTION: '/usr/sbin/importvg -V 10 -y rootvg hdisk0' failed with code 1. This is because /etc/vg in wpar populated from /usr/lpp/bos/inst_root/etc/vg (which was removed by nimadm) is absent. Several other directories are missing like /var/tmp /audit /var/spool/* /mnt will be missing.
Local fix
cd /usr/lpp/bos/inst_root mkdir -p ./usr ./admin/tmp ./audit ./dev ./etc/rc.d/init.d ./etc/rc.d/rc2.d ./etc/rc.d/rc3.d ./etc/rc.d/rc4.d ./etc/rc.d/rc5.d ./etc/rc.d/rc6.d ./etc/rc.d/rc7.d ./etc/rc.d/rc8.d ./etc/rc.d/rc9.d ./etc/vg ./home/guest ./home/lost+found ./lost+found ./lpp ./mnt ./opt ./proc ./tmp/lost+found ./etc/security/fpm/custom ./etc/security/fpm/custom/high ./etc/security/fpm/custom/med ./etc/security/fpm/custom/default ./var/adm/ras/platform ./var/adm/streams ./var/adm/sw/tmp/bos.rte.ILS ./var/adm/sw/tmp/bos.rte.bind_cmds ./var/adm/sw/tmp/bos.rte.console ./var/adm/sw/tmp/bos.rte.date ./var/adm/sw/tmp/bos.rte.edit ./var/adm/sw/tmp/bos.rte.iconv ./var/adm/sw/tmp/bos.rte.install ./var/adm/sw/tmp/bos.rte.libc ./var/adm/sw/tmp/bos.rte.libcfg ./var/adm/sw/tmp/bos.rte.libcur ./var/adm/sw/tmp/bos.rte.libpthreads ./var/adm/sw/tmp/bos.rte.loc ./var/adm/sw/tmp/bos.rte.methods ./var/adm/sw/tmp/bos.rte.misc_cmds ./var/adm/sw/tmp/bos.rte.mlslib ./var/adm/sw/tmp/bos.rte.net ./var/adm/sw/tmp/bos.rte.odm ./var/locks ./var/lost+found ./var/msgs ./var/news ./var/preserve ./var/security/fpm/log ./var/spool/cron/atjobs ./var/spool/lpd/qdir ./var/spool/lpd/stat ./var/spool/mqueue ./var/spool/qdaemon ./var/spool/writesrv ./var/tmp Then wpar can be created and started.
Problem summary
When starting wpar the following errors will occurr: 0516-028 varyonvg: Unable to open internal map file. 0516-780 importvg: Unable to import volume group from hdisk0. /usr/lib/wpars/wparinstcmd: 0960-231 ATTENTION: '/usr/sbin/importvg -V 10 -y rootvg hdisk0' failed with code 1.
Problem conclusion
Correct testing in file alt_disk_mig_posti
Temporary fix
Comments
APAR Information
APAR number
IZ92551
Reported component name
AIX V7.1
Reported component ID
5765H4000
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2011-01-19
Closed date
2011-03-28
Last modified date
2013-04-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.1
Fixed component ID
5765H4000
Applicable component levels
R710 PSY
UP
PTF to Fileset Mapping
U843090 bos.alt_disk_install.rte 6.1.6.16
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
16 April 2013