Patch Name: PHCO_19772 Patch Description: s700_800 11.00 st(1M), shared tape, cumulative patch Creation Date: 99/09/22 Post Date: 99/09/27 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.SYS-ADMIN,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 general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_19772 Symptoms: PHCO_19772: If the tape is allocated to the same system as where the st(1M) command is issued, st(1M) returns 1, instead of 0 when successful. Also, a different error format is returned other than what is described on the man page in this case on failure. PHCO_16720: Need a command-line interface for checking the status of a shared tape device, or for reclaiming a shared tape device from a host that has failed while holding a reservation on the device. Defect Description: PHCO_19772: Changes have been made to st(1M) to allow the proper return code to be returned on success. Also, a more descriptive, correctly formatted error message has been added in the case that a device is on the same system as where the st(1M) command was issued, but the device is busy. PHCO_16720: Need a command-line interface for checking the status of a shared tape device, or for reclaiming a shared tape device from a host that has failed while holding a reservation on the device. An enhancement to the mt(1) command adds the functionality that allows a host to reserve and release a shared tape device. However, if a host goes down, then it is unable to issue the mt(1) release command. This st(1M) command allows the device to be reclaimed, so that it is available for use by other hosts. SR: 8606105555 4701401190 Patch Files: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/st.1m OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/st what(1) Output: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/st: PATCH_11_00: st.o 99/09/22 OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man1m.Z/st.1m: None cksum(1) Output: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 649159818 20480 /usr/sbin/st OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 4164420777 1728 /usr/share/man/man1m.Z/st.1m Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_16720 Equivalent Patches: PHCO_19771: s700: 10.20 s800: 10.20 Patch Package Size: 50 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_19772 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_19772.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_19772. 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_19772.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_19772.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_19772.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_19772.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None