Patch Name: PHKL_4292 Patch Description: s700 9.01 corrects quota related problems fix for incorrect quotas for uids > 32767 This patch fixes problems with quota reporting whenever the uid is greater than 32767. The problem was simply that the quotactl system call was incorrectly thinking of uids as 16 bits wide. When you install this patch, you should also be sure to install the latest command patch for quota related commands, the quota command in particular. The corresponding patches for other releases are: PHKL_4291/700/903/905, PHKL_4289/800/904, PHKL_4290/800/90 PHKL_4264: fix for incorrect quota reporting on DUX PHKL_4264 is a new and improved version of PHKL_3956 which was not quite robust enough to fix all the ENODEV problems. This ENODEV is returned by the quotactl system call and the end result would be that the quota command would not display any quotas on a file system that really had quotas. This is particularly easy to see when a non-superuser runs the quota command. The patch should be installed on all DUX systems which have quotas on any file systems. PHKL_3956: Resolves problem where quotactl improperly returns ENODEV to user. On a diskless cluster with locally mounted file systems using quotas, the system can get into a state where the cnode with a mounted file system will report its quotas correctly, but other cnodes will not report that cnode's quotas. It was traced it down to quotactl(Q_GETQUOTA) returning ENODEV. On the local cnode, it would get an error from quotactl() and check directly with the quotas file. The other cnodes do not have this luxury, and just don't report anything. ENODEV came from fdevtomp() which was using the vnode rdev which got set to ENODEV in stprmi(). Easy fix is to use inode rdev in fdevtomp(). Path Name: /hp-ux_patches/s700/9.X/PHKL_4292 Effective Date: 940519 OS Release: 9.01 Reboot Required: Yes Patch Files: /system/PHKL_4292/new/quot_scall.o SR#: 1653092114 "what" string/timestamp: quot_scall.o: quot_scall.c $Revision: 1.9.81.5 $ $Date: 94/05/19 09:33:20 $ PATCH_9.01 (PHKL_4292) "sum" output: 19496 21 quot_scall.o Dependencies: None Supersedes: PHKL_3956 PHKL_4264 Patch Package Size: 72 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. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHKL_4292). To install this patch do the following: 1) Run /etc/update (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHKL_4292.updt" (this assumes that you are in the /tmp directory where PHKL_4292.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHKL_4292/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHKL_4292.text file to /system/PHKL_4292 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHKL_4292.updt of=/dev/rmt/0m bs=2048