Patch Name: PHCO_27957 Patch Description: s700_800 11.11 umount(1M) cumulative patch, Dev IDs Enab Creation Date: 02/10/15 Post Date: 02/11/11 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHCO_27957 Symptoms: PHCO_27957: ( SR:8606280658 CR:JAGae44628 ) This product update is a member of a set needed to enable the optional HP-UX Device IDs feature. Upon installation, the HP-UX Device IDs bundle (DevIDs11i) will install the full set of product updates (including this one) necessary to enable the Device IDs feature. If the HP-UX Device IDs product (DeviceIDs11i) is not installed, this product update to HP-UX will have no impact on your system. PHCO_27120: ( SR:8606250533 CR:JAGae16908 ) Enhancement: Improve opendir(3C) performance. ( SR:8606247419 CR:JAGae13857 ) Enhancement: allow umount(2) to skip doing a sync(2). ( SR:8606263314 CR:JAGae27640 ) Service Guard may experience umount(2) failures. ( SR:8606236148 CR:JAGae05213 ) Enhancement: use the new (faster) libc. ( SR:8606228589 CR:JAGad97645 ) umount(2) may fail for cached file systems. PHCO_26702: ( SR:8606247419 CR:JAGae13857 ) umount(1M) performance slow on large systems. Defect Description: PHCO_27957: ( SR:8606280658 CR:JAGae44628 ) This product update contains minor enhancements required to enable the HP-UX Device IDs feature. When AutoFS unmounts a filesystem, it obtains the device id from the filesystem server. If that server is slow, or not responding, there may be a delay of 15 seconds or more. On systems with many AutoFS managed fileystems and many slow or non-responding servers, the cumulative delay may be quite significant. Resolution: Use an archive libc that supports the HP-UX Device IDs feature. PHCO_27120: ( SR:8606250533 CR:JAGae16908 ) opendir(3C) calls open(2), then stat(2) to determine whether or not the file is a directory. The stat(2) call is expensive and can be avoided. Resolution: opendir(3C) calls open(2) with a new parameter which will cause the open(2) to fail if the file is not a directory. Hence it is no longer necessary for opendir(3C) to call stat(2). ( SR:8606247419 CR:JAGae13857 ) umount(2) always does a sync(2) which can be very lengthy. Resolution: Add -s to umount(2) which causes it to skip doing a sync(2). ( SR:8606263314 CR:JAGae27640 ) umount(2) does not serialize its reading of /etc/mnttab with its writing of /etc/mnttab. Hence one instance of umount(2) may read a partially written file, hence it may not find the file system it is supposed to umount, which causes it to fail. Resolution: umount(2) will serialize reading and writing of /etc/mnttab. ( SR:8606236148 CR:JAGae05213 ) umount(2) uses the old (slow) version of libc. Resolution: umount(2) will use the new (faster) version of libc. ( SR:8606228589 CR:JAGad97645 ) umount(2) does not parse the mount table file correctly for cached file systems. Resolution: umount(2) will now parse the mount table file correctly for cached file systems. PHCO_26702: ( SR:8606247419 CR:JAGae13857 ) umount(1M) always does sync(2) causing performance degradation on systems with large buffer cache. Resolution: add "-s" switch to umount(1M) to suppress sync(2) call. Enhancement: Yes PHCO_27957: This product update contains minor enhancements Required to enable the HP-UX Device IDs feature. Additional enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606228589 8606236148 8606247419 8606250533 8606263314 8606280658 Patch Files: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/mount.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/umount /usr/sbin/umount what(1) Output: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1m.Z/mount.1m: None OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/umount: umount.c $Date: 2002/09/30 10:38:06 $Revision: r11.1 1/4 PATCH_11.11 (PHCO_27957) $Revision: vw: -f selectors: CUP11.11_BL2002_1015 _5 PHCO_27957 'CUP11.11_BL2002_1015_5' Tue Oct 15 13:00:28 PDT 2002 $ $ Version_11.11 Oct 10 2002 11:00:28 $ /usr/sbin/umount: umount.c $Date: 2002/09/30 10:38:06 $Revision: r11.1 1/4 PATCH_11.11 (PHCO_27957) $Revision: vw: -f selectors: CUP11.11_BL2002_1015 _5 PHCO_27957 'CUP11.11_BL2002_1015_5' Tue Oct 15 13:00:28 PDT 2002 $ $ Version_11.11 Oct 10 2002 11:00:28 $ cksum(1) Output: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 1095349486 3491 /usr/share/man/man1m.Z/mount.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 4003042570 225280 /sbin/umount 4003042570 225280 /usr/sbin/umount Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: PHCO_27120: requires patches PHKL_26467, PHKL_26239, PHCO_27910, PHCO_26242, PHCO_26331, PHCO_26332, PHCO_26333 and PHCO_26334. Any of these patches may be installed independently of the others with no adverse effect on systems. All are needed to ensure full performance benefit. See manpage for umount -s usage, updated in PHCO_26699 and PHCO_26700 for HFS and VxFS. Supersedes: PHCO_27120 PHCO_26702 Equivalent Patches: None Patch Package Size: 260 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_27957 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27957.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27957. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_27957.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27957.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27957.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None