From owner-freebsd-chat Sun Feb 24 10:12: 7 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2969137B404 for ; Sun, 24 Feb 2002 10:12:05 -0800 (PST) Received: from hades.hell.gr (patr530-a175.otenet.gr [212.205.215.175]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g1OIC0qO021628; Sun, 24 Feb 2002 20:12:02 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g1OIC0i22132; Sun, 24 Feb 2002 20:12:00 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 24 Feb 2002 20:11:59 +0200 From: Giorgos Keramidas To: Chip Morton Cc: FreeBSD Chat Subject: Re: Drive/Partition Copying Utilities Message-ID: <20020224181158.GB21689@hades.hell.gr> References: <4.3.2.7.2.20020224124532.018d2ac0@threespace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20020224124532.018d2ac0@threespace.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002-02-24 12:45, Chip Morton wrote: > At 11:18 PM 2/23/2002, Giorgos Keramidas wrote: > >Note that AFAIK, ghost doesn't understand BSD slices (called 'partitions' > >in the DOS/Windows/Linux part of the world), so you (Chip) would need to > >make sure you leave some space 'unused' to be able to create BSD partitions > >with the standard fdisk(8) tool of FreeBSD on that disk. > > And I take it that I'd then be back to using the dump/restore combo to move > the data to the newly created slices? Dump(8) can be piped to restore, if you have attached and mounted the two disks. For instance, if I wanted to create a copy of ad0 to ad1, and it had 4 partitions in slice ad0s1, I can fdisk/disklabel ad1 too and mount it under /mnt. Then I can: # dump 0f - /dev/ad0s1a | ( cd /mnt ; restore ... ) Similar commands for the rest of them partitions in the ad0s1 slice, and then a bit of editing in /mnt/etc/fstab to accomodate for the partitions of ad1, and I'm done. Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message