Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-15 Thread John Nielsen
On Wednesday 15 November 2006 02:54, Jonathan McKeown wrote:
 On Tuesday 14 November 2006 18:13, Scott Schappell wrote:
  The writing is on the wall and all that stuff. I've put this off long
  enough.
 
  What needs to be done to upgrade from 4.11 to 6.x?  I have an extensive
  amount of ports installed and in googling and searching the list, it
  seems I need to make a jump to 5.2 then from there to 6.

 I'm about to do this, but I've opted for a clean install, as others have
 suggested - but with a twist.

 I've installed an additional drive the same size as the original (80GB) -
 I'm going to install on the new drive, transplant data as needed from the
 old drive, and when I'm happy with everything, use gmirror to turn both
 drives into a little RAID-1 plex.

Do yourself a favor and create the mirror before you get started. To begin 
with you'll only add the new drive as a member, then once you've copied 
everything over you insert the old drive.

It is possible to convert regular devices into gmirror members after they 
have data on them, but unless you're extremely careful there's a small risk 
of the gmirror metadata sector overlapping a data sector.

 I'm also trying to do it remotely, with ssh access to the distant box and
 one right next to it, and a null-modem cable between them to give me serial
 console access during the upgrade. If it works I'll detail the steps here,
 as I wasn't able to find a quick and easy guide to this process anywhere.

I'd suggest playing around with gmirror locally first. In particular, make 
sure that whatever partitioning scheme you come up with using gmirror will 
boot. (I haven't had any problems with this, but it's a good 
anti-foot-shooting measuer) Also be very sure that the old drive is not 
smaller than the new drive. (If it is, then just shave some space off the 
device you're using to create the mirror on the new drive).

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


RE: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Jay Gordon
That's the way I would go about it.

Jay Gordon
Unix Systems Administrator
DataPipe Managed Hosting Services
- What It Means To Be Sure - 
[EMAIL PROTECTED]  |  http://www.datapipe.com
Tel: 201.792.1918 x2402 |  Fax: 201-792-3090


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Schappell
Sent: Tuesday, November 14, 2006 11:14 AM
To: FreeBSD Questions
Subject: It's time to bite the bullet and do a major upgrade from 4.11
to 6.0

The writing is on the wall and all that stuff. I've put this off long
enough.

What needs to be done to upgrade from 4.11 to 6.x?  I have an extensive
amount of ports installed and in googling and searching the list, it
seems I
need to make a jump to 5.2 then from there to 6.

My thinking is the best way to do this would be to cvsup, do the
rebuilding
of the world thing boot it to the 5 version then cvsup to 6.

The server is continuously backed up so rolling back won't be a problem
if I
need to.

Am I on the right track by doing source upgrades? If so, what
intermediate
jump(s) do I need to make to get from 4.11 to 6?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Garrett Cooper

Jay Gordon wrote:

That's the way I would go about it.

Jay Gordon
Unix Systems Administrator
DataPipe Managed Hosting Services
- What It Means To Be Sure - 
[EMAIL PROTECTED]  |  http://www.datapipe.com

Tel: 201.792.1918 x2402 |  Fax: 201-792-3090


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Schappell
Sent: Tuesday, November 14, 2006 11:14 AM
To: FreeBSD Questions
Subject: It's time to bite the bullet and do a major upgrade from 4.11
to 6.0

The writing is on the wall and all that stuff. I've put this off long
enough.

What needs to be done to upgrade from 4.11 to 6.x?  I have an extensive
amount of ports installed and in googling and searching the list, it
seems I
need to make a jump to 5.2 then from there to 6.

My thinking is the best way to do this would be to cvsup, do the
rebuilding
of the world thing boot it to the 5 version then cvsup to 6.

The server is continuously backed up so rolling back won't be a problem
if I
need to.

Am I on the right track by doing source upgrades? If so, what
intermediate
jump(s) do I need to make to get from 4.11 to 6?
  
   That's a major set of version jumps though, so you may want to 
consider a clean install of 6.x via binaries, then source upgrade to 6.2 
in a couple of weeks using cvsup once it's made stable; besides, 
reinstalling would be trivial if you copy down your /etc files you need 
to keep, as well as your packages / ports db (/var/db/ports), and home 
directories. Besides, if you do a clean reinstall at least you might 
claim back some space that was being used by leftover cruft from 
packages, uninstalled packages, or 'ancient' :) OS features.

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


Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Jerry McAllister
On Tue, Nov 14, 2006 at 02:31:26PM -0500, Jay Gordon wrote:

 That's the way I would go about it.
 
 Jay Gordon
 Unix Systems Administrator
 DataPipe Managed Hosting Services
 - What It Means To Be Sure - 
 [EMAIL PROTECTED]  |  http://www.datapipe.com
 Tel: 201.792.1918 x2402 |  Fax: 201-792-3090
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Scott
 Schappell
 Sent: Tuesday, November 14, 2006 11:14 AM
 To: FreeBSD Questions
 Subject: It's time to bite the bullet and do a major upgrade from 4.11
 to 6.0
 
 The writing is on the wall and all that stuff. I've put this off long
 enough.
 
 What needs to be done to upgrade from 4.11 to 6.x?  I have an extensive
 amount of ports installed and in googling and searching the list, it
 seems I
 need to make a jump to 5.2 then from there to 6.
 
 My thinking is the best way to do this would be to cvsup, do the
 rebuilding
 of the world thing boot it to the 5 version then cvsup to 6.
 
 The server is continuously backed up so rolling back won't be a problem
 if I
 need to.
 
 Am I on the right track by doing source upgrades? If so, what
 intermediate
 jump(s) do I need to make to get from 4.11 to 6?

