update & disk size

Started by katamadone [CH], January 31, 2025, 09:25:24 AM

Previous topic - Next topic
Got surprised on one of my machines. Did not long ago a fresh install of an opnsense system.
Installed it on top of a proxmox hv. Where I added a 12G disk. Must made a mistake that I didn't expand the disk or whatever.
So my update to 25.1 did try to extract 25.1 and because it took forever I've taken a look into the system and was heavily suprised that I've seen the 100% usage. While I was surprised that I wasn't aware of the small size, I also was suprised, that there is no size checking here.

***GOT REQUEST TO UPGRADE***
Currently running OPNsense 24.7.12_4 (amd64) at Fri Jan 31 08:47:52 CET 2025
Fetching packages-25.1-amd64.tar: ........................... done
Fetching base-25.1-amd64.txz: ........... done
Fetching kernel-25.1-amd64.txz: ...... done
Extracting packages-25.1-amd64.tar...


The right spot to check the disk prior to upgrade is there now, but it hasn't been done. What's not so nice is that this doesn't seem to show in the upgrade window which is strange because that means tar isn't erroring either?

disk layout for the record.
=>      40  25165744  vtbd0  GPT  (12G)
        40    532480      1  efi  (260M)
    532520      1024      2  freebsd-boot  (512K)
    533544       984         - free -  (492K)
    534528  16777216      3  freebsd-swap  (8.0G)
  17311744   7852032      4  freebsd-zfs  (3.7G)
  25163776      2008         - free -  (1.0M)

Quote from: franco on January 31, 2025, 09:28:30 AMThe right spot to check the disk prior to upgrade is there now, but it hasn't been done. What's not so nice is that this doesn't seem to show in the upgrade window which is strange because that means tar isn't erroring either?

no was standing at the point "Extracting packages-25.1-amd64.tar..." for a very long time.


I'm also surprised that I'm having a 8G swap :D

Quote from: franco on January 31, 2025, 09:38:03 AMOk, I'll try to reproduce.
would it help you if I later be able to retest? Then I'd stay at this point.

No need, the condition is easy to reproduce.