Patch Name: PHCO_16873 Patch Description: s700_800 10.20 mount(1M) cumulative patch Creation Date: 98/12/17 Post Date: 98/12/22 Warning: 99/02/10 - This Non-Critical Warning has been issued by HP. - The mount(1M) command in PHCO_16873 can cause problems during a system boot if the system was shut down in a manner in which all file systems were not unmounted first. This includes system shutdowns caused by Software Distributor, /sbin/reboot, Transfer-of-Control (TOC), and panics. - The first evident symptom of this behavior of mount(1M) is that the following message is displayed during the system boot: /sbin/ioinitrc: mount: /dev/vg00/lvol1 is already mounted on /stand Unable to mount /stand - please check entries in /etc/fstab - The effects of this behavior will vary, but will have the most dramatic effect on systems on which the I/O configuration has changed. On such systems, when the system is fully booted the /stand/ioconfig file will not be an accurate representation of the I/O configuration and can lead to problems. - The coexistence of patch PHCO_16873 and either PHCO_14362 or PHCO_14117 on some of the newer B-class and C-class workstations (B132L+, B180L, C200, and C240) can cause these systems to continuously reboot during the boot process. If this problem is encountered, the recommended recovery procedure is to either restore from a recovery tape created with make_recovery(1M) or to reinstall the system. - These problems caused by the mount(1M) command in PHCO_16873 do not occur with the superseded patch, PHCO_16235. Patch PHCO_16235 will be re-released until a replacement patch is available. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: OS-Core.UX-CORE Automatic Reboot?: No Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_16873 Symptoms: PHCO_16873: Concurrent mounts/unmounts may cause mount(1M)/umount(1M) to fail with: "mount: file system table may be corrupt". PHCO_16235: The NFS mount option -oretry=n will not work in all cases with the 10.20 ACE 2 bundle. PHCO_16043: The NFS mount option -oretry=n will not work with the 10.20 ACE 2 bundle. Only one attempt to mount the file system will be made regardless of the number of retries requested. PHCO_14175: The NFS mount options -obg and -oretry=n do not work as described when the mount command is used, with the exception of the 'mount -a' case. There are no retries performed if the initial mount fails, and thus, the subsequent retries cannot be run in the background. PHCO_13847: This patch is part of the 10.20 ACE 2 bundle which adds networking enhancements to 10.20. New networking features supported in ACE 2 include NFS Version 3.0, AutoFS, and CacheFS. PHCO_9696: When mount is invoked without any arguments, the dates presented at the mount times for each file system will show the hour as if the user is in time zone EST5EDT, regardless of what time zone the user is actually using. PHCO_8008: When /sbin/mount was called with file system types not included in HP-UX (such as by other applications), and the first item to mount was a directory, mount will fail with an invalid file system type message. Defect Description: PHCO_16873: The libc routines that access /etc/mnttab need to change so that they no longer lock on read; they must only lock on write. In cooperation with libc changes, the mount(1M) command needs some integrity checks when it reads /etc/mnttab, to help compensate for not having the read lock. This prevents mount(1M) from using an out-of-date /etc/mnttab file, or from using a corrupt or empty file and failing with, "mount: file system table may be corrupt". In addition, mount(1M) needs to change the way it updates /etc/mnttab, so that write-locking is minimized. All these changes help reduce the possibility of a deadlock situation, especially in HA environments, where multiple processes may be attempting to access and/or update /etc/mnttab at the same time. PHCO_16235: The NFS mount option -oretry=n will not work in all cases with the 10.20 ACE 2 bundle. In these cases only one attempt will be made. PHCO_16043: If the user uses the "-oretry=2" option or any larger number, only one attempt will be made to mount the NFS file system if the 10.20 ACE 2 bundle is installed. PHCO_14175: If the user uses the "-oretry=2" option or any larger number, only one attempt will be made to mount the NFS file system. Since the "-obg" option relies on retrying the mount if it fails, this will not appear to work since "bg" puts the mount in the background on subsequent attempts and currently only one attempt is made. PHCO_13847: New functionality to support networking features in 10.20. PHCO_9696: Use the command 'mount' to show the times when file systems were mounted. The hour will be relative to time zone EST5EDT regardless of the time zone the user has specified in his environment. PHCO_8008: When the first argument to mount is a directory, the mount wrapper would try to process it with its known file system types, and when this did not fit into the known categories, would fail. The mount wrapper should not be checking this value, and should let the file system specific version of the mount command determine if it is an error. SR: 1653270181 5003430850 5003419911 5003382309 4701378117 5003344622 4701330431 Patch Files: /sbin/mount what(1) Output: /sbin/mount: $Revision: 78.9.1.7 $ libcteam_nightly_dav,981025_20:00 libc.a_ID@@/main/r 10dav/libc_dav/libc_dav_cpe/cup_libcteam_nig htly_dav/1 /ux/core/libs/libc/archive_pa1/libc.a_ID Oct 25 1998 20:08:07 PATCH_10_20: mount.o 98/12/17 cksum(1) Output: 1066483803 266240 /sbin/mount Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_8008 PHCO_9696 PHCO_13847 PHCO_14175 PHCO_16043 PHCO_16235 Equivalent Patches: None Patch Package Size: 320 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_16873 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_16873.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHCO_16873.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_16873. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_16873.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_16873.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None