Can not update - no space left on device
-
Have been backup logfiles and delete after - to freeup space, but upgrade fail with
[8/9] Upgrading pfSense-system from 25.11.1600001 to 25.11.1600002...
[8/9] Extracting pfSense-system-25.11.1600002: ...tee: /cf/conf/upgrade_log.txt: No space left on devicetee: /cf/conf/upgrade_log.txt: No space left on device
[8/9] Extracting pfSense-system-25.11.1600002... doneis it so that when you invest in HW applience, it is build to small to handle the software ????
what to delete ?? - Im not a pfsense specialist - so I can't tell what to delete ....thanks in advance
John
-
Check for old Boot Environments:
https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/gui.html -
@marcosm said in Can not update - no space left on device:
https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/gui.html
thx for info - but it would be nice with a backup of the boot env - before delete, but there is no tool or doc about that , or is there
thx
John
-
@john_h_k Not sure of the question...if you don't intend to revert to older versions of pfSense you can just delete them. Note the size listed in the table can be misleading, it's way more than a few KB per BE.
To get into an old BE, AFAIK you'd need to boot into it and copy files off. But pfSense is intended to be installed so not sure what you'd gain... If you have old config files the installer can install at least some older versions. Ideally you aren't deleting a version from two years ago and then deciding you need to revert that far.
-
@SteveITS Hi Steve - thx for reply
In my world (used to work for EMC computersystem as Impl. specialist )we never delete data ( config - log ect ) without a backup first - that was not possible to backup from "Boot Environments" and I don't know the file location
the other files I could sftp to backup location before remove
thx
John
-
@john_h_k in the future I’d do that before upgrading. The config file is of course downloadable so you’re just talking about logs. (Which would be present, used, and eventually overwritten over time in the new BE.)
-
@SteveITS said in Can not update - no space left on device:
the future I’d do that before upgrading
Before updating, upgrading, for every device you own - PC, smart light bulb, your car, printer, Phone pad and camera :
These are the universal rules :
Step 1 : power it down and count to 10.
Step 2 : Power it back on.
Step 3 : If the device has a 'filesystem' or a massive comples operatuion system like a Phone, PC, and also pfSense : check avaible space. To understand why and what happens there isn't : try upgrading PC from Win 10 to Win 11, with less then x Gbytes left on the disk. You risk to 'break' the OS on your PC, it can't boot anymore and good luck retrieving your data.
Step 4 For pfSense : Get (export) a copy of the config.Now you are ready to upgrade.
These 4 steps take 5 minutes max, and it's really small investment, see it as a assurance. If you don't do these 4 steps, the risk is great you loose way more time (and your data).
You could recap my ramble in 5 words : "Do not test Murphy's law".