J Series Considerations
Currently, J Series routers—the chassis most commonly used in the enterprise—are not equipped with a rotating media hard drive. Their on-system memory for storing JUNOS images is limited. As a result, some additional image upgrade commands and options are available as mentioned previously.
Cleanup
J Series chassis support a cleanup command that
frees up storage space by deleting files in the /cf/var/tmp/ directory that have not been
accessed in the past 48 hours, as well as all crash files in the
/cf/var/crash directory. This
command also rotates all current logfiles in the /cf/var/log directory. This command takes a
minute or two to complete. You can run it immediately before a software
upgrade to free up space for the JUNOS image:
lab@r5-re0> request system storage cleanup List of files to delete: Size Date Name 2300B Dec 8 09:39 /cf/var/log/interactive-commands.0.gz 8561B Jun 11 06:00 /cf/var/log/interactive-commands.1.gz 9.8K Jun 10 09:00 /cf/var/log/interactive-commands.2.gz 9290B Jun 2 2008 /cf/var/log/interactive-commands.3.gz 8990B May 20 2008 /cf/var/log/interactive-commands.4.gz 2408B Dec 8 09:39 /cf/var/log/messages.0.gz 11.7K Dec 8 08:00 /cf/var/log/messages.1.gz 14.8K Jul 30 09:00 /cf/var/log/messages.2.gz 11.1K Jul 25 07:00 /cf/var/log/messages.3.gz 5550B Jul 9 19:00 /cf/var/log/messages.4.gz 5527B Jul 9 14:00 /cf/var/log/messages.5.gz 20.3K Jul 9 09:00 /cf/var/log/messages.6.gz 17.0K Jun 11 06:00 /cf/var/log/messages.7.gz 13.0K Jun 10 10:00 /cf/var/log/messages.8.gz ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access