Junos OS

 View Only
last person joined: 5 days ago 

Ask questions and share experiences about Junos OS.
Expand all | Collapse all

The /var/tmp filesystem on JUNOS is low on free disk space when upgrading on EX4300

  • 1.  The /var/tmp filesystem on JUNOS is low on free disk space when upgrading on EX4300

    Posted 10-15-2021 12:45
    Hi All,

    I am using EX4300: Model: ex4300-48t Junos: 18.4R3-S1.3
    Today i cannot upgrade to version 20.4R3.8 ( Or 20.2). This is error:
    "root> ... add /var/tmp/jinstall-ex-4300-20.2R3.9-signed.tgz reboot
    NOTICE: Validating configuration against jinstall-ex-4300-20.2R3.9-signed.tgz.
    NOTICE: Use the 'no-validate' option to skip this if desired.
    The /var/tmp filesystem on JUNOS is low on free disk space.
    This package requires 12MB more space free.
    ERROR: Please use the request system storage cleanup command to delete old files from /var/tmp"

    I tried to "request system zeroize" successfully before upgrade but i met the same error.
    "request system storage cleanup" is not useful.
    I am looking forward to hearing from you soon.
    Here is show system storage:

    Best Regards,
    Ket, Vo Van.

    ------------------------------
    KET VO
    ------------------------------


  • 2.  RE: The /var/tmp filesystem on JUNOS is low on free disk space when upgrading on EX4300

    Posted 10-15-2021 20:02
    You can try the no-copy option during install which will reduce the space required for the install process.

    If that is not enough then it will require crawling the directories and deleting files.  There are a number of general kb on the topic in the Juniper documentation but they all seem to avoid specific file recommendations for the most part.

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: The /var/tmp filesystem on JUNOS is low on free disk space when upgrading on EX4300

    Posted 10-16-2021 05:44
    Hi Steve Puluka,

    Option no-copy and unlink is the same.
    Which file should i delete? this is test switch before using for production.
    Thank so much.

    Best Regards,
    Ket, Vo van.

    ------------------------------
    KET VO
    ------------------------------



  • 4.  RE: The /var/tmp filesystem on JUNOS is low on free disk space when upgrading on EX4300

    Posted 10-16-2021 11:50
    The listed files all seem required to me but I'm not a BSD or Linux expert.  I'd say your best bet is to look at the detail list under /var/tmp as a start.

    Another way to try is to
    delete the upgrade file locally in var/tmp
    have this file on a usb drive
    mount the usb and install from there with the no-copy option

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------