From owner-freebsd-questions Tue Jun 8 22:57:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id E823E14BF1 for ; Tue, 8 Jun 1999 22:57:32 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id AAA13452; Wed, 9 Jun 1999 00:57:26 -0500 (CDT) (envelope-from dan) Date: Wed, 9 Jun 1999 00:57:25 -0500 From: Dan Nelson To: Unknow User Cc: questions@FreeBSD.ORG Subject: Re: block size, simple question! Message-ID: <19990609005725.A13347@dan.emsphone.com> References: <375DD516.C4451948@tdnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <375DD516.C4451948@tdnet.com.br>; from "Unknow User" on Wed Jun 9 02:44:38 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jun 09), Unknow User said: > What should i do to discover how big is my file system block ? > Which one is FreeBSD default: 512 bytes, 1K or 2k, etc ? > thanks The default is 8K blocks, with 1K frags. News spools usually are formatted at 4K/512b; I have a couple of 60GB archive volumes at 16K/2K. Usually fragsize is blocksize/8. You can check the blocksize of an existing filesystem by running "dumpfs /dev/rda0s1a", or whatever device you are interested in: $ dumpfs /dev/rda0s1a | head -6 magic 11954 time Wed Jun 9 00:53:54 1999 cylgrp dynamic inodes 4.4BSD nbfree 1426 ndir 71 nifree 5917 nffree 458 ncg 1 ncyl 16 size 32768 blocks 31775 bsize 8192 shift 13 mask 0xffffe000 fsize 1024 shift 10 mask 0xfffffc00 ^^^^^ blocksize and fragsize -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message