Scenario: To take a snapshot from the active slice of the NAND flash device to the
alternate slice:
1. Boot up the router from the NAND flash device.
2. Issue the request system snapshot slice alternate command.
user@host> request system snapshot slice alternate
Verifying compatibility of destination media partitions...
Running newfs (439MB) on internal media / partition (da0s1a)...
Running newfs (46MB) on internal media /config partition (da0s1e)...
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
Copying '/dev/da0s2e' to '/dev/da0s1e' .. (this may take a few minutes)
The following filesystems were archived: / /config
The root (/) and /config directories from the currently mounted NAND flash slice are
copied to the other slice.
Scenario: To take a snapshot from an active slice of the NAND flash device to the alternate
slice after partitioning:
1. Boot up the router from the NAND flash device.
2. Issue the request system snapshot partition slice alternate command.
user@host> request system snapshot partition slice alternate
Verifying compatibility of destination media partitions...
Running newfs (439MB) on internal media / partition (da0s1a)...
Running newfs (46MB) on internal media /config partition (da0s1e)...
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
Copying '/dev/da0s2e' to '/dev/da0s1e' .. (this may take a few minutes)
The following filesystems were archived: / /config
The BSD label (disk partitioning information) for the active flash slice is installed and
then the root (/) and /config directories from the currently mounted NAND flash slice
are copied to the other slice.
Scenario: To take a snapshot from a USB storage device to the active slice of the NAND
flash device:
1. Boot up the router from a USB storage device containing the required Junos OS image.
2. Issue the request system snapshot command.
user@host> request system snapshot
Verifying compatibility of destination media partitions...
Running newfs (439MB) on internal media / partition (da0s1a)...
Running newfs (46MB) on internal media /config partition (da0s1e)...
Copying '/dev/da1s1a' to '/dev/da0s1a' .. (this may take a few minutes)
Copying '/dev/da1s1e' to '/dev/da0s1e' .. (this may take a few minutes)
The following filesystems were archived: / /config
67Copyright © 2017, Juniper Networks, Inc.
Chapter 2: Installing and Upgrading Junos OS