Patch Name: PHCO_23036 Patch Description: s700_800 10.20 fsadm_vxfs(1M) cumulative patch Creation Date: 01/01/02 Post Date: 01/02/27 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: JournalFS.VXFS-BASE-RUN Automatic Reboot?: No Status: General Release Critical: Yes PHCO_23036: CORRUPTION Path Name: /hp-ux_patches/s700_800/10.X/PHCO_23036 Symptoms: PHCO_23036: If a filesystem is extended beyond the supported limit of 128 gigabytes, it may become unmountable. This patch will disallow expansion of vxfs filesystem beyond 128 gigabytes. PHCO_18477: There are two problems addressed by this patch: 1)The directory re-organization report (-D) is in error. The information displayed in the column titled "Blocks to Reduce" is incorrect. 2)A directory re-organization (-d) fails with errno 16 (EBUSY). The errno is only visible if you use the verbose and summary (-vs) option along with the -d option. Defect Description: PHCO_23036: fsadm -b does not prevent a VxFS filesystem from being grown beyond the supported limit of 128 gigabytes. Resolution: fsadm -b behavior has been modified to make sure that the new filesystem size does not exceed the supported limit of 128 gigabytes. It will refuse to expand a filesystem beyond this limit. PHCO_18477: 1)The directory reorganization report (-D option) displays erroneous data for the "Blocks to Reduce" column. The "Blocks to Reduce" column contains the number of blocks that could be freed if the entries in the directory are compressed. The loop which passed through the blocks of each directory was being incorrectly incremented therefore resulting in the incorrect calculation of "Blocks to Reduce". 2)fsadm failed during directory recorganization (-d) with errno 16 (EBUSY). This failure was only visible if the ( -v option) option was used. The -v option, when used with the -d option, reports all ioctl calls and their status. Therefore, the outcome of each attempted sort (VX_DIRSORT ioctl) is displayed. The directory reorganize routine sorts directories two blocks at at time. If the second block is updated, then during the next iteration of the loop, fsadm detects the change and returns EBUSY thinking the directory was being modified by another process. The most effcient fix was to modify the reorganization routine to not re-compare the just modified block with the next block, but to move on to the next two directory blocks. Although there may be a missed opprotunity to reorganize, it will likely be taken care of in the next pass. SR: 1653292557 4701347096 8606169478 Patch Files: /usr/lbin/fs/vxfs/fsadm what(1) Output: /usr/lbin/fs/vxfs/fsadm: PATCH_10_20: ckino.o dfrag.o dirsort.o efrag.o excl. o extent.o options.o resize.o fsadm.o 00/12/ 26 cksum(1) Output: 2218083926 110592 /usr/lbin/fs/vxfs/fsadm Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_18477 Equivalent Patches: None Patch Package Size: 170 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_23036 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_23036.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_23036. 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_23036.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_23036.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None