Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 20:33:34 +1000
From:      anubis <anubis357@optusnet.com.au>
To:        Terrac Skiens <freebsd@terrac.com>, freebsd-questions@freebsd.org
Subject:   Re: migrate system to new HD question
Message-ID:  <200403162033.18444.anubis357@optusnet.com.au>
In-Reply-To: <20040316041146.GA2408@cloudfactory.org>
References:  <20040316041146.GA2408@cloudfactory.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Mar 2004 2:11 pm, Terrac Skiens wrote:
>  Hello All,
>
>   I have been running a FreeBSD system for fun & semi-pro uses for
> about 4 years. In all that time I only upgraded the Hard Disk once.
> That upgrade came at the same time as an OS upgrade, and at that
> time the server was used for much less. Now the applications,
> configuration, and data are all very important to me.
>
>   So now it's time to upgrade again. and I want to migrate all the
> data from one disk (20gb) to another (80gb). Does anyone know of a
> way of imaging one drive onto the other? Idealy I would like to
> increase some of the slices as well, but that may not be possible.
>
>   If anyone knows of a way, please let me know.

There is the ever popular dump and restore method also.  This allows 
you to modify the slice and partition sizes.
Do something like this.
drop in new disk
format up with the sysinstall tools
mount the new partitions somewhere
restore the data to them
edit files like fstab to change the disk names in there or just swap 
the drives around in the box so the new one is logically where the 
old one was.
reboot

look at man dump and man restore
If you really want to do it this way I can supply a better dummy 
sheet.





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