From owner-freebsd-questions Mon Oct 23 2: 4:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [203.2.75.105]) by hub.freebsd.org (Postfix) with ESMTP id 494F237B4C5; Mon, 23 Oct 2000 02:04:27 -0700 (PDT) Received: from echidna.stu.cowan.edu.au (perax5-171.dialup.optusnet.com.au [198.142.91.171]) by mail02.syd.optusnet.com.au (8.9.3/8.9.3) with ESMTP id UAA26479; Mon, 23 Oct 2000 20:02:29 +1100 Message-ID: <39F3FF56.3DD9103F@echidna.stu.cowan.edu.au> Date: Mon, 23 Oct 2000 17:05:26 +0800 From: Trent Nelson X-Mailer: Mozilla 4.74 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@FreeBSD.org Cc: jhb@FreeBSD.org Subject: Dump/restore question. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to change the working size of the slice I've allocated to FreeBSD from 4GB to 8GB (the whole disk). I'm not confident recreating all the relevant partitions using newfs(8) and would rather rely on the 4.1-RELEASE install CD I have. From restore(8): -r Restore (rebuild a file system). The target file system should be made pristine with newfs(8), mounted and the user cd'd into the pristine file system before starting the restoration of the initial level 0 backup. With reference to the word "pristine" above, my question is can I restore my 5.0 system to the file systems I'll create with the 4.1 installation utility? Or does this violate the definition of "pristine"? Would creating the partitions then rm -rf *'ing everything, then attempting to restore -r work? Or alternatively, can I create all the partitions and not have to install anything? Given I'd like to get the system exactly how it is now, just with bigger partitions, are there any aspects that dump/restore wouldn't cover? For example, changed boot blocks or something? Thanks in advance. Trent. PS: If newfs(8) is the only option, would I be able to construct a list of the newfs commands I'd use and just have someone give me a 'yay' or 'ney' as to their correctness? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message