Operating System - HP-UX
1752277 Members
4788 Online
108786 Solutions
New Discussion

Re: Using DRD to upgrade to 11.31 update4

 
SOLVED
Go to solution
Patricia May Miller
Occasional Advisor

Re: Using DRD to upgrade to 11.31 update4

Here is the Known Issue that we are publishing to docs.hp.com/en/DRD:

Issue Description
When executing â drd runcmd update-uxâ on the inactive DRD system image, the command errors out with this ERROR:
ERROR: Cannot determine how to unmount/mount the source depot "â
In order to use a directory depot on the active system image, you will need to create a loopback mount to access the depot.

Issue Resolution

Update from a directory depot or single DVD on the active system image (must be done as root, in this order):

1) Mount the clone using â drd mountâ

2) Make the directory on the clone and loopback mount the depot. The directory on the clone and the source depot must have the same name, in this case â 0909_DCOEâ , however the name can be whatever you chose:
# mkdir /var/opt/drd/mnts/sysimage_001/0909_DCOE
# mount -F lofs /0909_DCOE /var/opt/drd/mnts/sysimage_001/0909_DCOE
# drd runcmd update-ux -s /0909_DCOE

3) Once your update has completed, unmount the loopback mount and then unmount the clone
# umount â F lofs /0909_DCOE /var/opt/drd/mnts/sysimage_001/0909_DCOE
# drd umount


Updates from multiple-DVD Media

Updates directly from media are not supported for DRD updates. In order to update from media, you must copy the contents to a directory depot either on a remote server (easiest method) or to a directory on the active system. If it must be on the active system image you must first copy the mediaâ s contents to a directory depot and then create the clone. If you already have a clone, you can copy the depot and then loopback mount that depot to the clone (see instructions below).

To copy the software from the DVDâ s, make a directory on a remote system or the active system image; mount the DVD media and swcopy its contents into the newly created directory. Unmount the first disk and insert the second DVD to copy its contents into the directory.

# mkdir /software_depot/DCOE-DVD
# mount /dev/disk/diskX /cdrom
# swcopy -s /cdrom â x enforce_dependencies=false \* @/software_depot/DCOE-DVD
# umount /cdrom
# mount /dev/disk/diskX /cdrom <-- DVD2
# swcopy -s /cdrom â x enforce_dependencies=false \* @/software_depot/DCOE-DVD

If the depot resides on a remote server (a system other than the one to be updated), proceed with the â drd runcmd update-uxâ command and specify the location as the argument of the â -sâ parameter:
drd runcmd update-ux -s :/software_depot/DCOE-DVD

If the depot resides in the root group of the system to be cloned, and the clone has not yet been created, create the clone and issue the â drd runcmd update-ux â command, specifying the location of the depot as it appears on the booted system:
drd runcmd update-ux â s /software_depot/DCOE-DVD

If the depot resides on the system to be updated, in a location other than the root group, or if the clone has already been created, use the loopback mount directions in â Update from a directory depot or single DVD on the active system imageâ .

Thanks for hanging in there and alerting us to this defect. We will try to resolve it for the next DRD release.

Patricia