Date: Fri, 01 Jun 2012 10:16:32 +0200 From: Damien Fleuriot <ml@my.gd> To: Matthew Seaman <matthew@FreeBSD.org> Cc: freebsd-stable@FreeBSD.org, Jim Ohlstein <jim@ohlste.in> Subject: Re: Why Are You Using FreeBSD? Message-ID: <4FC87A60.3020102@my.gd> In-Reply-To: <4FC7B4CC.1070507@FreeBSD.org> References: <C480320C-0CD9-4B61-8AFB-37085C820AB7@FreeBSD.org> <4FC779C0.7020801@ohlste.in> <4FC77EAD.1090900@my.gd> <4FC78A94.8070008@ohlste.in> <4FC79136.6000205@my.gd> <4FC7B4CC.1070507@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
On 5/31/12 8:13 PM, Matthew Seaman wrote: > On 31/05/2012 16:41, Damien Fleuriot wrote: >> You missed the bit about 3 reboots, while these don't take 15 mins each, >> they're still time consuming and disruptive. >> 1/ reboot after installing new kernel >> 2/ reboot after installing new world >> 3/ reboot after rebuilding ports > > If you rebuilt the ports first, then you'ld only have two reboots. > > Also, while the cautious approach detailed in /usr/src/UPDATING is never > wrong, much of the time you can do the upgrade perfectly well by > installing world+kernel together and just rebooting once. Obviously > this is not a good idea if your machines are in a datacenter many miles > away and you don't have console-equivalent access or if you're upgrading > over a large delta in versions, or you're making major changes to the > kernel config. > > This sort of operation is something that ZFS boot environment support > (recently committed to HEAD, due for MFC within the month) makes much, > much safer and easier to deal with. You don't need to do a separate > reboot to test the kernel as you've still got an entire kernel+world in > the previous BE to fall back on. > > Cheers, > > Matthew > The reason I rebuild the ports last is because, unless I'm wrong, any port that's statically linked to a system library would be linked to the old library from the old world. We've got very high HA constraints on these machines and I really prefer doing this the cautious way. Hell, on the first reboot I actually test the new kernel with "nextboot -k" , even when doing 8.2-RELEASE -> 8-STABLE upgrades... Regarding the ZFS boot thingy, I'm not comfortable enough with it to push it in production, so we're still using UFS here. Sure looks interesting though.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FC87A60.3020102>
