Skip to main content

JUNOS versions running on dual partitions are not same

(2016-05-25)

Problem

Boot media /dev/da0 has dual root support
WARNING: JUNOS versions running on dual partitions are not same

Solution

admin@EX> request system snapshot slice alternate
Formatting alternate root (/dev/da0s1a)…
Copying '/dev/da0s2a' to '/dev/da0s1a' .. (this may take a few minutes)
The following filesystems were archived: /
admin@EX> show system snapshot media internal
Information for snapshot on       internal (/dev/da0s1a) (backup)
Creation date: Nov 16 18:04:49 2012
JUNOS version on snapshot:
  jbase  : ex-11.4R2.14
  jcrypto-ex: 11.4R2.14
  jdocs-ex: 11.4R2.14
  jroute-ex: 11.4R2.14
  jswitch-ex: 11.4R2.14
  jweb-ex: 11.4R2.14
Information for snapshot on       internal (/dev/da0s2a) (primary)
Creation date: May 2 15:56:11 2012
JUNOS version on snapshot:
  jbase  : ex-11.4R2.14
  jcrypto-ex: 11.4R2.14
  jdocs-ex: 11.4R2.14
  jroute-ex: 11.4R2.14
  jswitch-ex: 11.4R2.14
  jweb-ex: 11.4R2.14

For VC systems, you can whack the alternate partitions on all members in one go:

root@sa3-11r> request system snapshot slice alternate all-members
fpc0:
--------------------------------------------------------------------------
Formatting alternate root (/dev/da0s2a)…
Copying '/dev/da0s1a' to '/dev/da0s2a' .. (this may take a few minutes)
The following filesystems were archived: /
fpc1:
--------------------------------------------------------------------------
Formatting alternate root (/dev/da0s2a)…
Copying '/dev/da0s1a' to '/dev/da0s2a' .. (this may take a few minutes)
The following filesystems were archived: /

{master:0}
root@sa3-11r>