I saw the following message on one of our switches so I ran the following commands:
request system snapshot media internal slice alternate
request system reboot slice alternate media internal
to fix the primary partition and test booting from it. However, the switch is still booting from the backup partition after it reboots.
Here is the output from show system storage partitions:
fpc0:
--------------------------------------------------------------------------
Boot Media: internal (da0)
Active Partition: da0s1a
Backup Partition: da0s2a
Currently booted from: backup (da0s2a)
Partitions information:
Partition Size Mountpoint
s1a 183M altroot
s2a 184M /
s3d 369M /var/tmp
s3e 123M /var
s4d 62M /config
and the output from show system snapshot media internal:
fpc0:
--------------------------------------------------------------------------
Information for snapshot on internal (/dev/da0s1a) (primary)
Creation date: Mar 14 03:13:03 2014
JUNOS version on snapshot:
jbase : ex-12.3R6.6
jkernel-ex-2200: 12.3R6.6
jweb-ex: 12.3R6.6
jcrypto-ex: 12.3R6.6
jdocs-ex: 12.3R6.6
jswitch-ex: 12.3R6.6
jpfe-ex22x: 12.3R6.6
jroute-ex: 12.3R6.6
fips-mode-arm: 12.3R6.6
Information for snapshot on internal (/dev/da0s2a) (backup)
Creation date: Mar 13 09:35:06 2014
JUNOS version on snapshot:
jbase : ex-12.3R6.6
jkernel-ex-2200: 12.3R6.6
jweb-ex: 12.3R6.6
jcrypto-ex: 12.3R6.6
jdocs-ex: 12.3R6.6
jswitch-ex: 12.3R6.6
jpfe-ex22x: 12.3R6.6
jroute-ex: 12.3R6.6
fips-mode-arm: 12.3R6.6
Thanks in advance for any help.