SRX Services Gateway
Highlighted
SRX Services Gateway

Is it safe to delete OS from /var/tmp after upgrade and created a snaptshot?

‎01-21-2020 08:07 PM

Hi,

 

Is it safe to delete OS from /var/tmp after upgrade and created a snaptshot?

 

Thank you. 

3 REPLIES 3
Highlighted
SRX Services Gateway

Re: Is it safe to delete OS from /var/tmp after upgrade and created a snaptshot?

‎01-21-2020 11:38 PM

Yes, that's totally safe. You can also do at 'request system storage cleanup' which will clean /var/tmp as well 🙂


--
Best regards,

Jonas Hauge Klingenberg
Juniper Ambassador & Technology Architect, SEC DATACOM A/S (Denmark)
Highlighted
SRX Services Gateway

Re: Is it safe to delete OS from /var/tmp after upgrade and created a snaptshot?

‎02-09-2020 04:01 PM

Hi Jonashauge,

 

Thanks for your reply. 

 

So I can say Junos store the software in a flash after we issue "request system software add /var/tmp/*junos os*". 

 

Regards,

Highlighted
SRX Services Gateway

Re: Is it safe to delete OS from /var/tmp after upgrade and created a snaptshot?

‎02-09-2020 07:14 PM

Hi CP1, 

 

That's correct (but you need to reboot it to apply the software 🙂 - unless you issue "request system software rollback" that will kill the upgrade), /var/tmp is designed to store temporary files , so anything you save there is safe to clean. 

 

This might help too:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB19466&actp=METADATA 

 

f this solves your problem, please mark this post as "Accepted Solution".

If you think that my answer was helpful, please spend some Kudos.

 

Thank you, 

Franky

Feedback