After fixing the errors with multibos, as per my Blog post here: Multibos Remove Blog, I then proceeded to do the nimadm upgrade to AIX 7.1, and this failed with the following errors.
Cloning altinst_rootvg on client, Phase 1.
Client alt_disk_install command: alt_disk_copy -j -M 7.1 -P1 -d "hdisk0"
Calling mkszfile to create new /image.data file.
/usr/bin/mkszfile[1276]: FS_MIN_LOG = FS_MIN_LOG * 20480 : 0403-009 The specified number is not valid for this command.
0505-121 alt_disk_install: Error.
Cleaning up.
0505-187 nimadm: Error cloning altinst_rootvg on client.
These errors are produced due to the issues with the multibos remove and you will need to unmount and fsck the /opt mount to fix this.
fuser -xcu /dev/hd10opt
/dev/hd10opt: 4784308e(root) 5177566e(root) 6488212e(root) 6553650e(root) 6881280s(root) 9109540s(root)
kill 4784308 5177566 6488212 6553650 6881280 9109540
umount -f /opt
forced unmount of /opt
forced unmount of /opt
fsck /opt
The current volume is: /dev/hd10opt
Primary superblock is valid.
*** Phase 1 - Initial inode scan
*** Phase 2 - Process remaining directories
*** Phase 3 - Process remaining files
*** Phase 4 - Check and repair inode allocation map
*** Phase 5 - Check and repair block allocation map
File system is clean.
Now you can remount /opt.
mount /opt
Re-run the mkszfile to ensure it completes okay.
mkszfile
print $?
0
Remove the /bos_inst directory if it still exists.
rmdir /bos_inst
Now continue with the nimadm upgrade.