From owner-freebsd-stable Fri May 24 7:42:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from nixpbe.pdb.sbs.de (nixpbe.pdb.siemens.de [192.109.2.33]) by hub.freebsd.org (Postfix) with ESMTP id 12CA237B40A for ; Fri, 24 May 2002 07:42:26 -0700 (PDT) Received: from trulli.pdb.fsc.net (ThisAddressDoesNotExist [172.25.96.20] (may be forged)) by nixpbe.pdb.sbs.de (8.11.2/8.11.2) with ESMTP id g4OEgPE28498 for ; Fri, 24 May 2002 16:42:25 +0200 Received: from deejai2.mch.fsc.net (deejai2.mch.fsc.net [172.25.124.236]) by trulli.pdb.fsc.net (8.9.3/8.9.3) with ESMTP id QAA30585 for ; Fri, 24 May 2002 16:42:24 +0200 Received: (from root@localhost) by deejai2.mch.fsc.net (8.12.3/8.12.2) id g4OEgMS9008445 for freebsd-stable@freebsd.org; Fri, 24 May 2002 16:42:22 +0200 (CEST) (envelope-from martin@deejai2.mch.fsc.net) Received: from deejai2.mch.fsc.net (localhost6 [IPv6:::1]) by deejai2.mch.fsc.net (8.12.3/8.12.3) with ESMTP id g4OEgER8008428 for ; Fri, 24 May 2002 16:42:15 +0200 (CEST) (envelope-from martin@deejai2.mch.fsc.net) Received: (from martin@localhost) by deejai2.mch.fsc.net (8.12.3/8.12.3/Submit) id g4OEgEPO008425 for freebsd-stable@FreeBSD.ORG; Fri, 24 May 2002 16:42:14 +0200 (CEST) Date: Fri, 24 May 2002 16:42:14 +0200 From: Martin Kraemer To: freebsd-stable@freebsd.org Subject: newfs now defaults to fragsize == blksize == 16k?!? Message-ID: <20020524164214.A8063@deejai2.mch.fsc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE X-Organization: Fujitsu Siemens Computers (Muenchen, Germany) X-Disclaimer: THE COMMENTS CONTAINED IN THIS MESSAGE REFLECT THE VIEWS OF THE WRITER AND ARE NOT NECESSARILY THE VIEWS OF FUJITSU-SIEMENS COMPUTERS X-No-Junk-Mail: I do not want to get *any* junk mail. X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, I built a 40GB disk into my FreeBSD-4.6-PRERELEASE yesterday and did the suggested fdisk -- disklabel -- newfs procedure to partition it. After starting to mount and copy stuff, I was astonished to see that some file systems ran out of inodes, and others (when copied from a smaller file system on the old disk) would increase from 1.7GB to almost 3GB used space. Closer analysis showed me that the default fragsize in newfs seems to be 16kB now (identical to blksize). :-(( That cannot be the intention of the author, and it isn't described in the man pages either. The default fragsize is supposed to be 2048 (1/8 of the blksize) and manually setting this value reverts to the expected behavior (no wasted space, enough inodes). Did anybody else notice this? Martin -- | Fujitsu Siemens Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730 Munich, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message