Bad cg number with SU+J

From: Alexander Best <arundel_at_freebsd.org>
Date: Tue, 14 Sep 2010 19:39:22 +0000
hi there,

a few minutes ago my machine froze running HEAD (r212616; amd64). after i did
a reset i had to deal with a situation i've documented in the attached file.

after having a healthy ufs2 fs again the results was:

i lost 4 files (unimportant /usr/ports/* stuff).

otaku% tunefs -p /
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 rootfs
otaku% file -s /dev/ufs/rootfs 
/dev/ufs/rootfs: Unix Fast File system [v2] (little-endian) last mounted on /, volume name rootfs, last written at Tue Sep 14 20:35:52 2010, clean flag 0, readonly flag 0, number of blocks 117904411, number of data blocks 114192521, number of cylinder groups 1254, block size 16384, fragment size 2048, average file size 16384, average number of files in dir 64, pending blocks to free 0, pending inodes to free 1, system-wide uuid 0, minimum percentage of free blocks 8, TIME optimization
otaku% mount
/dev/ufs/rootfs on / (ufs, local, noatime, soft-updates)
devfs on /dev (devfs, local)
devfs on /usr/compat/linux/dev (devfs, local)
linprocfs on /usr/local/gentoo-stage3/proc (linprocfs, local)
linsysfs on /usr/local/gentoo-stage3/sys (linsysfs, local)
devfs on /usr/local/gentoo-stage3/dev (devfs, local)

cheers.
alex

-- 
a13x

Received on Tue Sep 14 2010 - 17:39:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC