From owner-freebsd-questions@FreeBSD.ORG Sat Feb 1 23:20:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF700262 for ; Sat, 1 Feb 2014 23:20:15 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B393316C6 for ; Sat, 1 Feb 2014 23:20:15 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id uy5so6499535obc.19 for ; Sat, 01 Feb 2014 15:20:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ofe3SXw5KDB15VNoiBrwSp/O3S7Uv9g4IXGKpIMp8HI=; b=0mDbmhWh8LEe/VT+LcUlOCQb0MYGlQlKWtlURlkK7hmHDFa84ET0hJP7OsHCZlYqCt ZDzuYeoNSgkzmkobeIdcg6O3osTk7JXGOwUwRhT2hRQhXZCPP3yfeb55qAjFn4o6JZ0x PaKT4bbNxgkFTB+GL4UFwAFuW4QPaIDDAMoYogYwyKMPEec8pyjVfWJegUD6mc8sjYKU AjL5Ee6IzCai92ALLK5Y91NoaelY02YQQWrUR7CkmRLATYx1yGzc9BNqoyKYSawyhkj2 gERm//ZQjo3W8bIlukbdC0IKn2lV5BM614lgcx4E8gRmdo+wa4WmLB5CWQAahPvrXobL ILvw== MIME-Version: 1.0 X-Received: by 10.182.209.106 with SMTP id ml10mr23108194obc.31.1391296814615; Sat, 01 Feb 2014 15:20:14 -0800 (PST) Received: by 10.182.45.228 with HTTP; Sat, 1 Feb 2014 15:20:14 -0800 (PST) In-Reply-To: <20140201145859.0eb2237a@b1c1l1.com> References: <20140201145859.0eb2237a@b1c1l1.com> Date: Sat, 1 Feb 2014 15:20:14 -0800 Message-ID: Subject: Re: No space left on device during freebsd-update install (stage 1) From: Patrick To: Benjamin Lee Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Feb 2014 23:20:16 -0000 On Sat, Feb 1, 2014 at 2:58 PM, Benjamin Lee wrote: > On Sat, 1 Feb 2014 13:51:46 -0800, Patrick wrote: > > $ sudo freebsd-update install > > Installing updates... > > /: write failed, filesystem is full > > install: ///boot/kernel/INS@9Y2g: No space left on device > > > > Kernel updates have been installed. Please reboot and run > > "/usr/sbin/freebsd-update install" again to finish installing updates. > > > > I was just doing an update from FreeBSD 9.2 to 10, and my root partition > > filled up on the first "install" stage (after running freebsd-update -r > > 10.0-RELEASE upgrade). Is there a way I can redo that first > "freebsd-update > > install" step? I'm concerned that the files didn't get copied over fully, > > and rebooting may leave me with a broken system. > > > > *checks man page* > > > > Okay, so looks like I'll be doing freebsd-update rollback and start over. > > Seems like freebsd-update should detect an error like a write failed > > though... > > You just need to install and boot into the new kernel before running > 'freebsd-update install' again, e.g.: > > * make buildkernel installkernel > > OR > > * download and extract the appropriate release kernel.txz for your arch > (e.g. ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/) > > Once you finish the full upgrade you should delete your data directory > (defaults to /var/db/freebsd-update) to avoid rolling back to an > inconsistent state in the future. > > > -- > Benjamin Lee > http://www.b1c1l1.com/ > Yeah, except that there was an error installing the new kernel, so it seemed risky to reboot into a potentially incomplete kernel. I opted to use the rollback command. That part seemed to go okay, but now when I try to upgrade, I get: Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching public key from update2.freebsd.org... done. Fetching metadata signature for 9.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base world/games The following components of FreeBSD do not seem to be installed: src/src world/doc Does this look reasonable (y/n)? y Fetching metadata signature for 10.0-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. And replacing /var/db/freebsd-update with a clean directory doesn't make a difference. *sobs*