Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 12-03-2020 21:58
    Thanks for taking a look at this.
    I thought I read on the 23/3400s. Juons wants 3 or 4 times the size of the installer in free space  and the 4300s installer is 250M.. 
    Does anyone know the needed amount of free space Junos looks for to do an install ? 
    If its like the 2300s in the past ive had to use the unlink no-copy force options to squeeze it into the limited space on the boxes..

    Here is my info.
    As you can see /var/tmp has 725M free.  
    Filesystem Size Used Avail Capacity Mounted on
    /dev/da0s3e 170M 10M 146M 7% /var
    /dev/md25 252M 249M -18M 108% /tmp    **Freebsd os is doing the fs reserve on the /tmp partition so as you the -18M where i have stored the .tgz
    /dev/da0s3d 887M 92M 725M 11% /var/tmp

    tgreaser@lab-switch> request system software add /tmp/jinstall-ex-4300-20.2R1-S3.2-signed.tgz no-copy unlink

    Message from syslogd@lab-switch at Dec 3 21:16:42 ...
    NOTICE: Validating configuration against incoming-package.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 14MB more space free.
    ERROR: Please use the request system storage cleanup command to delete old files from /var/tmp

    I have not tried the remote steam install I will try tomrrow and post..
    request system software add ftp or   request system software add   ftp://<user>@<host>:<path_to_image> <options>  or   tftp:/<host>:<path_to_image> <options>


  • 2.  RE: How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 12-04-2020 14:51
    Extracted the .tgz and see in the +INSTALL file some basic info about some requirements for the 4300 install.

    Here is part about RAM
    # minumum recommended memory size in MB.
    recommended_memsize=512
    # Lowest threshold memory size: equal or below 256MB size is not allowed.
    min_memsize=268435456

    Found what I think is the disk size retirement.  This may be something Juniper needs to tweak as the newer image size are getting larger of course.

    # suggested = space needed by pkg_add playpen. Playpen size is two times the size of the package.

    I did get the installer to work  doing the storage cleanup and then jumping to the cli as root and cleaning up all my logs by doing a cat /dev/null > cosd for an example.. and the install syntax
    request sys soft ad /tmp/jinstall-ex-4300-20.2R1-S3.2-signed.tgz no-copy unlink

    Running on 2 4300-24p sites  right now on 20.2 ..


  • 3.  RE: How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 12-07-2020 07:19
    I haven't installed 20.x in an EX4300 yet (should do that in my lab units...) but I rarely bump into problems with the EX4300 and disk space. The 2300 and 3400 is another matter. If you have access to the boxes you could try a USB install, or do it via ftp/sftp/tftp. What is the current version?

    /Fredrik


  • 4.  RE: How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 12-08-2020 16:36
    I know right , first time ever with a disk space issue with the 4300s. My guess it was a rush out to address the CVEs  and
    the +INSTALL was not updated to address the size of the installer.

    The version was 19.4R? 
    I got it to install on my test the waters stack vai the method I posted to the thread about..





    Thank you,
    Tom Greaser | Assistant Director NC | JNCIS-ENT | JNCDA
    Office Phone 304.293.4683
    Zoom Meeting ID  https://wvumdtv.zoom.us/j/5823755972  IVR 582-375-5972
    Rise together and move as one. 






  • 5.  RE: How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 07-29-2021 19:57
    Just wanted to ask.  How you do a remote install via tftp/sftp on a remote system with no console access only remote tty ?


  • 6.  RE: How much free space is required to install jinstall-ex-4300-20.2R1-S3.2-signed.tgz

    Posted 07-30-2021 05:35
    If the switch has Internet access on its own, use the following:
    Go to the Juniper download page and select the image you like. I use 20.2R3-S1 in this example. On the download page, you have two choices:
    If you click the "copy" button below the URL, you can use that link to download the image to the switch. The link is valid 15 minutes only!!!

    Log in to the switch and type the following:
    file copy "https://cdn.juniper.net/software/junossr/20.2R3-S1.3/jinstall-ex-4300-20.2R3-S1.3-signed.tgz?SM_USER=fredrik@mydomain.se&__gda__=1627630796_7eb886bc99c74a072bg29bs445e7ab28" /var/tmp/jinstall-ex-4300-20.2R3-S1.3-signed.tgz

    Please note that the URL you copied needs to be within " characters and needs to be followed by the path and file name of the destination file. I always copy the original file name and add /var/tmp/ in front of it.

    Use the normal command to install the image:
    request system software install /var/tmp/jinstall-ex-4300-20.2R3-S1.3-signed.tgz
    request system reboot


    If you cannot transfer the file via the "file copy" command, you need to sftp to the switch and put it in /var/tmp before proceeding. You can use tftp but I never do nowadays.

    I hope this helps!

    /Fredrik