From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 17:09:47 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 6E26D8F8 for ; Sat, 24 Jan 2015 17:09:47 +0000 (UTC) Received: from mx2.webtent.net (mx2.webtent.net [216.139.202.4]) by mx1.freebsd.org (Postfix) with ESMTP id 44E5C7E1 for ; Sat, 24 Jan 2015 17:09:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 4F025D795E for ; Sat, 24 Jan 2015 12:04:31 -0500 (EST) Received: from mx2.webtent.net ([127.0.0.1]) by localhost (mx2.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 95497-03 for ; Sat, 24 Jan 2015 12:04:31 -0500 (EST) Received: from [192.168.1.104] (static-72-64-143-96.tampfl.fios.verizon.net [72.64.143.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mx2.webtent.net) by mx2.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id 4189DD7916 for ; Sat, 24 Jan 2015 12:04:30 -0500 (EST) Message-ID: <54C3D0A0.1000500@webtent.org> Date: Sat, 24 Jan 2015 12:04:32 -0500 From: Robert Fitzpatrick User-Agent: Postbox 3.0.11 (Windows/20140602) MIME-Version: 1.0 To: FreeBSD Subject: Root partition size too small for FreeBSD 10.1? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 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 17:09:47 -0000 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.... root@www:/usr/local/etc # df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 484M 378M 67M 85% / devfs 1.0k 1.0k 0B 100% /dev /dev/da0s1d 9.5G 1.6G 7.1G 18% /usr /dev/da0s1e 9.2G 2.7G 5.7G 32% /var /dev/da1s1 19G 4.0G 13G 23% /www Looking at the handbook, perhaps I could use the swap to extend the root partition and resize /var to add swap back in single user mode? And would that be enough space, still less than 1GB. root@www:/usr/local/etc # gpart show da0 => 63 41942977 da0 MBR (20G) 63 41929587 1 freebsd [active] (20G) 41929650 13390 - free - (6.6M) root@www:/usr/local/etc # gpart show da0s1 => 0 41929587 da0s1 BSD (20G) 0 1024000 1 freebsd-ufs (500M) 1024000 524288 2 freebsd-swap (256M) 1548288 20480000 4 freebsd-ufs (9.8G) 22028288 19901299 5 freebsd-ufs (9.5G) Thanks for any help or pointers...? -- Robert