From owner-freebsd-questions@freebsd.org Thu Mar 10 17:53:17 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2169EACA19E for ; Thu, 10 Mar 2016 17:53:17 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BA2CFDF3 for ; Thu, 10 Mar 2016 17:53:16 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u2AHrF9w002970; Thu, 10 Mar 2016 17:53:15 GMT (envelope-from freebsd@qeng-ho.org) Subject: Re: Are system updates without reboots possible? To: krad References: <56E162B5.4010309@qeng-ho.org> <20160310143834.GA16507@neutralgood.org> Cc: FreeBSD-Questions From: Arthur Chance Message-ID: <56E1B48B.2080908@qeng-ho.org> Date: Thu, 10 Mar 2016 17:53:15 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2016 17:53:17 -0000 On 10/03/2016 15:17, krad wrote: > From what i remember there is an equivalent of linux pivot mount coming in > freebsd 11. Doing that technically isn't a reboot, but it will definitely > ensure everything is restarted. > > Is there any motive to this though, as the safest way is to create a new > boot env with the new patched stuff in, and then reboot. You have fail back > then, incase of issues. Partly pure curiosity, partly wishing to minimise server downtime. I know reboots are the safest way, I currently always reboot. However, I've never had problems with a security update, so I wondered if I could avoid even the small amount of down time a reboot takes. I've been looking at Erlang & Elixir recently and love the ability to update running code without interruption in suitably written servers. -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.