SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
Expand all | Collapse all

Cannot upgrade firmware on srx1500 due to not enough space?

rsuraj

rsuraj10-10-2017 09:41

  • 1.  Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-20-2017 04:52

    Hi all,

     

     

    Anyone face cannot upgrade firmware on srx1500 due to storage space. I'm already clean the storage but still fail.

     

     

    Appreciate fast feedback because now i'm already at site infront of chassis.

     

    Thanks



  • 2.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

     
    Posted 09-20-2017 05:17

    Thats really strange to hear storage issue on 1500, can you share the complete error logs?



  • 3.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-20-2017 05:42

    Hi, 

     

    below is the error

     

    [: /packages//packages/junos: bad number
    /tmp/incoming-package.31364 689 MB 6622 kBps
    fetch: /tmp/incoming-package.31364: No space left on device
    ERROR: Cannot fetch file: junos-srxentedge-15.1X49-D110.4-domestic.tgz



  • 4.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-20-2017 12:04

    ERROR: Cannot fetch file: junos-srxentedge-15.1X49-D110.4-domestic.tgz

    Did you download a file named: junos-srxentedge-15.1X49-D110.4-domestic.tgz" from juniper? Are yiou entering the correct credentials to the location of a valid file? Is the location reachable?



  • 5.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-20-2017 16:36

    Hi all,

     

     

    Due not enough time MW, this activity already hold and postpone to next 2 weeks. In mean time below is the storage. Even i'm try direct upgrade from FTP also fail due not enough space. The new firmware size is around 750mb so i'm not sure which part the new firmware will install if it based on log below:

     

    {primary:node1}
    test@srx1500> show system storage
    node0:
    --------------------------------------------------------------------------
    Filesystem              Size       Used      Avail  Capacity   Mounted on
    /dev/vtbd0s1a           501M       343M       118M       74%  /
    devfs                   1.0K       1.0K         0B      100%  /dev
    /dev/md0                995M       995M         0B      100%  /junos
    /cf                     501M       343M       118M       74%  /junos/cf
    devfs                   1.0K       1.0K         0B      100%  /junos/dev/
    procfs                  4.0K       4.0K         0B      100%  /proc
    /dev/vtbd1s1e           1.6G       110K       1.4G        0%  /config
    /dev/vtbd1s1f            14G       256M        13G        2%  /var
    /dev/vtbd3s2             91M       974K        90M        1%  /var/host
    /dev/md1                320M        21M       274M        7%  /mfs
    /var/jail                14G       256M        13G        2%  /jail/var
    /var/jails/rest-api        14G       256M        13G      2%  /web-api/var
    /var/log                 14G       256M        13G        2%  /jail/var/log
    devfs                   1.0K       1.0K         0B      100%  /jail/dev
    192.168.1.1:/core       9.0G        21M       8.5G        0%  /var/crash/corefiles
    192.168.1.1:/var/volatile       7.8G        16K       7.8G    0%  /var/log/host
    192.168.1.1:/var/log       4.4G       137M       4.0G     3%  /var/log/hostlogs
    192.168.1.1:/var/traffic-log        49G        52M        47G    0%  /var/traffic-log
    192.168.1.1:/var/local       4.4G       137M       4.0G    3%  /var/db/host
    192.168.1.1:/var/db/aamwd       4.4G       137M       4.0G    3%  /var/db/aamwd
    192.168.1.1:/var/db/secinteld       4.4G       137M       4.0G    3%  /var/db/secinteld
    192.168.1.1:/app_disk       1.3G       2.0M       1.2G    0%  /var/install_disk

     

     

    Thanks and appreciate any feedback



  • 6.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

     
    Posted 09-22-2017 03:52

    Can you share following output from shell "% du -a /cf | sort -n -r | more"

     



  • 7.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-22-2017 05:37

    Hi rsuraj,

     

     

    Below is the output:

     

    test@srx1500% du -a /cf | sort -n -r | more
    702368  /cf
    694316  /cf/packages
    694272  /cf/packages/junos-srxjcp-15.1X49-D80.4-domestic
    6988    /cf/boot
    6076    /cf/boot/modules
    4048    /cf/boot/modules/mdimage.gz
    704     /cf/boot/modules/if_em_vsrx.ko
    704     /cf/boot/loader
    508     /cf/etc
    432     /cf/boot/modules/if_vtnet.ko
    324     /cf/sbin
    320     /cf/sbin/preinit
    288     /cf/boot/modules/mac_runasnonroot.ko
    288     /cf/boot/modules/mac_pcap.ko
    152     /cf/etc/services
    116     /cf/var
    80      /cf/etc/spwd.db
    80      /cf/etc/pwd.db
    72      /cf/boot/support.4th
    64      /cf/etc/db
    60      /cf/boot/modules/virtio_blk.ko
    56      /cf/etc/db/manifest
    56      /cf/boot/modules/pci_hgcomm.ko
    52      /cf/boot/modules/pvi_db.ko
    48      /cf/opt
    48      /cf/boot/modules/virtio_pci.ko
    48      /cf/boot/modules/virtio.ko
    40      /cf/boot/defaults
    36      /cf/boot/defaults/loader.conf
    32      /cf/boot/loader.help
    28      /cf/usr
    28      /cf/root
    28      /cf/boot/modules/chassis.ko
    20      /cf/var/db
    20      /cf/boot/modules/libmbpool.ko
    16      /cf/var/tmp
    16      /cf/packages/certs.pem
    16      /cf/etc/ttys
    16      /cf/etc/db/manifest/jboot.certs
    16      /cf/boot/loader.4th
    16      /cf/boot/boot
    12      /cf/var/crash
    12      /cf/usr/share
    12      /cf/usr/lib
    12      /cf/packages/ecerts.pem
    12      /cf/opt/lib
    12      /cf/etc/security
    12      /cf/etc/gettytab
    12      /cf/etc/db/manifest/jboot.ecerts
    12      /cf/etc/db/manifest/jboot
    12      /cf/boot/kgzldr.o
    8       /cf/var/transfer
    8       /cf/var/tmp/BSD.var.dist
    8       /cf/var/sw
    8       /cf/var/log
    8       /cf/var/cron
    8       /cf/usr/share/pfe
    8       /cf/root/.ssh
    8       /cf/opt/sdk
    8       /cf/opt/lib/dd
    8       /cf/etc/namedb
    8       /cf/etc/login.conf.aux
    4       /cf/var/validate
    4       /cf/var/transfer/config
    4       /cf/var/tmp/install
    4       /cf/var/tftpboot
    4       /cf/var/sw/pkg
    4       /cf/var/run
    4       /cf/var/pdb
    byte 152412      /cf/etc/security
    12      /cf/etc/gettytab
    12      /cf/etc/db/manifest/jboot.ecerts
    12      /cf/etc/db/manifest/jboot
    12      /cf/boot/kgzldr.o
    8       /cf/var/transfer
    8       /cf/var/tmp/BSD.var.dist
    8       /cf/var/sw
    8       /cf/var/log
    8       /cf/var/cron
    8       /cf/usr/share/pfe
    8       /cf/root/.ssh
    8       /cf/opt/sdk
    8       /cf/opt/lib/dd
    8       /cf/etc/namedb
    8       /cf/etc/login.conf.aux
    4       /cf/var/validate
    4       /cf/var/transfer/config
    4       /cf/var/tmp/install
    4       /cf/var/tftpboot
    4       /cf/var/sw/pkg
    4       /cf/var/run
    4       /cf/var/pdb
    4       /cf/var/log/host
    4       /cf/var/jails
    4       /cf/var/jail
    4       /cf/var/home
    4       /cf/var/empty
    4       /cf/var/db/host
    4       /cf/var/db/fsad
    4       /cf/var/db/config
    4       /cf/var/db/certs
    4       /cf/var/cron/tabs
    4       /cf/var/crash/minfree
    4       /cf/var/crash/corefiles
    4       /cf/usr/share/pfe/firmware
    4       /cf/usr/lib/render
    4       /cf/usr/lib/dd
    4       /cf/tmp
    4       /cf/root/.ssh/known_hosts
    4       /cf/root/.profile
    4       /cf/root/.login
    4       /cf/root/.history
    4       /cf/root/.cshrc
    4       /cf/packages/junos-srxjcp-15.1X49-D80.4-domestic.sig
    4       /cf/packages/junos-srxjcp-15.1X49-D80.4-domestic.sha1
    4       /cf/packages/junos-srxjcp-15.1X49-D80.4-domestic.esig
    4       /cf/opt/tmp
    4       /cf/opt/support
    4       /cf/opt/sdk/syslog-modules
    4       /cf/opt/sbin
    4       /cf/opt/plugins
    4       /cf/opt/lib/dd/filter
    4       /cf/opt/etc
    4       /cf/opt/bin
    4       /cf/etc/profile
    4       /cf/etc/passwd
    4       /cf/etc/pam.conf.sys
    4       /cf/etc/newsyslog.conf.sys
    4       /cf/etc/namedb/rndc.key
    4       /cf/etc/motd.sys
    4       /cf/etc/motd
    4       /cf/etc/master.passwd.sys
    4       /cf/etc/login.access
    4       /cf/etc/hosts.equiv
    4       /cf/etc/host.conf
    4       /cf/etc/group.sys
    4       /cf/etc/group
    4       /cf/etc/ftpusers
    4       /cf/etc/fstab.chroot
    4       /cf/etc/fstab
    4       /cf/etc/db/pkg
    4       /cf/etc/db/manifest/jboot.sig
    4       /cf/etc/db/manifest/jboot.sha1
    4       /cf/etc/db/manifest/jboot.esig
    4       /cf/etc/csh.logout
    4       /cf/etc/csh.login
    4       /cf/etc/csh.cshrc
    4       /cf/dev
    4       /cf/boot/mbr
    4       /cf/boot/loader.rc
    4       /cf/boot/loader.conf
    4       /cf/boot/boot0
    0       /cf/tmp/extract-junos.39772.tgztoc
    0       /cf/sbin/oinit
    0       /cf/packages/junos
    0       /cf/opt/lib/dd/filter/libschema-filter-dd.tlv
    0       /cf/kernel.old
    0       /cf/kernel
    0       /cf/etc/ssh
    0       /cf/etc/rc.verify
    0       /cf/etc/namedb/resolver.cache
    0       /cf/etc/master.passwd
    0       /cf/etc/db/pkg/junos
    0       /cf/etc/db/manifest/junos.sig
    0       /cf/etc/db/manifest/junos.esig
    0       /cf/etc/db/manifest/junos.ecerts
    0       /cf/etc/db/manifest/junos.certs
    0       /cf/etc/db/manifest/junos



  • 8.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

     
    Posted 09-22-2017 05:47

    Can you confirm Junos image is copied to /var/tmp/ only?

     

     



  • 9.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-22-2017 06:42

    Hi rsuraj,

     

     

    Yes, first time i copy in /var/tmp/  then i delete and try direct through FTP but still same error said space issue.



  • 10.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-22-2017 09:44

    You have enough free disk space on /var/ You have over 13GB free. Can you create a directory say named "mytemp"and then use the cli to set that directory to your home directory temporarily and run the install. >set cli directory mytemp

    Also delete the backup copy of the software that is on the system



  • 11.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-24-2017 18:31

    Hi Lyndon,

     

     

    may i know the reason i need create the new directory? Do u have faces this similar issue on srx1500 previously?

     

    Thanks and appreciate anyone feedback



  • 12.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-25-2017 04:55

    Hi

     

    I had a very simular issue on my 1500 cluster when I was trying to updated it a couple off months ago and if I remeber correctly it was down to something like having the USB ports disabled under system.  I will try and dig out the original configuration I had added to the cluster and then see what changes I have made since for the system section in the config file.

     

    Richard



  • 13.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-25-2017 05:15

    Sorry just looking back at the change log and the problem was on an SRX345 cluster running 15.1X49-D50.3 and I was trying to upgrade to 15.1X49-D75.5.  I had "set usb storage disable" was causing the problem.

     

    The error I was getting was

     

    "newfs: /dev/da0s1a: could not find special device"
    "ERROR: Could not format alternate root"

     

    Sorry no help, but maybe check to see if you have something like usb storage has been disabled.

     

    Richard



  • 14.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-25-2017 14:06

    It will allow the system to use a different folder for temporarill extracting the installation file. You can see that you have over 14 GBS and 13GBs free disk space. You can try it. But this is critical, so I suggest you open a ticket with Juniper asap to figure out what is happening. Maybe they need to change the size of specific directories.



  • 15.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 10-10-2017 06:54

    Hi all,

     

    Just to update and share the solution. The SRX need to be reboot first before we start with "request system software add".

     

    Its look like the VM in the srx1500 not clear the cache storage.

     

     

    Thanks



  • 16.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

    Posted 09-20-2017 11:17

    Please share the output of "show system storage" command.



  • 17.  RE: Cannot upgrade firmware on srx1500 due to not enough space?

     
    Posted 10-10-2017 09:41
    Thanks for sharing the info!