bonjour all,
I am about to embark on the image upgrade of more than 200 EX2300s. Since I have been doing this before, I know I will face disk space issues on any number of switches.
. Does anybody have any contraindication to cleaning the /packages/db directory of files belonging to a previous image ????I found that I can get an impressive amount of space this way.
here is an exemple of removing remnants of the 15.1X53 image on a switch running on 18.2R3.
I was able to save 208 easily.
Good idea ? bad idea ?? what do you think ?????
merci,
Michel
=============================================================================
Last login: Tue Aug 18 11:22:26 2020 from 192.168.169.156
--- JUNOS 18.2R3-S2.9 Kernel 32-bit JNPR-11.0-20191022.14c2ad5_buil
=============================================================================
root@SWA-UQAT-ROU02:RE:0% ls /packages/db/
fips-mode-arm-32-20181114.201826_builder_junos_151_x53_d590
fips-mode-arm-32-20191115.190104_builder_junos_182_r3_s2
jail-runtime-arm-32-20180119.e26d166_builder_master
jail-runtime-arm-32-20191022.14c2ad5_builder_stable_11
jdocs-ex-arm-32-20181114.201826_builder_junos_151_x53_d590
jdocs-ex-arm-32-20191115.190104_builder_junos_182_r3_s2
jpfe-EX34XX-arm-32-20181114.201826_builder_junos_151_x53_d590
jpfe-EX34XX-arm-32-20191115.190104_builder_junos_182_r3_s2
jphone-home-arm-32-20191115.190104_builder_junos_182_r3_s2
jsd-arm-32-18.2R3-S2.9-jet-1
jsdn-arm-32-18.2R3-S2.9
junos-arm-32-15.1X53-D590.1
junos-arm-32-18.2R3-S2.9
junos-daemons-arm-32-20181114.201826_builder_junos_151_x53_d590
junos-daemons-arm-32-20191115.190104_builder_junos_182_r3_s2
junos-dp-crypto-support-arm-32-20181114.201826_builder_junos_151_x53_d590
....
========================================================
root@SWA-UQAT-ROU02:RE:0% du -hs /packages/db/
708M /packages/db/
root@SWA-UQAT-ROU02:RE:0% rm -R /packages/db/*151_x53*
root@SWA-UQAT-ROU02:RE:0% du -hs /packages/db/
500M /packages/db/
BEFORE
root@SWA-UQAT-ROU02> show system storage
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/junos 1.3G 810M 447M 64% /.mount
AFTER
root@SWA-UQAT-ROU02> show system storage
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/junos 1.3G 602M 655M 48% /.mount