Switching

last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  EX2200 does not have primary partition-thinks both are backup

    Posted 02-10-2012 10:05

    I had a corrupted boot partition on an EX2200 and I ran the software snapshot to copy the backup to the other partition.  "request system snapshot media internal slice alternate"

     

    I then reloaded to the alternate partition "request system reboot slice alternate"

     

    Both partitions are available but the switch thinks that both are backup.  How do I get one to become primary again??

     

     root@root> show system snapshot media internal slice 1

    Information for snapshot on internal (/dev/da0s1a) (unknown)
    Creation date: Nov 4 07:58:26 2011
    JUNOS version on snapshot:
      jbase  : 11.1R6.4
      jcrypto-ex: 11.1R6.4
      jdocs-ex: 11.1R6.4
      jkernel-ex: 11.1R6.4
      jroute-ex: 11.1R6.4
      jswitch-ex: 11.1R6.4
      jweb-ex: 11.1R6.4
      jpfe-ex42x: 11.1R6.4

    root@root> show system snapshot media internal slice 2
    Information for snapshot on internal (/dev/da0s2a) (unknown)
    Creation date: Nov 4 08:39:54 2011
    JUNOS version on snapshot:
      jbase  : 11.1R6.4
      jcrypto-ex: 11.1R6.4
      jdocs-ex: 11.1R6.4
      jkernel-ex: 11.1R6.4
      jroute-ex: 11.1R6.4
      jswitch-ex: 11.1R6.4
      jweb-ex: 11.1R6.4
      jpfe-ex42x: 11.1R6.4

    root@root> show system storage partitions
    Boot Media: internal (da0)
    Currently booted from: backup (da0s2a)

    Partitions information:
      Partition  Size   Mountpoint
      s1a        184M   altroot
      s2a        184M   /
      s3d        369M   /var/tmp
      s3e        123M   /var
      s4d        62M    /config
      s4e               unused (backup config)



  • 2.  RE: EX2200 does not have primary partition-thinks both are backup

    Posted 02-13-2012 08:54

    @ftboomer1 wrote:

    I had a corrupted boot partition on an EX2200 and I ran the software snapshot to copy the backup to the other partition.  "request system snapshot media internal slice alternate"

     

    I then reloaded to the alternate partition "request system reboot slice alternate"



    ftboomer1, Your first command copies the healthy (current root) partition to the 'alternate' partition (which should be healthy). You want to copy the current to slice 1. Your second command is telling the switch to keep booting from the alternate partition. First command...

     

    request system snapshot media internal slice 1

     

    Second command should be...

     

    request system reboot slice 1

     

    This document will help some on the reboot options. This one for snapshot options

     

    We see this quite a bit with our 4200's in a virtual chassis configuration. I go so far as to designate which member when I'm requesting the snapshot and rebooting.



  • 3.  RE: EX2200 does not have primary partition-thinks both are backup
    Best Answer

    Posted 02-20-2012 12:12

    I was able to reboot the switch from either slice but it thought it was running from the backup when it was running from either partition.  I could not make one primary no matter what I tried.

     

    I then reinstalled the software image.  Easily enough done and it corrected the issue.  I had a primary and a backup after that. 

     

    Strange behavior but it ended up not being much of a problem.