Verifying the Root Partition Details on SRX Series Services Gateway (CLI Procedures)

This topic includes the following sections:

Display the Partitioning Scheme Details

Purpose

To display the partitioning scheme details on the SRX Series device.

Action

Enter the show system storage partitions command.

Sample output on a system with single root partitioning


user@host> show system storage partitions
Boot Media: internal (da0)

Partitions Information:
  Partition  Size   Mountpoint
      s1a    898M   /
      s1e    24M    /config
      s1f    61M    /var

Sample output on a system with dual root partitioning


user@host> show system storage partitions
Boot Media: internal (da0)
Active Partition: da0s2a
Backup Partition: da0s1a
Currently booted from: active (da0s2a)

Partitions Information:
  Partition  Size   Mountpoint
      s1a    293M   altroot
      s2a    293M   /
      s3e    24M    /config
      s3f    342M   /var
      s4a    30M    recovery

Meaning

The command output displays the active and backup partition details.

Display Snapshot Information

Purpose

To display the snapshot information for both root partitions on SRX Series devices.

Action

Enter the show system snapshot media command.

For Internal Media


user@host> show system snapshot media internal
Information for snapshot on       internal (/dev/ad0s1a) (backup)
Creation date: Oct 9 13:30:06 2009
JUNOS version on snapshot:
  junos  : 10.0B3.10-domestic
Information for snapshot on       internal (/dev/ad0s2a) (primary)
Creation date: Jan 6 15:45:35 2010
JUNOS version on snapshot:
  junos  : 10.2-20091229.2-domestic

For USB


user@host> show system snapshot media usb
Information for snapshot on       usb (/dev/da1s1a) (primary)
            Creation date: Jul 24 16:16:01 2009
            JUNOS version on snapshot:
            junos  : 10.0I20090723_1017-domestic
            Information for snapshot on       usb (/dev/da1s2a) (backup)
            Creation date: Jul 24 16:17:13 2009
            JUNOS version on snapshot:
            junos  : 10.0I20090724_0719-domestic

Meaning

The command output displays the snapshot creation time and Junos OS Release version on a media for both the primary and backup roots.

Note: With the dual-root partitioning scheme, performing a snapshot to a USB storage device that is less than 1 GB is not supported.

Note: You can use the show system snapshot media internal command to determine the partitioning scheme present on the internal media. Information for only one root is displayed for single-root partitioning, whereas information for both roots is displayed for dual-root partitioning.

Note: Any removable media that has been formatted with dual-root partitioning will not be recognized correctly by the show system snapshot CLI command on systems that have single-root partitioning. Intermixing dual-root and single-root formatted media on the same system is strongly discouraged.