Date: Sat, 16 Mar 2024 17:11:15 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277739] makefs creates UFS filesystem that fsck considers invalid Message-ID: <bug-277739-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277739 Bug ID: 277739 Summary: makefs creates UFS filesystem that fsck considers invalid Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu I used makefs to create a UFS filesystem. The filesystem is marked clean b= ut fsck reports errors. # makefs -s 4g /var/tmp/root-image /usr/obj/stage15 Calculated size of `/var/tmp/root-image': 4294967296 bytes, 27793 inodes Extent size set to 32768 density reduced from 154535 to 8192 /var/tmp/root-image: 4096.0MB (8388608 sectors) block size 32768, fragment = size 4096 using 7 cylinder groups of 626.00MB, 20032 blks, 80128 inodes. super-block backups (for fsck -b #) at: 64, 1282112, 2564160, 3846208, 5128256, 6410304, 7692352 Populating `/var/tmp/root-image' Image `/var/tmp/root-image' complete # mdconfig -f /var/tmp/root-image=20 md2 # fsck -p /dev/md2 /dev/md2: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/md2: clean, 145201 free (25 frags, 18147 blocks, 0.0% fragmentation) # fsck /dev/md2 ** /dev/md2 ** Last Mounted on=20 ** Phase 1 - Check Blocks and Sizes UFS1 cylinder group 0 failed: cgp->cg_old_niblk ("14592") !=3D sblock.fs_ipg ("80128") UFS1 cylinder group 0 failed: cgp->cg_old_niblk ("14592") !=3D sblock.fs_ipg ("80128") CYLINDER GROUP 0: INTEGRITY CHECK FAILED REBUILD CYLINDER GROUP? [yn] y INVALID INODE I=3D5632 OWNER=3Droot MODE=3D120755 SIZE=3D19 MTIME=3DMar 15 06:46 2024=20 CLEAR? [yn]=20 Inode number 5632 is 5632 lrwxr-xr-x 1 root wheel 19 Mar 15 06:46 /mnt/usr/share/locale/pt_BR.UTF-8/LC_CTYPE -> ../C.UTF-8/LC_CTYPE --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277739-227>