Patch Name: PHCO_18868 Patch Description: s700_800 10.26 fsck_vxfs cumulative patch Creation Date: 99/08/23 Post Date: 99/08/27 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: JournalFS.VXFS-BASE-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_18868 Symptoms: PHCO_18868: 1. The fsck(VxFS) does not insert unreferenced files in the lost+found directory. 2. For very big filesystems, fsck(VxFS) does not attempt to read all the alternate copies of the superblock when needed. PHCO_17671: No external symptoms, just removal of unnecessary code Defect Description: PHCO_18868: 1. The fsck(vxfs) always skips the addition of a file in the lost+found directory. 2. The header of each AU of filesystem keeps the static information of the superblock along with the other information. The header of all the AUs are kept in a structural file. The datablocks of this file may reside in any of the FS blocks reserved for the structural files. The fsck(vxfs) tries to search for the alternate superblock in the first 128 * 64 = 8192 FS blocks irrespecive of the filesystem size. But for very large filesystems, more than 8192 FS blocks are reserved for structural files. It means that fsck does not attempt to read all the alternate copies of the superblocks. Resolution: 1. The fsck(vxfs) has been modified to add a file in lost+found directory in case all the four conditions are satisfied: a. The lost+found directory exists. b. lost+found is not a multilevel directory. c. lost+found is not having wildcard sensitivity label. d. lost+found dominates the sensitivity label of the file. 2. The fsck(vxfs) has been changed to search for the alternate superblock in the first 512 * 64 = 32768 FS blocks. It is the maximum size of an allocation unit. PHCO_17671: fsck had unnecessary and unused code Resolution: 1. Port PHCO_16591 2. merged in Top of Trunk for vxfs/fsck SR: 0000000000 Patch Files: /sbin/fs/vxfs/fsck what(1) Output: /sbin/fs/vxfs/fsck: 99/08/17 lib/libc/core/gen/ctime.c, hpux, hpux_10.26 , ic5cy Revision 1.2 PATCH_10.26 (PHCO_17823 ) UNMODIFIED 99/04/16 cmd/vxfs/fsck/fset.c, cmds, hpux_10.26, ic5 cy Revision 1.2 PATCH_10.26 (PHCO_17671) 99/04/16 cmd/vxfs/fsck/subr.c, hpux, hpux_10.26, ic5 cy Revision 1.5 PATCH_10.26 (PHCO_17671) 99/06/10 cmd/vxfs/fsck/super.c, hpux, hpux_10.26, ic 5cy Revision 1.4 PATCH_10.26 (PHCO_18868) 99/06/10 cmd/vxfs/fsck/fsck_sec.c, hpux, hpux_10.26, ic5cy Revision 1.5 PATCH_10.26 (PHCO_18868) $Revision: 1.1 cmd/vxfs/fsck/hpux_rel.c, hpux, hpux_ 10.26, ic5cy $ 1999/08/17 Hewlett-Packard HP-UX 10.26 TOS [ ic5cy - DAV17 ] 99/08/17 lib/libsecurity/mandlib.c, hpux, hpux_10.26 , ic5cy Revision 1.5 PATCH_10.26 (PHCO_17760 ) $ 99/05/21 lib/libsecurity/map_ids.c, hpux, hpux_10.26 , ic5cy Revision 1.12 PATCH_10.26 (PHCO_1850 2) 99/05/21 lib/libsecurity/authcap.c, hpux, hpux_10.26 , ic5cy Revision 1.5 PATCH_10.26 (PHCO_18502 ) ic5ae_DAV17 lib/libc/archive_pa1/libc.a_01 Aug 17 1999 20:53:06 cksum(1) Output: 1633847800 589824 /sbin/fs/vxfs/fsck Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_17671 Equivalent Patches: None Patch Package Size: 630 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_18868 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_18868.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_18868. 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_18868.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_18868.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None