From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 16:16:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 461DC16A4CE for ; Tue, 9 Dec 2003 16:16:19 -0800 (PST) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6070143D1F for ; Tue, 9 Dec 2003 16:16:16 -0800 (PST) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 5696C72DB5; Tue, 9 Dec 2003 16:16:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 5117972DAD; Tue, 9 Dec 2003 16:16:16 -0800 (PST) Date: Tue, 9 Dec 2003 16:16:16 -0800 (PST) From: Doug White To: Ion-Mihai Tetcu In-Reply-To: <20031209000004.36d4a1b9.itetcu@apropo.ro> Message-ID: <20031209161412.X25346@carver.gumbysoft.com> References: <20031208181611.1a358bb5.itetcu@apropo.ro> <20031209000004.36d4a1b9.itetcu@apropo.ro> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: fsck sig 11 (cannot alloc 4216257920 bytes for inoinfo) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 00:16:19 -0000 On Tue, 9 Dec 2003, Ion-Mihai Tetcu wrote: > Maybe I wasn't clea. This is what I did: You weren't :) > 1. Booted from CDROM, newfs, install minimal, etc. > > 2. Booted from ad0 to see the system up. > > 3. Booted from ad3 and dump/restore the ad3 partitions to ad0 using the > -L swich for dump, as the partition ad3 partition where mounted. sounds good. > > then copy the data over > > using tar instead of dump/restore. Tar like this should be close enough: > > > > tar -C / -cpf - | tar -C /newroot/ -xpvf - > > The FAQ explicitly says not to use tar but dump/restore. "You should > never use anything but dump(8) and restore(8) to move the root > filesystem" Thats only if you care about hardlinks and file flags (schg). It doesn't cause a wrecked system, though. > > edit /newroot/etc/fstab, change entries Did you remember to do this? If not you may have been fscking with the wrong fsck, and fsck from 4.x will trip over a UFS2 filesystem that a 5.x install would have created. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org