Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 17:21:00 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        current@freebsd.org
Cc:        mckusick@freebsd.org
Subject:   4.8-RC / 5-CURRENT UFS1 interoperability problem
Message-ID:  <20030306164251.Q86784@news1.macomnet.ru>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

Hello,

In short, there is a problem using the same UFS1 filesystem under
-stable and -current. Please look at an attached typescript for
details.

I noticed a wrong superblock information either:

[maxim@golf ~]$ df /spare
Filesystem  1K-blocks Used    Avail Capacity  Mounted on
/dev/ad0s2a  22520288 -125476 20844144    -1%    /spare

Is it known bug?

-- 
Maxim Konovalov, maxim@macomnet.ru, maxim@FreeBSD.org
[-- Attachment #2 --]
golf# uname -a
FreeBSD golf.macomnet.net 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #19: Thu Feb 27 
13:33:49 GMT 2003     root@golf.macomnet.net:/usr/obj/usr/src/sys/GENERIC  i386
golf# fsck /dev/ad0s2a
** /dev/ad0s2a
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
3 files, 3 used, 5630069 free (21 frags, 703756 blocks, 0.0% fragmentation)
golf# mount /dev/ad0s2a /mnt
golf# mount | grep mnt
/dev/ad0s2a on /mnt (ufs, local, soft-updates)
golf# exit
exit

- clean reboot

golf# uname -a
FreeBSD golf.macomnet.net 5.0-CURRENT FreeBSD 5.0-CURRENT #6: Wed Feb 19 10:01:22 MSK 2003     maxim@golf.macomnet.net:/usr/obj/usr/src/sys/GOLF5  i386
golf# fsck /dev/ad0s2a
** /dev/ad0s2a
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
SUMMARY INFORMATION BAD
SALVAGE? [yn] y

SUMMARY BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? [yn] y

94155 files, 220230 used, 5409842 free (15210 frags, 674329 blocks, 0.3% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
golf# mount /dev/ad0s2a /mnt
golf# mount | grep mnt
/dev/ad0s2a on /mnt (ufs, local, nodev, noexec, nosuid, soft-updates)
golf# exit

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030306164251.Q86784>