Re: migrate system to new HD question

2004-03-16 Thread Jud
On Tue, 16 Mar 2004 20:33:34 +1000, anubis <[EMAIL PROTECTED]>  
wrote:

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.
My apologies for coming in late to the discussion.  Someone has probably  
already suggested the following link from the FreeBSD FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK>

It's simple, it's easy, it works, and it works as fast as or faster than  
any other method.

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrate system to new HD question

2004-03-16 Thread anubis
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.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrate system to new HD question

2004-03-15 Thread Peter Ulrich Kruppa
On Mon, 15 Mar 2004, 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.
An alternative to imaging is a tool like pax (or tar),
which can copy filesystems instead of slices and - that is the
important part - preserve all user and group permissions,
creation dates and links (your system won't do anything anymore
without these).
Thus you are independent of existing slice structures on your old
HD.

Please be careful and have a look and the manuals and google.

Regards,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: migrate system to new HD question

2004-03-15 Thread Szymon K.
On Tuesday 16 March 2004 04:11, 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's a nice HOWTO @
 http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html

I'd used it to migrate my FreeBSD 4.9 install to a new disk. Takes some time 
but works superb.

Take Care...
-- 
--= Gates to Windows are closing ... =--
-= Balmerisation equals Lamerisation =-
-=  Internet Exploiter 6.00 =-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"