From owner-freebsd-questions Sun Nov 21 8:16:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.mco.bellsouth.net (mail1.mco.bellsouth.net [205.152.111.13]) by hub.freebsd.org (Postfix) with ESMTP id 2C7521582C for ; Sun, 21 Nov 1999 08:16:36 -0800 (PST) (envelope-from efknight@bellsouth.net) Received: from bellsouth.net (host-209-214-130-159.jax.bellsouth.net [209.214.130.159]) by mail1.mco.bellsouth.net (3.3.5alt/0.75.2) with ESMTP id LAA21624 for ; Sun, 21 Nov 1999 11:16:33 -0500 (EST) Message-ID: <3837D44A.A4D8544F@bellsouth.net> Date: Sun, 21 Nov 1999 11:15:23 +0000 From: Edward Knight X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "questions@FreeBSD.ORG" Subject: copying filesystems into larger disk Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My original FBSD disk is running out of space. I got a larger disk and partitioned it for FBS, created larger filesystems with the same mount points using the minimal instalation. Now I want to use cpio to copy the filesystems from the old disk to the new one. I think this is what I need to do, please correct me if I'm wrong. From / in the old disk do find . -depth -print > /usr/tmp/fs.cp Connect the new disk as primary on the secondary IDE controller mount /dev/wd1s1a /mnt mount /dev/wd1s1e /mnt/var mount /dev/wd1s1f /mnt/usr cpio -pdumvt /mnt