From owner-freebsd-questions@FreeBSD.ORG Sun Jun 12 21:31:47 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C48A316A41C for ; Sun, 12 Jun 2005 21:31:47 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7D9143D1F for ; Sun, 12 Jun 2005 21:31:45 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 13293 invoked by uid 207); 12 Jun 2005 21:31:42 -0000 Received: from keramida@ceid.upatras.gr by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.228):. Processed in 0.502043 secs); 12 Jun 2005 21:31:42 -0000 Received: from dialup228.ach.sch.gr (HELO gothmog.gr) ([81.186.70.228]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 12 Jun 2005 21:31:41 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j5CLVcoh001169 for ; Mon, 13 Jun 2005 00:31:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j5CEXnEs057753; Sun, 12 Jun 2005 17:33:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 12 Jun 2005 17:33:48 +0300 From: Giorgos Keramidas To: Wojciech Puchar Message-ID: <20050612143348.GB57689@gothmog.gr> References: <42AAEA6B.9030602@frenchsuballiance.cjb.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Checking huge filesystems [was: Re: Resizing /var (maybe off topic)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 21:31:47 -0000 On 2005-06-12 14:41, Wojciech Puchar wrote: > > i'm using different unices for 7 years and excluding few cases i never > made other partitioning scheme than 2 partitions: swap and / > > i have no problems like "there's out of space in partition x while > plenty of y". it's far easier to do backups too (single dump). [...] > fsck speed is same in checking one partition or many smaller. and it > doesn't matter at all as FreeBSD (and NetBSD) doesn't crash every few > hours like windows While you have made a few good and valid points, this last one is not really true. FWIW, Checking a filesystem involves allocating enough memory to reconstruct the inode and data block allocation bitmaps, when something is wrong, along with other meta-information. This information is kept in data structures that are traversed many times. It may be possible to check 20 filesystems of 100 GB each a lot faster than a single 2000 GB filesystem, if the fsck process that is supposed to check the latter runs out of memory because of the filesystem size.