Hi list,
a bout a year and a half ago, I installed pfSense 1.2.3 in a virtual
environment. I didn't use the VMware Image provided on the pfsense web
site, as I am using a different virtualization solution (Linux kvm, in
case anyone wonders).
I created the virtual environment with a 512 Megabyte virtual hard disk,
and the system has been running smoothly ever since.
A few days ago, I tried upgrading to pfSense 2.0 and the upgrade failed
hard - the machine just wouldn't start after a reboot.
Checking the console, I received a message that the system was unable to
find the kernel.
So I restored the image from a backup and tried upgrading again, this
time from the command line.
What I saw was that the system was running out of disk space:
Firmware upgrade in progress...
..............................
/: write failed, filesystem is full
.
/: write failed, filesystem is full
.
/: write failed, filesystem is full
.............
After restoring the image to its previous state (again *sigh*), I
decided to log in and check how much disk space is available, and df -h
tells me:
/dev/ad0s1a 248M 110M 118M 48% /
Which makes me wonder :
1) Why did the installer only use 248M of the available 512M? Is there
any particular reason for only using half of the available disk space,
or did I make a mistake back when I installed the system?
2) Is there any way to recover from this situation that saves me from
having to do a full re-install? Like, enlarging the partition/slice and
the filesystem on it from inside the running pfSense 1.2.3 system?
(Having to reboot it a few times during the preparations for the upgrade
would be acceptable.) I have to admit I'm a little spoiled from what
I've seen with Linux and ext2/ext3 - Resize the partition, reboot so the
kernel can figure out the new partition table, enlarge the filesystem
while it is mounted, that's how it works there. Surely FreeBSD has a
similar procedure?
For those of you that want to take a closer look, I copied the output of
various fdisk commands and made them available here:
http://pastebin.com/Mhdvgh4k
Kind Regards,
Stefan
_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list