Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 19:40:21 GMT
From:      Guy Helmer<ghelmer@palisadesys.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/107692: newfs -O 1 doesn't create consistent filesystems
Message-ID:  <200701081940.l08JeLlZ003856@www.freebsd.org>
Resent-Message-ID: <200701081950.l08JoBbV062358@freefall.freebsd.org>

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

>Number:         107692
>Category:       bin
>Synopsis:       newfs -O 1 doesn't create consistent filesystems
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 08 19:50:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Guy Helmer
>Release:        FreeBSD 6.2 (prerelease)
>Organization:
Palisade Systems, Inc.
>Environment:
FreeBSD opteron6.internal.palisadesys.com 6.1-STABLE FreeBSD 6.1-STABLE #7: Wed Jul 19 08:11:08 CDT 2006     root@opteron6.internal.palisadesys.com:/usr/src/sys/amd64/compile/SMP  amd64

>Description:
Large (60GB) filesystems created using "newfs -U -O 1 -b 65536 -f 8192" show incorrect results from "df" for free and used space when mounted immediately after creation.    fsck on the new filesystem (before ever mounting it once) gives a "SUMMARY INFORMATION BAD" error in phase 5.

This error hasn't occurred in any runs of fsck immediately after "newfs -U -b 65536 -f 8192" (leaving out the "-O 1" option).

>How-To-Repeat:
"newfs -U -O 1 -b 65536 -f 8192 /dev/da0s1e" (assuming da0s1e is a large enough partition to trigger the problem) and then "fsck /dev/da0s1e".

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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