Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2002 20:11:59 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Chip Morton <tech_info@threespace.com>
Cc:        FreeBSD Chat <chat@freebsd.org>
Subject:   Re: Drive/Partition Copying Utilities
Message-ID:  <20020224181158.GB21689@hades.hell.gr>
In-Reply-To: <4.3.2.7.2.20020224124532.018d2ac0@threespace.com>
References:  <4.3.2.7.2.20020224124532.018d2ac0@threespace.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020224181158.GB21689>