- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using DRD to upgrade to 11.31 update4
Operating System - HP-UX
1752277
Members
4788
Online
108786
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 11:54 AM
06-02-2009 11:54 AM
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
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
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
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP