Re: upgrade from 8.2 to 9.0

2012-01-15 Thread Dick Hoogendijk

Op 14-1-2012 17:04, Mike Clarke schreef:

On Saturday 14 January 2012, Dick Hoogendijk wrote:


I had not heard of this project before. Sounds very nice if it works.
Manging BE's is one of the main things I miss in the FreeBSD ZFS
support. Coming from (open)Solaris this was quite a disappointment.
BE's rock!

Yes, it's working fine here.

[...]
Thank you very much for giving these examples. Sounds really nice. Have 
not tried it yet however.
Still feel it's a pity FreeBSD did not incorporate the creation and 
managing of BE's within the system.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-14 Thread Mike Clarke
On Saturday 14 January 2012, Dick Hoogendijk wrote:

> I had not heard of this project before. Sounds very nice if it works.
> Manging BE's is one of the main things I miss in the FreeBSD ZFS
> support. Coming from (open)Solaris this was quite a disappointment.
> BE's rock!

Yes, it's working fine here.

You can even upgrade a new environment while you continue working with 
the current one with

   manageBE create -n  -s  -p 
   manageBE freebsd-upgrade -n  -p  -r 
   manageBE activate -n  -p 

Then reboot into the new BE and complete the upgrade with the 
final "freebsd-update install" step. But I needed to 
change "chroot /${bootfs}" near the end of the script 
to "chroot /${pool}/ROOT/${bootfs}" to get "manageBE freebsd-upgrade" 
command to work.

Along similar lines, if you need to do a massive ports upgrade which you 
suspect might go pear shaped then you can do it in a new BE without 
upsetting your working system:

   chroot /tank/ROOT/newBE mount -t devfs devfs /dev
   chroot /tank/ROOT/newBE portmaster -a
   chroot /tank/ROOT/newBE umount /dev

... then, if all went well,  activate the new BE and reboot.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-14 Thread Dick Hoogendijk

Op 14-1-2012 12:37, Mike Clarke schreef:

On Saturday 14 January 2012, Dick Hoogendijk wrote:


My system is running ZFS on root now, so I would very much like to
hear if the binary upgrade through freebsd-update works well for such
a system (w/ zfs on root). I don't want to get stuck with a system
that won't boot again because something goes wrong with zfs.

Have you considerd using manageBE
? With
this tool you can set up cloned alternative Boot-Environments (BE) so
that you can go back to your old BE if the new one doesn't work.


I had not heard of this project before. Sounds very nice if it works. 
Manging BE's is one of the main things I miss in the FreeBSD ZFS 
support. Coming from (open)Solaris this was quite a disappointment. BE's 
rock!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-14 Thread Mike Clarke
On Saturday 14 January 2012, Dick Hoogendijk wrote:

> My system is running ZFS on root now, so I would very much like to
> hear if the binary upgrade through freebsd-update works well for such
> a system (w/ zfs on root). I don't want to get stuck with a system
> that won't boot again because something goes wrong with zfs.

Have you considerd using manageBE 
? With 
this tool you can set up cloned alternative Boot-Environments (BE) so 
that you can go back to your old BE if the new one doesn't work.

I'm in the process of upgrading to 9.0 and taking the opportunity of 
changing over to ZFS. I needed to re-arrange my filesystem structure to 
boot from tank/ROOT/someBEname/ instead of tank/ (and make sure the 
mountpoints of any descendent file systems are suitably adjusted) but 
it was worth the effort.

I installed 9.0-RC2 from the ISO onto a spare drive so I haven't done an 
8 to 9 binary upgrade but I have used freebsd-update to upgrade from 
9.0-RC2 to 9.0-RELEASE and that went through without any problems. 

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-14 Thread Dick Hoogendijk

Op 13-1-2012 15:00, Polytropon schreef:

On Fri, 13 Jan 2012 14:42:03 +0100, Dick Hoogendijk wrote:

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with "freebsd-update -r
9.0-RELEASE fetch" If so, I do like to hear the caveats.

Source update also shouldn't be a problem.
Setup your CVS "supfile" to get the 9.0-RELEASE
sources and follow the instructions in the
handbook and in /usr/src/Makefile's comment
header.
I will use the binary upgrade path. It seems easier for a non high-tech 
system ;-)
My system is running ZFS on root now, so I would very much like to hear 
if the binary upgrade through freebsd-update works well for such a 
system (w/ zfs on root). I don't want to get stuck with a system that 
won't boot again because something goes wrong with zfs.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-13 Thread Matthias Fechner
Hi,

Am 13.01.2012 14:42, schrieb Dick Hoogendijk:
> I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
> I guess the binary upgrade will not be a problem with "freebsd-update -r
> 9.0-RELEASE fetch" If so, I do like to hear the caveats.

