[f-nsp] Copying software to secondary flash deletes primary flash's content?

Franz Georg Köhler lists at openunix.de
Wed Apr 4 09:21:58 EDT 2012


On Netiron MLX, my existing IronWare Software gets deleted while I want
to install a backup in the secondary flash:

#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
  o IronWare Image (Primary)
    Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
    Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
  o LP Kernel Image (Monitor for LP Image Type 0)
    Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
    Compiled on Jun  7 2011 at 17:07:18 labeled as xmlb05200
  o LP IronWare Image (Primary for LP Image Type 0)
    Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
    Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
  o Monitor Image
    Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
    Compiled on Jun  7 2011 at 17:05:54 labeled as xmb05200
  o Startup Configuration
    Size 87411 bytes, Check Sum 98e4
    Modified on 14:48:11 GMT+01 Wed Apr 04 2012


#copy tftp flash x.x.x.x
netiron/05200c/Application/ManagementModule/xmr05200c.bin sec

******** ONE IMAGE removing primary ******
TFTP: Download to secondary flash done.
Copy MP SECONDARY IMAGE to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.

#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
  o IronWare Image (Secondary)
    Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
    Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
  o LP Kernel Image (Monitor for LP Image Type 0)
    Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
    Compiled on Jun  7 2011 at 17:07:18 labeled as xmlb05200
  o LP IronWare Image (Primary for LP Image Type 0)
    Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
    Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
  o Monitor Image
    Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
    Compiled on Jun  7 2011 at 17:05:54 labeled as xmb05200
  o Startup Configuration
    Size 87411 bytes, Check Sum 98e4
    Modified on 14:48:11 GMT+01 Wed Apr 04 2012

#copy tftp flash x.x.x.x
netiron/05200c/Application/ManagementModule/xmr05200c.bin pri
******** ONE IMAGE removing secondary ******
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................TFTP:
Download to primary flash done.
Copy MP PRIMARY IMAGE to standby MP, please wait.
Start code flash synchronization to standby MP.
Code flash synchronization to standby MP is done.
SSH at curie#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
  o IronWare Image (Primary)
    Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
    Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
  o LP Kernel Image (Monitor for LP Image Type 0)
    Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
    Compiled on Jun  7 2011 at 17:07:18 labeled as xmlb05200
  o LP IronWare Image (Primary for LP Image Type 0)
    Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
    Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
  o Monitor Image
    Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
    Compiled on Jun  7 2011 at 17:05:54 labeled as xmb05200
  o Startup Configuration
    Size 87411 bytes, Check Sum 98e4
    Modified on 14:48:11 GMT+01 Wed Apr 04 2012


Why does the other IronWare Image gets deleted?

I solved this problem with:

#cp primary secondary
.......................................................................................................
Total bytes 7653004

But I have the same problem on a line card where the primary image will
always be deleted when uploading to the secondary flash.


#show flash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Active Management Module (Top Slot)
Code Flash - Type MT28F128J3, Size 32 MB
  o IronWare Image (Primary)
    Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
    Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
  o IronWare Image (Secondary)
    Version 5.2.0cT163, Size 7653004 bytes, Check Sum d5be
    Compiled on Oct 28 2011 at 14:41:06 labeled as xmr05200c
  o LP Kernel Image (Monitor for LP Image Type 0)
    Version 5.2.0T175, Size 515819 bytes, Check Sum e3e5
    Compiled on Jun  7 2011 at 17:07:18 labeled as xmlb05200
  o LP IronWare Image (Primary for LP Image Type 0)
    Version 5.2.0cT177, Size 6523731 bytes, Check Sum ecba
    Compiled on Oct 28 2011 at 14:47:22 labeled as xmlp05200c
  o Monitor Image
    Version 5.2.0T165, Size 523655 bytes, Check Sum aa5a
    Compiled on Jun  7 2011 at 17:05:54 labeled as xmb05200
  o Startup Configuration
    Size 87411 bytes, Check Sum 98e4
    Modified on 14:48:11 GMT+01 Wed Apr 04 2012


More information about the foundry-nsp mailing list