Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 05:00:15 GMT
From:      Bruce Cran <bruce.cran@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/107692: newfs(8): newfs -O 1 doesn't create consistent  filesystems
Message-ID:  <200906070500.n5750FGA069006@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/107692; it has been noted by GNATS.

From: Bruce Cran <bruce.cran@gmail.com>
To: bug-followup@FreeBSD.org, ghelmer@palisadesys.com
Cc:  
Subject: Re: bin/107692: newfs(8): newfs -O 1 doesn't create consistent 
	filesystems
Date: Sun, 7 Jun 2009 05:58:11 +0100

 This error doesn't occur when passing a block size of 32768 to newfs.
 Debugging fsck_ffs, the following mismatch is seen with the
 inconsistent filesystem:
 
 Starting program: /sbin/fsck_ffs /dev/md0
 ** /dev/md0
 ** Last Mounted on
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 
 Breakpoint 1, pass5 () at /usr/src/sbin/fsck_ffs/pass5.c:352
 352		if (cursnapshot == 0 &&
 (gdb) print cstotal
 $1 = {cs_ndir = 2, cs_nbfree = 1631816, cs_nifree = 3333116, cs_nffree = 21,
   cs_numclusters = 0, cs_spare = {0, 0, 0}}
 (gdb) print fs->fs_cstotal
 $2 = {cs_ndir = 0, cs_nbfree = 1631818, cs_nifree = 3333118, cs_nffree = 7,
   cs_numclusters = 0, cs_spare = {0, 0, 0}}



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