Date: Sat, 24 Jan 2015 12:04:32 -0500 From: Robert Fitzpatrick <robert@webtent.org> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Root partition size too small for FreeBSD 10.1? Message-ID: <54C3D0A0.1000500@webtent.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C3D0A0.1000500>