From owner-freebsd-fs@FreeBSD.ORG Fri Feb 4 05:32:00 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A023916A4CE for ; Fri, 4 Feb 2005 05:32:00 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CCE543D39 for ; Fri, 4 Feb 2005 05:32:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7497B52546; Thu, 3 Feb 2005 21:31:59 -0800 (PST) Date: Thu, 3 Feb 2005 21:31:59 -0800 From: Kris Kennaway To: Doug White Message-ID: <20050204053159.GA86314@xor.obsecurity.org> References: <20050204002432.D12874@axxem.hide.subzone.cz> <20050203212431.K47315@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20050203212431.K47315@carver.gumbysoft.com> User-Agent: Mutt/1.4.2.1i cc: FreeBSD FS Mailing List Subject: Re: fs oddity when moving from 4.4 to 5.3 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 05:32:00 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 03, 2005 at 09:28:48PM -0800, Doug White wrote: > On Fri, 4 Feb 2005, Jan Pechanec wrote: >=20 > > > > hi, after RW mounting UFS1 filesystem created using sysinstall under > > 4.4 to 5.3 and extracting 1/2 of the only file there (tarball), the fil= e got > > lost. Now I got that disk to salvage as much as I can. I don't want to = give > > much details since I think it would be too much, but is there any chance > > that some changes in the code could do that? Fsck doesn't complain, the > > directory chunk for the file is now part of larger free chunk etc., but= the > > file was not manually deleted, bash history was checked. > > > > just one thing: 'dumpfs -m' on 5.3 and then 'newfs -N...' shows: > > > > /dev/ad1s1e: 38158.3MB (78148160 sectors) block size 8192, fragment siz= e 1024 > > using 846 cylinder groups of 45.15MB, 5779 blks, 11584 inodes. > > super-block backups (for fsck -b #) at: > > 32, 92496, 184960, 277424, 369888, 462352, 554816, 647280, 739744, 832= 208, > > > > the same 'newfs -N' (without '-O 1') on 4.11 shows this: > > > > /dev/ad1s1e: 78148160 sectors in 19080 cylinders of 1 tracks, 4096 s= ectors > > 38158.3MB in 868 cyl groups (22 c/g, 44.00MB/g, 10944 i/g) > > super-block backups (for fsck -b #) at: > > 32, 90144, 180256, 270368, 360480, 450592, 540704, 630816, 720928, 811= 040, >=20 > Its possible between 4.4 and 4.11 (I haven't checked the CVS history) the > newfs default for the '-g' option, which sets the cylinder group size, > changed from the old BSD default to "the max possible" which is generally > better for performance. I'm pretty sure it did. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCAwjPWry0BWjoQKURAn1+AKCgAV27Dz/xd+BRn5iY23xrsvC+3gCfcaps yKwYol+eK8gRAO3suafBFrk= =fDeF -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--