From owner-freebsd-questions Sun Feb 2 1: 5:58 2003 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 178BA37B401 for ; Sun, 2 Feb 2003 01:05:57 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B97243F3F for ; Sun, 2 Feb 2003 01:05:48 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id h1297LJi091840; Sun, 2 Feb 2003 10:07:22 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id h1297LFS091839; Sun, 2 Feb 2003 10:07:21 +0100 (CET) Date: Sun, 2 Feb 2003 10:07:21 +0100 From: Ruben de Groot To: bastill@adam.com.au Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ooops. Message-ID: <20030202090721.GA91710@ei.bzerk.org> References: <005601c2c8c5$47735b10$6501a8c0@grant> <1043981504.3e39e4c0b6e66@webmail.adam.com.au> <44znpinhl7.fsf@be-well.ilk.org> <1043983614.3e39ecfecd509@webmail.adam.com.au> <20030131201357.GA18381@gothmog.gr> <3E3ADA1B.5020304@potentialtech.com> <1044095023.3e3ba02f81b4b@webmail.adam.com.au> <1044169749.3e3cc4158d3d7@webmail.adam.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1044169749.3e3cc4158d3d7@webmail.adam.com.au> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Feb 02, 2003 at 05:39:09PM +1030, bastill@adam.com.au typed: > Are we aiming at the wrong target, here? > I used the fixit CD to examine ad0s3, where my missing files reside. > > What I found was that (eg) /bin, /etc, /dev were full of files/directories, but > /var and /usr were empty. I didn't ask dump/restore to delete anything, and did > not ask rm to remove the files from /var or /usr/everything. > The command I used to copy was: > dump 0af - / | restore xf - > Is it dump or restore that have been causing the problem? This is not a problem. dump works one filesystem at a time and it looks like you have /usr and /var mounted on seperate filesystems. So, the commands to copy everything are: cd /mnt/other dump 0af - / | restore xf - cd /mnt/other/var dump 0af - /var | restore xf - cd /mnt/other/usr dump 0af - /usr | restore xf - > > home@ on ad0s3 still links to /usr/home so that if I "mount /dev/ad0s3 > /mnt/other" in my working system on ad2, ls /mnt/other/home shows my working > home directory - a bit startling when you first see it. Don't see this as > significant, but you gurus might. > > -- > Brian > > > ----------------------------------------------- > This message sent through Adam Internet Webmail > http://www.adam.com.au > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message