From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 07:27:06 2003 Return-Path: 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 3118D16A4BF for ; Wed, 3 Sep 2003 07:27:06 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 930C943FF9 for ; Wed, 3 Sep 2003 07:27:04 -0700 (PDT) (envelope-from admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.9/8.12.9) id h83ER3tJ066914 for questions@freebsd.org; Wed, 3 Sep 2003 16:27:03 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Message-Id: <200309031427.H83ER32K066903@asarian-host.net> Date: Wed, 03 Sep 2003 14:27:03 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: 9TuRhyltCB1emXcOWoBODeZCg0TzTvGK4K95CbPjDPoEUxMtCdGYRt/W0yZoPpHvL56x9lOYIM5yn7fmPicpzw== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we are unable to process your complaint Organization: Asarian-host To: "Joshua Oreman" References: <20030903021608.B64375-100000@oahu.WURLDLINK.NET> <200309031312.H83DCO2K062567@asarian-host.net> <20030903141048.GC28275@webserver> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAP1X6NzFqW1BleBN9AQEgyAf/Qv0aC3mGx0iKtWk0NbUKNgkmNYgQwIqF 8Ygt7SMHwqinzYqUlC+qZJ047+ld8I45NW3mTQTcvwisHWz0YVRKB3PP/QDyEld5 MpIuKzGm/6yTLQ7uhCpG2NX9IYryuZyCSL7iDG2jnwYqp6dsipGz3CLt1Myb3O7N dpeHUyboAMa/AOwS8WfRcuhoYsY1rGHQXilGbgVKw2zS/aVmCABqh2Uy/mtowKac 3EwkM4K4+sasmAkSxqbgBm23mC8j9yB5x83ron1bWU8oM6WHoBimD+ybRv6VsqKh aCnQSYBcPiGvjvbPf+GympQFweBm2gshLyri3oERa4fNX+JixP4OhQ== =v6Hu cc: questions@freebsd.org Subject: Re: Ghost for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 14:27:06 -0000 ----- Original Message ----- From: "Joshua Oreman" To: "Mark" Cc: Sent: Wednesday, September 03, 2003 4:08 PM Subject: Re: Ghost for FreeBSD > > > cd /mnt/root > > > /sbin/dump -L -f- /|restore -rf- > > > cd /mnt/var > > > /sbin/dump -L -f- /var|restore -rf- > > > cd /mnt/usr > > > /sbin/dump -L -f- /usr|restore -rf- > > > > I have heard this before, but I never understand this part. :) How > > does creating a /mnt/root directory, and restoring in that directory > > get my / slice back? Then the restored data will just sit > > in /mnt/root! What good does it there? > > > > Or should I create /mnt/root as partition, about equal in size to the root > To mirror the root partition to another: > # mkdir /mnt/root > # mount /dev/ /mnt/root > # cd /mnt/root > # /sbin/dump -f- / | restore -rf- > > You will not *need* to umount the root partition. Ok; what you have done is made a dump on the root mirror device; great! But how do I now tell FreeBSD to use that "restored" partition as /? Edit /etc/fstab to effect the change for the next boot? I have a nagging suspicion it will then still boot off the old / slice. - Mark