Description

This article describes how to check loaded partition information on High-End SRX Series.

Symptoms

The command, show system storage partitions will not work for High-End SRX Series.

Solution

In Branch device, show system storage partitions is used to find out the loaded partion. However, the command is not available in the High-End SRX Series.

root@JTAC# run show system storage partitions 
Boot Media: internal (da0) 
Active Partition: da0s2a
Backup Partition: da0s1a 
Currently booted from: active (da0s2a
)   <-- Device loaded from the partition ad0s2a

Partitions information: 

  Partition  Size   Mountpoint 
  s1a        610M   altroot 
  s2a        617M   / 
  s3e        46M    /config 
  s3f        618M   /var 
  s4a        56M    recovery 
  s4e        5.7M

To find the boot partition in HIGH-END series, follow the steps below:

  1. Find out the Booted partition from the system storage

    root@JTAC# run show system storage 

    Filesystem              Size       Used      Avail  Capacity   Mounted on
    /dev/ad0s1a             3.3G       1.1G       1.9G       37%  /   <-- Device was booted from the partition ad0s1
    devfs                   1.0K       1.0K         0B      100%  /dev
    /dev/md0                911M       911M         0B      100%  /junos
    /cf                     3.3G       1.1G       1.9G       37%  /junos/cf
    devfs                   1.0K       1.0K         0B      100%  /junos/dev/
    procfs                  4.0K       4.0K         0B      100%  /proc
    /dev/ad0s1e             377M        24K       347M        0%  /config
    /dev/ad1s1f             103G       1.3G        93G        1%  /var
    /dev/md1                1.6G       1.0M       1.5G        0%  /mfs
    /var/jail               103G       1.3G        93G        1%  /jail/var
    /var/log                103G       1.3G        93G        1%  /jail/var/log
    devfs                   1.0K       1.0K         0B      100%  /jail/dev

  2. Check the partition name on compact-flash and hard-disk

    root@JTAC# run show system snapshot media compact-flash  
    Information for snapshot on compact-flash (ad0s1)     <-- Partition name is ad0s1
    Creation date: Dec 5 11:42:00 2016 
    JUNOS version on snapshot: 
      junos  : srx5000-12.1X47-D15.4-domestic

    root@JTAC# root@JTAC# run show system snapshot media hard-disk  
    Information for snapshot on hard-disk (ad1s1)         <-- Partition name is ad1s1
    Creation date: Sep 5 05:53:54 2015 
    JUNOS version on snapshot: 
      junos  : srx5000-12.1X47-D15.4-domestic

As per the above output, the device had loaded from the compact-flash.