The command request system snapshot partition might create a too small root partition on a internal Compact Flash.
Problem or Goal:
A Routing Engine (RE) is running without internal Compact Flash (CF) and a new CF needs to be installed. After installing the CF, the command request system snapshot partition is being issued. This command is used to partition the CF, create a file system and copy the system and configuration files on the CF.
If using JUNOS version 7.6 and higher for partitioning a CF, the created root partition on the CF is rather small and might cause problems when trying to upgrade or downgrade to another JUNOS version, as shown below:
georg@ankara-re0> request system software add /var/tmp/jinstall-8.1-20060828.0-domestic-signed.tgz reboot NOTICE: Validating configuration against jinstall-8.1-20060827.0-domestic-signed.tgz. NOTICE: Use the 'no-validate' option to skip this if desired. Checking compatibility with configuration Initializing...
Using jbase-7.6-20060826.0 Verified manifest signed by PackageProduction_7_6_0 < ... > Hardware Database regeneration succeeded Validating against /config/juniper.conf.gz mgd: commit complete Validation succeeded Installing package '/var/tmp/jinstall-8.1-20060828.0-domestic-signed.tgz' ... Verified jinstall-8.1-20060828.0-domestic.tgz signed by PackageProduction_8_1_0 Adding jinstall...
WARNING: The root filesystem is low on free disk space. WARNING: This package requires 6827k free, but there WARNING: is only 1279k available.
If the router has an installed CF with a too small root directory, you can carry out the following steps as a workaround :
Take a system snapshot from the CF request system snapshot
Boot from the hard disk request system reboot media disk
Downgrade to 7.5 or lower and reboot the router request system software add /var/tmp/jinstall-7.5R2.7-domestic-signed.tgz reboot
Re-partition the CF and recreate the file system on the CF request system snapshot partition
Reboot the system - the RE will boot from the CF request system reboot