Patch Name: PHKL_29668 Patch Description: s700_800 11.00 vx_mapbad errors during "fsadm -d" Creation Date: 03/09/22 Post Date: 03/10/15 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: JFS 3.3; Filesets: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_29668: CORRUPTION Category Tags: defect_repair general_release critical corruption Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29668 Symptoms: PHKL_29668: ( SR:8606308671 CR:JAGae71705 ) Running "fsadm -d" on VxFS 3.3 filesystem 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_29668: ( SR:8606308671 CR:JAGae71705 ) This problem happens due to reorganization of an 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 freed properly. Enhancement: No SR: 8606308671 Patch Files: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_dirsort.o) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_dirsort.o) what(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_dirsort.o): vx33_dirsort.c $Date: 2003/09/03 01:45:24 $Revision: r11ros/2 PATCH_11.00 (PHKL_29668) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_dirsort.o): vx33_dirsort.c $Date: 2003/09/03 01:45:24 $Revision: r11ros/2 PATCH_11.00 (PHKL_29668) cksum(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: 2627048952 9344 /usr/conf/lib/libvxfs.a(vx33_dirsort.o) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: 165739819 14512 /usr/conf/lib/libvxfs.a(vx33_dirsort.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_29045: s700: 11.11 s800: 11.11 Patch Package Size: 30 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_29668 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29668.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29668. 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_29668.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29668.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29668.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None