Well, it might depend a lot on what sort of stuff you have accumulated
by using those ports.   If it is basically compatible with the ports 
versions that go along with 6.2 (same file formats, etc) and if you have
your own data well separated from OS and ports working storage, then the 
whole process might be easier as a clean new install - even on a clean
new (bigger - might as well now when it is easy) disk.   

Mainly, I think it will take less time to do the single new install
than to do multiple upgrades and builds to bring things up to date.
I believe there are also some file system improvements that you will 
miss if you do not rebuild the file systems at the 6.xxx level.

If some of your third party stuff or ports make incompatible changes
in formats of data that you want to keep, then you might have to make
incremental steps to make sure it uses whatever conversions are put
in the upgrade processes along the way.   I don't know of any off hand,
but I use only a limited set of ports so just may not run across them.

You would need to make handy copies of config files which you may
have to hand merge to get everything up and running - not so much 
for the main OS as possibly for some ports, but you might have to
do that anyway - which ever way you do it.

Once you get things up and running at 6.2 or whatever, then import
the data you want to keep and you should be OK.

A clean install is also a possibly good time to reorganize where things 
are kept and how they are organized if you have felt the need. 

I did a couple of clean install jumps from 4.xx to 6.1 and really
had no problem a while back.   

Have fun,

jerry


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


Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Robert Huff

Jerry McAllister writes:

  I believe there are also some file system improvements that you
  will miss if you do not rebuild the file systems at the 6.xxx
  level.

Particularly, 4.x does not have UFS2/MAC which is the wave of
the future.


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


Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Garrett Cooper

Robert Huff wrote:

Jerry McAllister writes:

  

 I believe there are also some file system improvements that you
 will miss if you do not rebuild the file systems at the 6.xxx
 level.



Particularly, 4.x does not have UFS2/MAC which is the wave of
the future.


Robert Huff
  

Yes. UFS2's softupdates are a really wonderful thing and a lifesaver.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It's time to bite the bullet and do a major upgrade from 4.11 to 6.0

2006-11-14 Thread Jonathan McKeown
On Tuesday 14 November 2006 18:13, Scott Schappell wrote:
 The writing is on the wall and all that stuff. I've put this off long
 enough.

 What needs to be done to upgrade from 4.11 to 6.x?  I have an extensive
 amount of ports installed and in googling and searching the list, it seems
 I need to make a jump to 5.2 then from there to 6.

I'm about to do this, but I've opted for a clean install, as others have 
suggested - but with a twist.

I've installed an additional drive the same size as the original (80GB) - I'm 
going to install on the new drive, transplant data as needed from the old 
drive, and when I'm happy with everything, use gmirror to turn both drives 
into a little RAID-1 plex.

I'm also trying to do it remotely, with ssh access to the distant box and one 
right next to it, and a null-modem cable between them to give me serial 
console access during the upgrade. If it works I'll detail the steps here, as 
I wasn't able to find a quick and easy guide to this process anywhere.

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