Patch Name: PHCO_28623 Patch Description: s700_800 11.11 fsck_hfs(1M) cumulative patch Creation Date: 03/02/25 Post Date: 03/03/10 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_28623 Symptoms: PHCO_28623: ( SR:8606287954 CR:JAGae51887 ) fsck_hfs(1M) is unable to ensure the consistency of a file system. The file system is mountable after running fsck, but rm(1) on the directory reports an error that the directory is not empty although ls(1) may report that the directory is empty. PHCO_26699: ( SR:8606247419 CR:JAGae13857 ) fsck(1M) performance slow on large systems. Defect Description: PHCO_28623: ( SR:8606287954 CR:JAGae51887 ) fsck_hfs(1M) does not fix corruption in the direct and indirect data block areas of large directories. This may lead to a situation where many files are unreferenced, making them invisible to ls(1), but nevertheless exist, causing rm(1) to fail. Resolution: The solution is either to save as much of the directory as possible or remove the whole directory; either way the integrity of the file system is preserved. If fsck_hfs(1M) removes the whole directory, all files will be moved to the lost+found directory; but in certain cases fsck is able to salvage part of the directory by zeroing out all blocks starting from the corrupt block onwards; in such cases all files in those blocks are moved to the lost+found directory. PHCO_26699: ( SR:8606247419 CR:JAGae13857 ) fsck(1M) always does sync(2) causing performance degradation on systems with large buffer cache. Resolution: Improve performance by adding "-s" switch to fsck(1M) to suppress sync(2) call. Enhancement: No (superseded patches contained enhancements) PHCO_28623: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606247419 8606287954 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/fsck_hfs.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/fs/hfs/fsck 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/fsck_hfs.1m: None OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /sbin/fs/hfs/fsck: fsck.c $Date: 2003/02/07 01:03:10 $Revision: r11.11/ 4 PATCH_11.11 (PHCO_28623) $Revision: @(#) all CUP11.11_BL2003_0225_2 PATCH_11. 11 PHCO_28623 Tue Feb 25 09:18:15 PST 2003 $ $ Version_11.11 Feb 7 2003 13:18:48 $ cksum(1) Output: OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 448625028 5365 /usr/share/man/man1m.Z/fsck_hfs.1m OS-Core.UX-CORE,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 4270940751 344064 /sbin/fs/hfs/fsck Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: PHCO_26699 requires patch PHCO_26701 to get full command interface implementation. Any of these patches may be installed independently of the others with no adverse effect on the system. The following command messages may occur if a relevant patch is missing: > fsck -F hfs ... Warning: -f option is not supported for this filesystem > fsck -F vxfs ... fsck: illegal option -- s Supersedes: PHCO_26699 Equivalent Patches: PHCO_28116: s700: 11.00 s800: 11.00 Patch Package Size: 370 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_28623 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28623.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28623. 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_28623.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28623.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28623.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None