From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 18:00:45 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 485566D9 for ; Sat, 24 Jan 2015 18:00:45 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08858C61 for ; Sat, 24 Jan 2015 18:00:44 +0000 (UTC) Received: from [24.134.45.92] (helo=michael-think.fritz.box) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1YF4Y4-0004Re-9r; Sat, 24 Jan 2015 18:31:04 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: FreeBSD , "Robert Fitzpatrick" Subject: Re: Root partition size too small for FreeBSD 10.1? References: <54C3D0A0.1000500@webtent.org> Date: Sat, 24 Jan 2015 18:30:58 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <54C3D0A0.1000500@webtent.org> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.5/19972/Sat Jan 24 12:52:56 2015) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2015 18:00:45 -0000 On Sat, 24 Jan 2015 18:04:32 +0100, Robert Fitzpatrick wrote: > I have a server I tried to upgrade to 10.1-RELEASE and it gave me out of > disk space errors when it came time at the end to making changes to > /boot/kernel. I reverted the snapshot taken on this VPS back to 8.4 for > now. The root partition is 85% used of a 500MB, and since more than half > the used space is in /boot/kernel, I think its the new kernel size that > is the issue and the root partition will have to grow? If that is the > case, I would have to make some room.... > Deleting all kernel debugging symbols: find /boot -name "*.symbols" | xargs rm and (optionally) building your new kernel without the config line makeoptions DEBUG=-g should also do it: > find /boot -name "*.symbols" | xargs rm > du -h /boot/ 4,0K /boot/zfs 4,0K /boot/firmware 85M /boot/kernel 28K /boot/defaults 4,0K /boot/dtb 4,0K /boot/modules 85M /boot/kernel.old 173M /boot/ Michael