From owner-freebsd-questions@FreeBSD.ORG Sun May 23 06:00:56 2004 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 BBA5E16A4CE for ; Sun, 23 May 2004 06:00:56 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB6A843D2F for ; Sun, 23 May 2004 06:00:55 -0700 (PDT) SRS0=6Ndl8gk6=IR=asarian-host.net=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.11/8.12.11) id i4ND0KFm063963 for freebsd-questions@freebsd.org; Sun, 23 May 2004 15:00:20 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200405231300.I4ND0KQT063952@asarian-host.net> Date: Sun, 23 May 2004 13:00:20 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: nRlDea+rDQuk1D5jFSX+pM8/8hVMzggILubspgpWAfBayZk/4o/Mo1OztyicA2j+Hgkd4fhLaLXEUmjreIlPgg== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: "Grant Peel" , References: <009f01c440c1$c9091d20$6601a8c0@grant> 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.1409 X-Auth: Asarian-host PGP signature iQEVAwUAQLCgZDFqW1BleBN9AQE93Qf/cuXk6VCm1dTsFmuacfCb7J9YK1ILviZk qyNbl2esRgbsONslEEbcm3IlLXiBEjZdAmz5pmzZfvSZqaD/0ffhrneqX09fq6W8 MHtOkvDHHW53aQlgJtksXq1PeG2/CelMblf/pxZwkJP2VidZTPiE77vcOtb8k0CE Mt4KeI+NDowZFAtuQOmfZi2VRKg/xbPT1ublBMq2F9Mbyr4kqndYBhyBy93p99Wj Zbe+9N3RXneKcTk4DthxX3EaTgNW0KxsXbikC0FGnyymqNVfeYjE/GGOpVoXqF3i oGHoa1wo61uDY7Ll+NIk+fUQASYvTa4KQ8N3HlMrAXXJ0LXIVbpiKg== =UfXm Subject: Re: New machines - Dump and Restore -deploy 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: Sun, 23 May 2004 13:00:56 -0000 Grant Peel wrote: > I intend to use Dump and Restore to completely copy the OS from the > older box to the two new ones. > > Before I do this, I have three questions: > > The current (older box) has only a 18 GB SATA drive on it. The two new > machines have 36 GB SCSI drives. So my question is, as long as the > partitions on the new box are names the same as the old box, and are > at least the same size, or bigger, dump and restore should work > without problems (?) Dump/restore are not partition-bound per se; if you wish to restore your /usr partition in /var, for instance, restore will not keep you from doing so (I hope common sense will; but that is a different matter). Restore will restore in the current directory. So, if you wish to restore your usr partition, you could do something like this: newfs /dev/ad0s1e (if that is where your /usr partition resides) mount /dev/ad0s1e /usr cd /usr restore -rf/path-to-file > I will need to install a base OS on the new systems first, so I can > partition the drives and be able to connect tot the box, the second > question is, when I use restore, will it overwrite the kernel, if so, > can I protect the kernel from being overwritten? You cannot restore the root-partition on the root-partition that you booted from, because it is in use at the time. You need to boot from a different FreeBSD system (or 'fix-it' floppy) to make that happen. - Mark