While troubleshooting, we realized that one QFX5120-32C is showing an error when trying to commit.
error: error copying files(/config/juniper.conf.3.gz->/var/db/config/juniper.conf.4.gz): No suchfile or directory
"error: rotation of old files failed"
root@switch% mgd -i error: error copying files (/config/juniper.conf.3.gz->/var/db/config/juniper.conf.4.gz): No such file or directory "error: rotation of old files failed"
root@switch% cp /config/db/config/* /var/tmp/
root@switch% rm -rf /config/db/config/*
root@switch% exit root@switch% mgd -i
If the above solution does not work, please delete any old files and run the below command to clear up space. This will resolve the issue -
root@switch> request system storage cleanup
2025-03-25: Additional solution added.
2023-10-02