Description

RE0 is experiencing low disk space and has stopped logging activities.

Symptoms

> start shell
% df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/md0.uzip 22M 22M 0B 100% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/gpt/junos 10G 1.9G 7.3G 20% /.mount
devfs 1.0K 1.0K 0B 100% /.mount/dev
/dev/md1.uzip 23M 23M 0B 100% /.mount/packages/mnt/os-libs-11
/dev/md2.uzip 27M 27M 0B 100% /.mount/packages/mnt/os-runtime
procfs 4.0K 4.0K 0B 100% /.mount/proc
/dev/gpt/config 446M 1.3M 409M 0% /.mount/config
/dev/gpt/var 14G 14G -1.1G 109% /.mount/var
tmpfs 4.5G 116K 4.5G 0% /.mount/tmp


router1> show log messages | last 10
-re0 kernel: in_ifalrequest: .local. op 5 local 0xfffff8019ba280e8/32
-re0 kernel: in_ifalrequest: .local. op 5 local 0xfffff8019ba280e8/32
-re0 kernel: in_ifalrequest: .local. op 5 local 0/0
-re0 kernel: in_ifalrequest: .local. op 5 local 0/0
-re0 kernel: in_ifalrequest: .local. op 5 local 0xfffff80006e918e8/32
-re0 kernel: in_ifalrequest: .local. op 5 local 0/0
-re0 kernel: in_ifalrequest: .local. op 5 local 0/0
-re0 kernel: in_ifalrequest: .local. op 5 local 0xfffff80006e918e8/32
-re0 kernel: in_ifalrequest: .local. op 5 local 0xfffff80006e918e8/32
-re0 mib2d[2100]: MIB2D_RTSLIB_READ_FAILURE: get_counter_list_async: failed in reading counter names ae101.0-i: 11 (No such file or directory)

 

Solution

Workaround:

  1. Review Files for Cleanup:

    • Run the following command to see a list of files that can be safely deleted:
      request system storage cleanup dry-run
      
    • This command simulates the cleanup process and displays the files it would remove. Important: Before proceeding, carefully review the list to ensure no critical files are included.
  2. Clean Up Storage (Optional):

    • the files listed for deletion, run the following command to perform the actual cleanup:
      request system storage cleanup
      

    Caution: This command permanently deletes the listed files.

  3. Disable Unnecessary Monitoring (Optional):

    • Before running the cleanup, it's recommended to disable traceoptions and rtsockmon if they're enabled on your device. These features can generate log files that contribute to storage usage. Note: Consult your Juniper documentation for specific instructions on disabling these features.

For more details on the request system storage cleanup command, refer to the official Juniper documentation:

Modification History

2024-03-28 : Article Created