From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 17 21:50:01 2012 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53A72330 for ; Mon, 17 Dec 2012 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 350808FC13 for ; Mon, 17 Dec 2012 21:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qBHLo02H059457 for ; Mon, 17 Dec 2012 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBHLo0gE059456; Mon, 17 Dec 2012 21:50:00 GMT (envelope-from gnats) Date: Mon, 17 Dec 2012 21:50:00 GMT Message-Id: <201212172150.qBHLo0gE059456@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Dieter BSD" Subject: Re: bin/163992: dumpfs(8): dumpfs -m is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Dieter BSD List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 21:50:01 -0000 The following reply was made to PR bin/163992; it has been noted by GNATS. From: "Dieter BSD" To: bug-followup@freebsd.org Cc: Subject: Re: bin/163992: dumpfs(8): dumpfs -m is broken Date: Mon, 17 Dec 2012 16:48:25 -0500 newfs -e 100000000 -b 65536 -f 8192 -g 67108864 -h 16 -i 67108864 -U -o space -L ${DISK_NUM}data /dev/${DISK_PORT} newfs says: density reduced from 67108864 to 14860288 /dev/ada12: 2861588.5MB (5860533168 sectors) block size 65536, fragment size 8192        using 789 cylinder groups of 3628.00MB, 58048 blks, 256 inodes.        with soft updates super-block backups (for fsck -b #) at: 256, 7430400, 14860544, 22290688, 29720832, [ ... ] The new dumpfs says: newfs -L 71data -O 2 -U -a 2 -b 65536 -d 65536 -e 100000000 -f 8192 -g 67108864 -h 16 -i 14868480 -m 8 -o space -s 5860533168 /dev/ufs/71data A definite improvement,  Thank you. However... The -i argument is off by 8K. At least it is off in the desired direction. :-) The -a 2 is troubling since the default is supposed to be 16 [1]. And is a rotational delay still desirable with modern disks? (large on-disk buffers, variable number of sectors/track, ...) I've posted a query about this to the fs and performance lists. -d is supposed to default to 16 times the file system blocksize [1]. [1] According to the newfs man page.