- Application Acceleration 
- BLOG: Community Talk 
- BLOG: Information Experience (iX) 
- Community Feedback 
- Contrail Platform Developers 
- Ethernet Switching 
- Identity & Policy Control - SBR Carrier & SRC 
- Intrusion Prevention 
- Junos 
- Junos Automation (Scripting) 
- Junos Space Developer 
- Junosphere 
- Management 
- Routing 
- ScreenOS Firewalls (NOT SRX) 
- SRX Services Gateway 
- Training, Certification, and Career Topics 
- vMX 
- vSRX 
- Wireless LAN 
- Juniper Open Learning 
- Day One Books Archive 
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Low space to upgrade
[ Edited ]Hi, I'm facing a problem during Junos upgrade (9.6 to 10.3) in my j2350 router, appear this message:
Installing package '/var/tmp/usb/junos-jsr-10.3R1.9-export.tgz' ...
tar: junos-jsr-10.3R1.9-export: Wrote only 0 of 10240 bytes
tar: Error exit delayed from previous errors
Installation failed for package '/var/tmp/usb/junos-jsr-10.3R1.9-export.tgz'
WARNING: Not enough space in /var/tmp to unpack junos-10.3R1.9.tgz
WARNING: Use 'request system storage cleanup' and
WARNING: the 'unlink' option to improve the chances of success
I created a usb file system fallowing this guide: http://kb.juniper.net/InfoCenter/index?page=content&id=KB10800&smlogin=true, and I tried insert this command: 'request system software add no-validate no-copy /var/tmp/usb/<junos>' but I have no sucess.
When I use the 'unlink' , appear this:
tar: junos-jsr-10.3R1.9-export: Wrote only 0 of 10240 bytes
tar: Error exit delayed from previous errors
Installation failed for package '/var/tmp//usb/junos-jsr-10.3R1.9-export.tgz'
I used too:
request system storage cleanup
and
request system software delete-backup
Any idea to help me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Can you show the output of "show system storage"?
Ron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
[ Edited ]You can see bellow:
root# run show system storage
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 432M 344M 83M 81% /
devfs 1.0K 1.0K 0B 100% /dev
devfs 1.0K 1.0K 0B 100% /dev/
/dev/md0 354M 354M 0B 100% /junos
/cf 432M 344M 83M 81% /junos/cf
devfs 1.0K 1.0K 0B 100% /junos/dev/
procfs 4.0K 4.0K 0B 100% /proc
/dev/bo0s1e 48M 17K 48M 0% /config
/dev/md1 168M 12M 142M 8% /mfs
/cf/var/jail 432M 344M 83M 81% /jail/var
devfs 1.0K 1.0K 0B 100% /jail/dev
/dev/md2 39M 4.0K 36M 0% /mfs/var/run/utm
/dev/da0 1.8G 168M 1.6G 11% /cf/var/tmp/usb
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
You should be able to clean up enough space to do the upgrade, but I would recommend that you pickup a 1-gig CF card, as you will continually have problems with the box if you only have a 512M CF card in there. I have successfully used Sandisk 1GB compact flash cards many times.
Ron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
You can try to figure out what files are taking up so much space by dropping to a shell, and typing:
find / -size +50000
This should show you all the large files, so you might figure out where the culprit(s) are.
Ron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
I found this file : /cf/packages/junos-9.6R3.8-domestic - without extension. +/- 100Mb
Can I delete this file?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Hi
You can use the below procedure to upgrade for low space:
1- request system software delete-backup
2- request system storage cleanup
3- Copy the new JUNOS file to the /mfs directory thorugh ftp etc
4- Make sure there is no JUNOS file previously you tried to put in /var/tmp
5- Just try to upgrade now using command "request system software add /mfs/<name of JUNOS file> reboot"
Please try it. Let me know the outcome
Thanks
JNCIE-SEC, JNCIE-ENT, JNCIE-SP, JNCIS(FWV,SSL),JNCIA(IDP,AC,WX),BIG IP-F5-LTM, CCNP
----------------------------------------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".Kudos are always appreciated!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Yes, you can certainly delete that file.
Ron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
rfrederick, I can't delete, look the message:
root> file delete /cf/packages/junos-9.6R3.8-domestic
rm: /cf/packages/junos-9.6R3.8-domestic: Operation not permitted
Via FTP I tried change the CHMOD, but this operation is not permitted.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Kashinf-rana: No success...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Sorry, I just read back up in the thread that you are running 9.6. Sorry for the bad advice, you were trying to delete your running image. Anyways, as I said, I would really recommend getting a 1-gig CF card.
Ron
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
[ Edited ]Don't worry, I appreciate your help.
Have no other alternative using the USB for flash drive?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Ok repeat the whole process. But change the point no 5 to below:
5- Just try to upgrade now using command "request system software add /mfs/<name of JUNOS file> no-copy no-validate reboot"
Also could you paste the output of "show system storage"
JNCIE-SEC, JNCIE-ENT, JNCIE-SP, JNCIS(FWV,SSL),JNCIA(IDP,AC,WX),BIG IP-F5-LTM, CCNP
----------------------------------------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".Kudos are always appreciated!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
I tried use the option no-validate and no-copy .I have no sucess.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Can I use 2Gb CF or only 1Gb?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
Hello,
I would suggest:
1/ open a JTAC case to have your issue properly analyzed and root cause determined, and, in the meantime
2/ if the router is accessible over the network or you have physical access to it, set up a temporary FTP server with anonymous login, put jinstall image on this server and after JTAC has finished the investigation, try upgrading the router using
request system software add ftp://<server_IP_address>/jinstall-X.YR.W.V-signed.tgz no-copy unlink no-validate
There are literally dozens of free FTP server programs available on the net. I had a particular success with 3CDaemon FTP server http://support.3com.com/software/3cdv2r10.zip
Or if you don't like/can't afford FTP server installation, have an FTP server on USB drive
http://www.bpftpserver.com/products/bpftpserver/windows/portable/usb
HTH
Rgds
Alex
Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements
+++++++++++++++++++++++++++++++++++++++++++++
Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
I found a file in /cf/var/validate/chroot/cf/tmp/junos/junos-jsr-10.3R1.9-export <without> extension, when I deleted it, worked!!!
I can't believe !!!
thanks people
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Low space to upgrade
A bit late to the party on this thread, but thank you rfrederick! This helped me find a few "abandoned" files on my J-series that ate up a substantial amount of space on /mfs and caused commit to fail!