From owner-freebsd-questions@FreeBSD.ORG Wed Jan 16 17:20:24 2008 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 7122B16A421 for ; Wed, 16 Jan 2008 17:20:24 +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 953EC13C43E for ; Wed, 16 Jan 2008 17:20:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m0GGolHR001479 for ; Wed, 16 Jan 2008 17:50:47 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m0GGmiuv001453; Wed, 16 Jan 2008 17:50:47 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 16 Jan 2008 17:48:44 +0100 (CET) From: Wojciech Puchar To: Teemu Korhonen In-Reply-To: <478E15F3.7090809@mbnet.fi> Message-ID: <20080116174455.H1425@wojtek.tensor.gdynia.pl> References: <478DCC6C.8010605@mbnet.fi> <478E15F3.7090809@mbnet.fi> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: growfs and soft updates 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: Wed, 16 Jan 2008 17:20:24 -0000 >> (ffs_valloc: dup alloc). After plenty of 'fcsk -y' I got it fixed while >> losing few random files. :( The errors were mostly related to soft updates. >> >> Should soft updates be disabled before using growfs? >> > > False alarm. It's all the same with soft updates disabled.. I guess growfs > needs some work. ALWAYS fsck after growfs. growfs is crappy at least, zero out the new space before growfs, but just if you can - simply backup data somewhere and use newfs. growfs is for people that like challenges ;) i have to use it growing 800GB filesystem to 1400GB, finally (after patching it a bit) i did it, but root directory was destroyed (no idea why). all subdirs appeared in lost+found so it wasn't a big problem then+i've got zero sized file in lost+found that i was unable to delete until i took off all strange flash with chflags. but i did it ONLY because i had no way to back it up.