Help freeing up disk space
-
Went to upgrade to 26.07 (from 26.03.1) on my 6100 and the update failed with "System update failed!" no other debug output. I then noticed an Alert stating "pkg: "out of space" returned error code 3".
To the shell:
[26.03.1-RELEASE][admin@pfsense.localdomain]/: df -h Filesystem Size Used Avail Capacity Mounted on pfSense/ROOT/default 1.7G 1.3G 327M 81% / devfs 1.0K 0B 1.0K 0% /dev pfSense/home 327M 108K 327M 0% /home tmpfs 300M 2.4M 298M 1% /tmp tmpfs 600M 33M 567M 5% /var pfSense/ROOT/default/cf 337M 9.6M 327M 3% /cf pfSense/ROOT/default/var_cache_pkg 339M 11M 327M 3% /var/cache/pkg pfSense/ROOT/default/var_db_pkg 335M 7.5M 327M 2% /var/db/pkg devfs 1.0K 0B 1.0K 0% /var/dhcpd/dev[26.03.1-RELEASE][admin@pfsense.localdomain]/: du -Pshx /* 4.5K /COPYRIGHT 933K /bin 154M /boot 512B /boot.config 9.4M /cf 512B /conf 5.0K /conf.default 4.5K /dev 5.6M /etc 15K /home 16M /lib 142K /libexec 512B /media 512B /mnt 512B /net 512B /proc 29M /rescue 33K /root 3.4M /sbin 2.4M /tmp 1.2G /usr 33M /varNot really sure how deep to go but:
[26.03.1-RELEASE][admin@pfsense.localdomain]/: du -Pshx /usr/* 7.2M /usr/bin 512B /usr/home 19M /usr/include 259M /usr/lib 116K /usr/libdata 2.3M /usr/libexec 854M /usr/local 512B /usr/obj 11M /usr/sbin 26M /usr/share 512B /usr/src[26.03.1-RELEASE][admin@pfsense.localdomain]/: du -Pshx /usr/local/* 103M /usr/local/bin 118K /usr/local/captiveportal 2.6M /usr/local/etc 129M /usr/local/include 283M /usr/local/lib 1.3M /usr/local/libdata 1.3M /usr/local/libexec 1.0K /usr/local/openssl 4.0M /usr/local/pfSense 123K /usr/local/pkg 48M /usr/local/sbin 246M /usr/local/share 36M /usr/local/wwwMinimal packages installed:
aws-wizard
ipsec-profile-wizard
Netgate Firmware upgrade
Nexus
Openvpn-client-export
RRD_SummaryHelp please!
-
Looks like this is a 16G device, factory install I've not blasted it and re-installed or anything:
[26.03.1-RELEASE][admin@pfsense.localdomain]/: geom disk list Geom name: mmcsd0 Providers: 1. Name: mmcsd0 Mediasize: 15678308352 (15G) Sectorsize: 512 Stripesize: 512 Stripeoffset: 0 Mode: r1w1e2 descr: MMCHC TB2916 9.0 SN 519A479D MFG 10/2022 by 112 0x0000 ident: 519A479D rotationrate: 0 fwsectors: 0 fwheads: 0 Geom name: mmcsd0boot0 Providers: 1. Name: mmcsd0boot0 Mediasize: 4194304 (4.0M) Sectorsize: 512 Stripesize: 512 Stripeoffset: 0 Mode: r0w0e0 descr: MMCHC TB2916 9.0 SN 519A479D MFG 10/2022 by 112 0x0000 ident: 519A479D rotationrate: 0 fwsectors: 0 fwheads: 0 Geom name: mmcsd0boot1 Providers: 1. Name: mmcsd0boot1 Mediasize: 4194304 (4.0M) Sectorsize: 512 Stripesize: 512 Stripeoffset: 0 Mode: r0w0e0 descr: MMCHC TB2916 9.0 SN 519A479D MFG 10/2022 by 112 0x0000 ident: 519A479D rotationrate: 0 fwsectors: 0 fwheads: 0 -
@dr.diesel do you have multiple ZFS snapshots/boot environments from previous upgrades, 16G should be more than enough?
And while you are at it, check the eMMC health (https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmc).
-
@patient0 said in Help freeing up disk space:
multiple ZFS snapshots/boot environments
Wow thank you, didn't even know those were there, that fixed me up.
-
@patient0 said in Help freeing up disk space:
And while you are at it, check the eMMC
Also thanks for the suggestion:
[26.03.1-RELEASE][admin@pfsense.localdomain]/: mmc extcsd read /dev/mmcsd0rpmb | egrep 'LIFE|EOL' eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x02 eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x02 eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01Looks like I'm in good shape.
Privacy Policy · Cookie Policy