Description

This article explains how to determine if storage space is running low.

Symptoms

Problems upgrading JUNOS code due to lack of storage space.

Solution

You can determine how much storage space you have by issuing the following command:

root> show system storage
Filesystem              Size       Used      Avail  Capacity   Mounted on
/dev/da0s2a             293M       178M        91M       66%  /
devfs                   1.0K       1.0K         0B      100%  /dev
devfs                   1.0K       1.0K         0B      100%  /dev/
/dev/md0                493M       493M         0B      100%  /junos
/cf                     293M       178M        91M       66%  /junos/cf
devfs                   1.0K       1.0K         0B      100%  /junos/dev/
procfs                  4.0K       4.0K         0B      100%  /proc
/dev/bo0s3e              24M        26K        22M        0%  /config
/dev/bo0s3f             342M        60M       255M       19%  /cf/var  <--
/dev/md1                 84M        12M        65M       16%  /mfs
/cf/var/jail            342M        60M       255M       19%  /jail/var
devfs                   1.0K       1.0K         0B      100%  /jail/dev
/dev/md2                1.8M       4.0K       1.7M        0%  /jail/mfs

Pay particular attention to the Avail space for /cf/var partition.  This is the partition that is used to store temporary packages, logs, cores, etc.

If your upgrade of JUNOS is failing with the error /cf/var: write failed, filesystem is full , then you will need to free up more space on /cf/var .

To free up more space, refer to the following:

Modification History

2019-10-21: Article reviewed for accuracy. No changes made. Article is correct and complete.

Related Information