From owner-freebsd-stable@FreeBSD.ORG Sat Aug 22 11:32:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD351106568C for ; Sat, 22 Aug 2009 11:32:12 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 880008FC21 for ; Sat, 22 Aug 2009 11:32:12 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 0424246B92; Sat, 22 Aug 2009 07:32:12 -0400 (EDT) Date: Sat, 22 Aug 2009 12:32:11 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <4A8ECB9C.2020909@quip.cz> Message-ID: References: <4A8EAE86.2000108@t-online.hu> <4A8ECB9C.2020909@quip.cz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Mikael Bak , freebsd-stable@freebsd.org Subject: Re: Upgrade FreeBSD 7.1 to 7.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 11:32:12 -0000 On Fri, 21 Aug 2009, Miroslav Lachman wrote: >> I would like to do a binary upgrade from 7.1 to 7.2. I've seen the >> instructions here: http://www.freebsd.org/releases/7.2R/announce.html >> >> I've heard that it's safest to start the machine in single user mode when >> doing upgrades, but I see no notice about it in the announcement. >> >> So my question is: Is it ok to do this binary upgrade without start single >> user mode first? >> >> If no, must I reboot my machine to enter single user mode? > > I always did upgrade in multiuser for minimalising the downtime of servers. I always do it this way, but accept the risk involved. I actually did my 7.x -> 8.x upgrade on my web/shell server this way, with users logged in, but I think that's probably only for the brave of heart. FWIW, the main problem I ran into with my 8.0 upgrade is that 8.0 uses the uart(4) driver for serial ports, and sio(4), 7.2's default, has been removed. They require mutually exclusive lines in device.hints and different /etc/ttys lines. If you rely on a serial console, I would recommend first switching 7.2 to using uart, pausing for a bit, and then switching forward to 8 so that you separate the risks associated with changing console drivers from those associated with sliding a major kernel version. Robert