Bug #429
closed
Upgrade failed from console disk full!
Added by Oscar Francia over 14 years ago.
Updated over 14 years ago.
Description
/root/firmware.tgz 76% of 81 MB 135 kBps 02m26s
/: write failed, filesystem is full
/root/firmware.tgz 76% of 81 MB 135 kBps 02m24s
fetch: /root/firmware.tgz: No space left on device
Warning: filesize(): stat failed for /root/firmware.tgz in /etc/rc.initial.firmware_update on line 58
File size mismatch. Upgrade cancelled.
I's embedded image 512Mb
df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/pfsense0 215M 153M 45M 77% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 38M 4.0K 35M 0% /var/tmp
/dev/md1 58M 6.3M 47M 12% /var
/dev/ufs/cf 49M 39K 45M 0% /cf
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev
I use the 512 MB image on an Alix 2c3 and see the same type of thing when attempting an upgrade from the web gui in 2.0.
- Status changed from New to Feedback
Can you please test with latest snapshots which have debugging removed?
Yeah, 76% of 81 MB is about 61.5 MB and the new snapshots are smaller than that, so it might work at least on a system without any packages using up that space with things.
I've tested from web interface and the error is this I've tested from snapshot 03-05-2010 and from snapshot 12-05-2010 to 13-05-2010 nanobsd 1Gb :
May 12 19:41:42 php: /system_firmware.php: The command '/usr/local/sbin/gzsig verify /etc/pubkey.pem < '/root/firmware.tgz'' returned exit code '2', the output was 'No gzip signature found Couldn't verify input'
May 12 19:42:11 php: : New alert found: Upgrade failed due to the upgrade image being larger than the partition that is configured on disk. Halting. Size on disk: 450 < Size of new image: 950
That last message seems to indicate you were trying to load a 2G update onto a CF originally written with a 1G image.
Jim P wrote:
That last message seems to indicate you were trying to load a 2G update onto a CF originally written with a 1G image.
No, the CF is 1Gb and update is 1gb!
Do you mean that the uncompressed size is around 1 GB or that you used the image for the 1 GB NanoBSD platform? The uncompressed size of the update image for the 1 GB platform is a little under half a GB and the update image for the 2 GB platform is a little less than 1 GB.
Erik Fonnesbeck wrote:
Do you mean that the uncompressed size is around 1 GB or that you used the image for the 1 GB NanoBSD platform? The uncompressed size of the update image for the 1 GB platform is a little under half a GB and the update image for the 2 GB platform is a little less than 1 GB.
I used image: pfSense-2.0-BETA1-1g-20100513-1550-nanobsd.img.gz :)
That is a full image, not an upgrade image. You need, for example, pfSense-2.0-BETA1-1g-20100517-0921-nanobsd-upgrade.img.gz
It seems you probably did already at least get past the part where the image was too large to upload, so this is probably sort of worked around by the decreased size of newer images, though it would be nice to have a proper fix for this sometime in the future.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF