Patch Name: PHCO_24514 Patch Description: s700_800 11.00 vxrestore(1M) cumulative patch Creation Date: 01/07/09 Post Date: 01/08/22 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_24514 Symptoms: PHCO_24514: 1) FIFO special files are not restored. 2) Symbolic links are restored with incorrect ownership and permissions. PHCO_18467: Enchancement to allow for multiple versions of VxFS on 11.00. PHCO_16244: The "-s number" option of the vxrestore does not recover the specified dump on a tape containing multiple dumps. Defect Description: PHCO_24514: 1) vxrestore has no FIFO case in the switch() statement, as a result, FIFO special files are not restored. 2) When restoring symbolic links, vxrestore changes the ownership and the permissions of the symbolic link to that of the user running vxrestore. Resolution: 1) Add the IFIFO case to the switch() statement. 2) Save the ownership and umask of the symbolic link before restoring it and restore the ownership and permissions after the link is restored. PHCO_18467: Multiple versions of VxFS may co-exist (be installed) however only one VxFS version may be configured into the kernel. Additionally, each VxFS version has its own set of commands. Therefore, it is necessary to identify which version of "vxfs" is currently running and then to subsequently run the appropriate command version. The HP 11.00 VxFS vxrestore command will now act as a "wrapper" - deciding which VxFS version of vxrestore to execute. To allow for multiple VxFS versions the following patches are required: PHCO_19491 libc PHCO_18462 diskusg_vxfs PHCO_18463 fscat PHCO_18464 getext PHCO_18465 setext PHCO_18466 vxdump PHCO_18468 vxupgrade PHCO_18470 df PHCO_18471 fstyp PHCO_18472 fs_wrapper PHCO_18473 mount_wrapper PHCO_19673 fsck_hfs PHCO_19623 mount_hfs PHCO_19624 mount_cdfs PHCO_19631 lvchange PHCO_19656 mkboot Please note that PHCO_18467 can be used without the above patch dependencies if multiple VxFS version support is not required. Resolution: Implement mechanism to allow vxrestore to identify which version of VxFS is currently configured in the kernel and then to subsequently run the appropriate version of vxrestore. PHCO_16244: The "-s number" option of the vxrestore does not recover the specified dump on a tape containing multiple dumps. Vxrestore was always retrieving the dump at which the tape was currently positioned at. SR: 8606202556 5003399683 4701427328 Patch Files: JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lbin/fs/vxfs/vxrestore /usr/sbin/rvxrestore /usr/sbin/vxrestore /sbin/vxrestore what(1) Output: JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/lbin/fs/vxfs/vxrestore: $Revision: 82.2.1.5 $ PATCH_11_00: dirs.o interactive.o main.o restore.o s ymtab.o tape.o utilities.o hpux_rel.o ../vxd ump.3/dumprmt.o 01/07/09 JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/sbin/rvxrestore: $Revision: 82.2.1.5 $ PATCH_11_00: dirs.o interactive.o main.o restore.o s ymtab.o tape.o utilities.o hpux_rel.o ../vxd ump.3/dumprmt.o 01/07/09 JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/sbin/vxrestore: $Revision: 82.2.1.5 $ PATCH_11_00: dirs.o interactive.o main.o restore.o s ymtab.o tape.o utilities.o hpux_rel.o ../vxd ump.3/dumprmt.o 01/07/09 JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /sbin/vxrestore: $Revision: 82.2.1.5 $ $ PATCH/11.00:PHCO_24148 May 25 2001 08:04:43 $ PATCH_11_00: dirs.o interactive.o main.o restore.o s ymtab.o tape.o utilities.o hpux_rel.o 01/07/ 09 cksum(1) Output: JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3155300302 135168 /usr/lbin/fs/vxfs/vxrestore JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3155300302 135168 /usr/sbin/rvxrestore JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3155300302 135168 /usr/sbin/vxrestore JournalFS.VXFS-BASE-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1773783464 393216 /sbin/vxrestore Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_16244 PHCO_18467 Equivalent Patches: None Patch Package Size: 540 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_24514 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_24514.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_24514. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_24514.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_24514.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_24514.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_24514.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None