I did last week a source upgrade and the new generic kernel has not able
to detected my hard disks anymore and therefor the system could not be
booted, because the zfs file system was not mountable anymore.

But if some users are reporting here good results, I maybe will try it
again.

Bye
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-13 Thread Dick Hoogendijk

Op 13-1-2012 14:56, Bas Smeelen schreef:

On 01/13/2012 02:42 PM, Dick Hoogendijk wrote:

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with "freebsd-update -r
9.0-RELEASE fetch" If so, I do like to hear the caveats.
My main problem lies with the installed ports. I know the -all- have to be
recompiled, but I don't know an easy way for this job.  I always use
portmaster. Do I have to make a list manually for all installed ports? Or
is there a procedure to follow in this matter? I'd like to get some
pointers if possible.
Thanks.
_

It works great with source upgrade, so freebsd-update should not be a
problem but i haven't used it yet to upgrade to 9.
It is used like this: freebsd-update -r 9.0-RELEASE upgrade  (i.e. not fetch)
See also the handbook for a good explanation

You can use portmaster --list-origins to make a list of all root and leaf
ports and use this to reinstall all ports after the upgrade.
See man portmaster for a good example.

Or you can use portmaster -af to recompile all ports.
Ah, yes, I remember the latter is disadviced because some ports can have 
differences so you have some garbage if you run portmaster -af
I will look up the example in the manual. It also will tell me 
(probably) if all ports have to be removed beforehand or that this does 
not matter.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-13 Thread Polytropon
On Fri, 13 Jan 2012 14:42:03 +0100, Dick Hoogendijk wrote:
> I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
> I guess the binary upgrade will not be a problem with "freebsd-update -r 
> 9.0-RELEASE fetch" If so, I do like to hear the caveats.

Source update also shouldn't be a problem.
Setup your CVS "supfile" to get the 9.0-RELEASE
sources and follow the instructions in the
handbook and in /usr/src/Makefile's comment
header.



> My main problem lies with the installed ports. I know the -all- have to 
> be recompiled, but I don't know an easy way for this job. 

Not "have to", but it's often considered
"best practice". If you don't want to
recompile all your ports, make sure two
things are met:

1. You have COMPAT_FREEBSD8 in your kernel.

2. You have compat8x-i386-8.2.12345.67890
   installed (or amd64 respectively).

This will work as long as you're not starting
to install something new (which may cause
library version trouble).

However, using a port management tool to do
the job of "update all ports" is often highly
recommended.



> I always use 
> portmaster.

Did you look into its manual already? :-)



> Do I have to make a list manually for all installed ports? 

Depends. A possible approach is that you make
a list of your "primary ports", i. e. the stuff
that you are _really_ intending to use, where
"secondary ports" they depend on (i. e. the
dependencies) are not mentioned, as they will
be installed anyway. So for example, if "firefox"
is on your list as you intend to use it, there's
no need to list all its dependencies as well
because they are implicit.



> Or is there a procedure to follow in this matter? I'd like to get some 
> pointers if possible.

Sure. See "man portmaster", section EXAMPLES,
where you'll find "Using portmaster to do a
complete reinstallation of all your ports"
with a complete procedure.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from 8.2 to 9.0

2012-01-13 Thread Bas Smeelen
On 01/13/2012 02:42 PM, Dick Hoogendijk wrote:
> I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
> I guess the binary upgrade will not be a problem with "freebsd-update -r
> 9.0-RELEASE fetch" If so, I do like to hear the caveats.
> My main problem lies with the installed ports. I know the -all- have to be
> recompiled, but I don't know an easy way for this job.  I always use
> portmaster. Do I have to make a list manually for all installed ports? Or
> is there a procedure to follow in this matter? I'd like to get some
> pointers if possible.
> Thanks.
> _
It works great with source upgrade, so freebsd-update should not be a
problem but i haven't used it yet to upgrade to 9.
It is used like this: freebsd-update -r 9.0-RELEASE upgrade  (i.e. not fetch)
See also the handbook for a good explanation

You can use portmaster --list-origins to make a list of all root and leaf
ports and use this to reinstall all ports after the upgrade.
See man portmaster for a good example.

Or you can use portmaster -af to recompile all ports.


Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


upgrade from 8.2 to 9.0

2012-01-13 Thread Dick Hoogendijk

I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
I guess the binary upgrade will not be a problem with "freebsd-update -r 
9.0-RELEASE fetch" If so, I do like to hear the caveats.
My main problem lies with the installed ports. I know the -all- have to 
be recompiled, but I don't know an easy way for this job.  I always use 
portmaster. Do I have to make a list manually for all installed ports? 
Or is there a procedure to follow in this matter? I'd like to get some 
pointers if possible.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"