Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Check the Router File System and Boot Disk

    Purpose

    To verify routing engine failure by checking the router file system and boot disk.

    Action

    Table 1 specifies the storage media by Routing Engine type. The device names are displayed when the router boots. To display the Routing Engine type on some routers, use the show chassis hardware command.

    Table 1: Storage Media Device Names

    Storage Media

    RE-M40 (RE1)

    RE-400 (RE5)

    RE-333 (RE2)/
    RE-600 (RE3)

    RE-1600 (RE4)

    Flash drive

    ad0

    ad0

    ad0

    ad0

    Hard disk

    ad2

    ad1

    ad1

    ad1

    Removable media

    afd0

    ad3

    ad3

    ad3 and ad4

    To check the router file system and on which disk the router booted, use the following command:

    user@host> show system storage
    user@host> show system storage
      Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
      /dev/ad0s1a     65687    26701    33732    44%    /
      devfs              16       16        0   100%    /dev/
      /dev/vn1         9310     9310        0   100%    /packages/mnt/jbase
      /dev/vn2         8442     8442        0   100%    /packages/mnt/jkernel-5.0R5.1
      /dev/vn3        11486    11486        0   100%    /packages/mnt/jpfe-5.0R5.1
      /dev/vn4         5742     5742        0   100%    /packages/mnt/jroute-5.0R5.1
      /dev/vn5         1488     1488        0   100%    /packages/mnt/jcrypto-5.0R5.1
      /dev/vn6          792      792        0   100%    /packages/mnt/jdocs-5.0R5.1
      mfs:181        762223        3   701243     0%    /tmp
      /dev/ad0s1e     25263        7    23235     0%    /config
      procfs              4        4        0   100%    /proc
      /dev/ad1s1f   7156052   337194  6246374     5%    /var
    

    Meaning

    The command output displays statistics about the amount of free disk space in the router’s file systems, including the amount used, the amount available, and the percentage of system space being used. The values are displayed in 1024-byte (1KB) blocks.

    Filesystem is the name of the file system on which the Routing Engine booted. The command output also displays the directory to which the file system is mounted. During normal operation, the / and /config directories are from the CompactFlash card and the /var directory is from the hard drive. If the router booted off the hard drive, the show system storage command will show all three directories on the hard drive. If the hard drive fails and the router booted off the CompactFlash card, the show system storage command will show all three directories on the CompactFlash card.

    Published: 2012-08-20