OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: bobbis on June 23, 2019, 07:51:14 pm

Title: firmware update fail 19.1.8 > 19.1.9 : create/symlink failed, no inodes free
Post by: bobbis on June 23, 2019, 07:51:14 pm
Hello, just for the information, opnsense usb(4GB) nano serial:
Code: [Select]

*** foo.bar: OPNsense 19.1.8 (amd64/OpenSSL) ***

 LAN (xxx)       -> v4: xxxxxxxxxx/xx
 WAN (xxx)       -> v4: xxxxxxxxxxx/xx

 HTTPS: SHA256 XX XX XX XX XX XX XX XX XX XX XX XX XX
               XX XX XX XX XX XX XX XX XX XX XX XX XX
 SSH:   SHA256 XX XX XX XX XX XX XX XX XX XX XX XX XX (ECDSA)
 SSH:   SHA256 XX XX XX XX XX XX XX XX XX XX XX XX XX (ED25519)
 SSH:   SHA256 XX XX XX XX XX XX XX XX XX XX XX XX XX (RSA)

  0) Logout                              7) Ping host
  1) Assign interfaces                   8) Shell
  2) Set interface IP address            9) pfTop
  3) Reset the root password            10) Firewall log
  4) Reset to factory defaults          11) Reload all services
  5) Power off system                   12) Update from console
  6) Reboot system                      13) Restore a backup

Enter an option: 12

Fetching change log information, please wait... done

This will automatically fetch all available updates, apply them,
and reboot if necessary.

Proceed with this action? [y/N]: y

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (55 candidates): .......... done
Processing candidates (55 candidates): ..... done
Checking integrity... done (0 conflicting)
The following 47 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py37-requests: 2.21.0
        py37-chardet: 3.0.4_1
        python37: 3.7.3_1
        py37-setuptools: 41.0.0
        py37-certifi: 2019.3.9
        py37-urllib3: 1.22,1
        py37-openssl: 18.0.0
        py37-cryptography: 2.6.1
        py37-six: 1.12.0
        py37-cffi: 1.12.3
        py37-pycparser: 2.18
        py37-asn1crypto: 0.22.0
        py37-pysocks: 1.7.0
        py37-idna: 2.8
        py37-netaddr: 0.7.19_1
        py37-dnspython: 1.16.0
        py37-ujson: 1.35
        py37-Jinja2: 2.10
        py37-MarkupSafe: 1.1.1
        py37-Babel: 2.6.0_1
        py37-pytz: 2019.1,1
        py37-sqlite3: 3.7.3_7

Installed packages to be UPGRADED:
        suricata: 4.1.4_1 -> 4.1.4_2
        py27-pysocks: 1.6.8 -> 1.7.0
        php72-zlib: 7.2.18 -> 7.2.19
        php72-xml: 7.2.18 -> 7.2.19
        php72-sqlite3: 7.2.18 -> 7.2.19
        php72-sockets: 7.2.18 -> 7.2.19
        php72-simplexml: 7.2.18 -> 7.2.19
        php72-session: 7.2.18 -> 7.2.19
        php72-pdo: 7.2.18 -> 7.2.19
        php72-openssl: 7.2.18 -> 7.2.19
        php72-ldap: 7.2.18 -> 7.2.19
        php72-json: 7.2.18 -> 7.2.19
        php72-hash: 7.2.18 -> 7.2.19
        php72-gettext: 7.2.18 -> 7.2.19
        php72-filter: 7.2.18 -> 7.2.19
        php72-dom: 7.2.18 -> 7.2.19
        php72-curl: 7.2.18 -> 7.2.19
        php72-ctype: 7.2.18 -> 7.2.19
        php72: 7.2.18 -> 7.2.19
        os-theme-cicada: 1.17 -> 1.18
        os-dyndns: 1.15 -> 1.15_1
        opnsense: 19.1.8 -> 19.1.9
        lighttpd: 1.4.53 -> 1.4.54
        isc-dhcp44-server: 4.4.1_3 -> 4.4.1_4
        curl: 7.64.1_1 -> 7.65.0_3

Number of packages to be installed: 22
Number of packages to be upgraded: 25

The process will require 158 MiB more space.
[1/47] Installing python37-3.7.3_1...
[1/47] Extracting python37-3.7.3_1: .....
: create/symlink failed, no inodes free

: create/symlink failed, no inodes free
pkg-static: Fail to create temporary file: /usr/local/lib/python3.7/test/__pycache__/.test_binop.cpython-37.opt-1.pyc.ZVANKGoyAOiH:No space left on device

[1/47] Extracting python37-3.7.3_1... done

: create/symlink failed, no inodes free
A firmware update is currently in progress.

*** foo.bar: OPNsense 19.1.8 (amd64/OpenSSL) ***
Code: [Select]
Harddrive:
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
da0: <Sony Storage Media 0100> Removable Direct Access SCSI device
da0: Serial Number XXXXXXXXXXXXXX
da0: 40.000MB/s transfers
da0: 3840MB (7864320 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>

Code: [Select]
df -hmi
Filesystem             1M-blocks Used Avail Capacity iused      ifree %iused  Mounted on
/dev/ufs/OPNsense_Nano      3833 1472  2054    42%   47514       3684   93%   /
devfs                          0    0     0   100%       0          0  100%   /dev
tmpfs                       1551    9  1541     1%     176 2147483471    0%   /var
tmpfs                       1542    0  1541     0%      65 2147483582    0%   /tmp
devfs                          0    0     0   100%       0          0  100%   /var/unbound/dev
devfs                          0    0     0   100%       0          0  100%   /var/dhcpd/dev

from system.log
Code: [Select]
Jun 23 19:27:41 opernsense kernel: pid 12508 (pkg-static), uid 0 inumber 50970 on : out of inodes
Jun 23 19:27:42 opernsense kernel: pid 12508 (pkg-static), uid 0 inumber 50970 on : out of inodes
Jun 23 19:27:50 opernsense kernel: pid 12508 (pkg-static), uid 0 inumber 34803 on : out of inodes
Title: Re: firmware update fail 19.1.8 > 19.1.9 : create/symlink failed, no inodes free
Post by: franco on June 24, 2019, 08:59:05 am
This has been foreshadowed, reported, worked on and subsequently fixed. For details see https://forum.opnsense.org/index.php?topic=12639.0

TL;DR: it needs a new Nano image since the problem exists in the way the Nano image was built.


Cheers,
Franco