Last month I applied the latest fix pack for VIOS 2.1 i.e. FP22, to one of our lab VIOS.

I came across the following error while doing so:

Renaming Media Repository Logical Volume:

VMLibrary_LV --> VMLibrary

umount: error unmounting /dev/VMLibrary_LV: Device busy

Media Repository failed to unmount. We cannot continue

until it can be successfully unmounted. Please address

and retry.

update: Failed while executing the ios.cli.rte.post_u script.

installp: The installation has FAILED for the "root" part

of the following filesets:

ios.cli.rte 6.1.4.1

Despite the error, the ioslevel command reported that the fix pack had been applied. This was misleading, as a critical fileset had not been updated i.e. ios.cli.rte.

$ ioslevel

2.1.2.10-FP-22

To workaround this problem I removed the Virtual Media Repository on the VIOS.

$ rmrep

As the ios.cli.rte fileset had not installed properly, I had to reinstall the base fileset and then apply the update (fix pack) again.

----

1 Total to be installed

+-----------------------------------------------------------------------------+

Installing Software...

+-----------------------------------------------------------------------------+

installp: APPLYING software for:

ios.cli.rte 6.1.2.0

. . . . . << Copyright notice for ios.cli >> . . . . . . .

Licensed Materials - Property of IBM

5765G3400

Copyright International Business Machines Corp. 2004, 2008.

All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

. . . . . << End of copyright notice for ios.cli >>. . . .

0 * * * * /usr/ios/cli/cron_mail_check.sh 2>/dev/null

0 * * * * /usr/ios/cli/cron_mail_check.sh 2>/dev/null

0 * * * * /usr/ios/cli/cron_mail_check.sh 2>/dev/null

root

padmin

Finished processing all filesets. (Total time: 18 secs).

+-----------------------------------------------------------------------------+

Summaries:

+-----------------------------------------------------------------------------+

Installation Summary

--------------------

Name Level Part Event Result

-------------------------------------------------------------------------------

ios.cli.rte 6.1.2.0 USR APPLY SUCCESS

ios.cli.rte 6.1.2.0 ROOT APPLY SUCCESS

# lslpp -l ios.cli.rte

Fileset Level State Description

----------------------------------------------------------------------------

Path: /usr/lib/objrepos

ios.cli.rte 6.1.4.1 COMMITTED Virtual I/O Technologies

Path: /etc/objrepos

ios.cli.rte 6.1.4.1 COMMITTED Virtual I/O Technologies

Then I recreated the media repository with mkrep.

$ mkrep -sp rootvg -size 10G

At the time I thought perhaps I had done something wrong. I forgot all about it, until now. Today (a month after my experience), IBM updated the VIOS support page with the following information:

http://www14.software.ibm.com/webapp/set2/sas/f/vios/download/fbmr.html

Known issues and limitations

File Backed Optical Media Repository: If you use the File Backed Optical Media Repository, you must unload any media images before you apply Fix Pack 22.1. If you have any media images loaded, the fix pack installation fails for the

ios.cli.rte fileset. The failure may not be apparent, because the ioslevel will be updated. Refer to this page for information to help you resolve this problem.

And they re-released FP22 as FP22.1.

http://www14.software.ibm.com/webapp/set2/sas/f/vios/download/fixpack.html

Fixes in Fix Pack 22.1 (VIOS V2.1.2.10 FP-22.1) include:

Fixed problem with Electronic Service Agent in IVM

Fixed problem in bus device driver for NPIV

Fixed problem in device driver pertaining to reading SSD disks (MPIO fixes)

Fixed problem in xmtopas (install problem)

Fixed packaging problem with the Media Repository

Fixed problem with backupios ? fails to give adequate details on stdout errors