Patch Name: PHKL_29045 Patch Description: s700_800 11.11 vx_mapbad errors during fsadm -d Creation Date: 03/04/29 Post Date: 03/06/25 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_29045: CORRUPTION Category Tags: defect_repair general_release critical corruption Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29045 Symptoms: PHKL_29045: ( SR:8606298698 CR:JAGae62197 ) Running fsadm -d on vxfs file system generates following type of errors in the message buffer: msgcnt 1 vxfs: mesg 003: vx_mapbad - /dev/vgXX/lvolYY file system free extent bitmap in au 4 marked bad Defect Description: PHKL_29045: ( SR:8606298698 CR:JAGae62197 ) This problem happens due to reorganization of a empty directory having only 1 extent with 2 blocks. When shrinking the directory, the code attempted to free the same block twice. Resolution: The empty extent with 2 blocks is now properly freed. Enhancement: No SR: 8606298698 Patch Files: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_dirsort.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_dirsort.o) what(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libvxfs.a(vx_dirsort.o): vx_dirsort.c $Date: 2003/04/27 23:09:33 $Revision: r 11.11/1 PATCH_11.11 (PHKL_29045) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libvxfs.a(vx_dirsort.o): vx_dirsort.c $Date: 2003/04/27 23:09:33 $Revision: r 11.11/1 PATCH_11.11 (PHKL_29045) cksum(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 1605599290 9124 /usr/conf/lib/libvxfs.a(vx_dirsort.o) JFS.VXFS-BASE-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 2264320667 14928 /usr/conf/lib/libvxfs.a(vx_dirsort.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 50 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 PHKL_29045 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29045.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29045. 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 PHKL_29045.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29045.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29045.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None