From owner-freebsd-questions@FreeBSD.ORG Sat Jun 6 14:17:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD2461065673 for ; Sat, 6 Jun 2009 14:17:39 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 09CDA8FC1A for ; Sat, 6 Jun 2009 14:17:38 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n56EHVGW091952; Sat, 6 Jun 2009 16:17:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n56EHUcf091949; Sat, 6 Jun 2009 16:17:31 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 6 Jun 2009 16:17:30 +0200 (CEST) From: Wojciech Puchar To: jn07texas@yahoo.de In-Reply-To: <56942.76.25.231.251.1244295367.squirrel@webmail.wcubed.net> Message-ID: References: <56942.76.25.231.251.1244295367.squirrel@webmail.wcubed.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: fsck on 1.5TB drive 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: Sat, 06 Jun 2009 14:17:40 -0000 > system and swap, and the rest for a single large partition to be used for > backups. As of right now, the single partition, /bkup, is empty. > > When booting after an improper shutdown, the system starts the backgrounds > fsck as usual and on all the other partitions, seem to take the "normal" turn off background fsck. > amount of time. When it gets to the dirty /bkup however, fsck takes about > 30 minutes - on an empty partition. On top of that, running a df shows > that as much as 2GB of the partition is in use. There's a .snap directory > off /bkup, but I can't ls it without the shell hanging. > > Is this normal behavior? Why is the fsck taking so long on an empty because snapshotting takes so much. and even worse - it doesn't work right at least when i tried in FBSD 6.2. Simply turn it off. BTW your backups are mostly big files or mostly small. make use of newfs options - MUCH less inodes, bigger blocks. Not only fsck is faster, but it's faster in normal use and you get less wasted space. reducing -m make sense too.