The articles explain the behaviour of Disk 1 high Utilisation when excessive OS Image file copy is performed to /var directory during upgrade.
During the issue time ‘show system storage’ will fetch the below output with avail space in -ve for /.mount/packages partition
/dev/md1.uzip 1.8G 1.6G -13.2M 101% /.mount/packages
Routing Engine 0 REV 05 740-031116 9009096108 RE-S-1800x4
ada0 30533 MB UGB94ARF32H0S3-KC UNIGEN-478612-0 Disk 1
ada1 3896 MB VRFCF14096DIHK1 VM4096MB 5226 Compact Flash
Collect the output as per the below:Show system storageStart shell user rootPassword:%df -h Check for the higher file size with the below command from shell:User@RE0> start shell user rootPassword:User@RE0%:~ # find / -size +100000Sample Output :User@RE0%:~ # find / -size +100000/var/db/alarm.db/var/db/transport.db/var/db/alarm.db+/var/log/RSVP/var/log/fpc0/20231026_134939/var-log-20231026_134939.tar.gz/var/log/fpc0/20231026_175052/var-log-20231026_175052.tar.gz/var/tmp/junos-vmhost-install-mx-x86-64-22.3R2.12.tgz/var/tmp/junos-vmhost-install-mx-x86-64-21.2R3-S3.5.tgz/var/rundb/render.db/packages/db/jfirmware-x86-32-21.2R3-S3.5/contents/contents.izoUser@RE0%:~ # rm /var/log/fpc0/20231026_134939/var-log-20231026_134939.tar.gzUser@RE0%:~ # rm /var/tmp/junos-vmhost-install-mx-x86-64-22.3R2.12.tgz Perform a removal of large file size which are non-relevant and not in use.Once some amount of space is freed.Perform a request system reboot for the affected RE Kindly Contact Support if still issue persist after the system reboot.
Initial Draft -30/12/2023
%df -h command – Shows the amount of disk space used and available on Linux file systems.
%du -h command – Display the amount of disk space used by the specified files and for each
subdirectory.
%df -a shows the file system's complete disk usage even if the Available field is 0
%df -T shows the disk usage along with each block's filesystem type (e.g., xfs, ext2, ext3, btrfs,etc.)
%df -i shows used and free inodes