Junos OS

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 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
    ------------------------------



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

    Posted 10-17-2021 05:23

    Hi Steve Puluka,

    I used option: no-copy but it didn't working.
    --> The same result:  "This package requires 12MB more space free."
    Thanks,
    Ket, vo van.



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



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

    Posted 10-18-2021 09:03
    Hi Ket, 

    Did you try to re-install JunOS from the loader> prompt ? 
    Put the package on a usb key and connect it on the EX
    reboot and stop the boot with [space] 
    on loader> prompt use the command "install --format file:///<package>"

    It will re-install the JunOS and reboot 
    But warning all the configuration will be lost, but i see that you already try a "zeroise". 

    regards, 
    Théo

    ------------------------------
    THEO QUENNEHEN
    ------------------------------



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

    Posted 10-19-2021 05:52
    Hi Theo,

    On loader mode is a great option. It worked rapidly with successfully upgrading.
    Thank so much.
    Thank all.

    Reguards,
    Ket, Vo Van.

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



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

    Posted 10-18-2021 12:01
    Have you tried: request system storage cleanup?

    If you feel nervous about it you can append "Dry-run" and it'll tell you what it would do. I think it'll ask for file-by-file confirmation but don't have access to anything right now.

    If you feel inclined, you can also read:
    https://www.juniper.net/documentation/us/en/software/junos/junos-install-upgrade/topics/ref/command/request-system-storage-cleanup.html

    ------------------------------
    BEN BIGGIE
    ------------------------------



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

    Posted 10-21-2021 12:13
    I have the same issue on 2 different 4300-MP stacks.  Support recommended deleting a /var/tmp/.scheme-cache file, but neither stack has that file on it.
    Going back for round two of Support.