[Contents] [Prev] [Next] [Index] [Report an Error]

Flash Features on the E120 Router and the E320 Router

The E120 router and the E320 router can have a second flash card installed with its SRP modules. Device names are reserved for the E120 and E320 router flash card slots: disk0, disk1, standby-disk0, and standby-disk1. For backward compatibility, you can use the name standby, which is equivalent to standby-disk0. You can use the second card (disk1 or standby-disk1) only for storage of core dump (.dmp) files. When the a card is installed and mounted as disk1 or standby-disk1, all .dmp files are automatically stored on this card. You must use the card mounted as disk0 or standby-disk0 for all other file types. Core dump files are stored on disk0 or standby-disk0 only when a second card is not installed.

The copy, dir, delete, and rename commands all recognize the device names, as in the following examples. Disk1 and standby-disk1 accept only dump files. This means that you can copy only .dmp files to the second disk, delete only .dmp files from the second disk, and rename only .dmp files on the second disk.

host1#copy reset05.dmp server2:reset05.dmp
host1#copy disk0:051802.dmp server2:reset05.dmp


host1#delete disk1:reset05.dmp
host1#delete standby:reset05.dmp
host1#delete standby-disk0:reset05.dmp
host1#delete standby-disk1:reset05.dmp


host1#rename standby-disk1:foo.dmp standby-disk1:bar.dmp
host1#rename foo.dmp /outgoing/bar.dmp


host1#dir
Please wait...

active/standby file systems are synchronized

   unshared                                                             in
     file                   size         size         date (UTC)        use
--------------            ---------    --------   -------------------   ---
disk0:reboot.hty             654336      654336   03/01/2005 16:08:28
disk0:system.log               3644        3644   11/30/2004 20:48:18
disk0:special.rel         159256660    61695156   02/18/2005 10:31:48
disk0:lm4_12.dmp          344200394   344200394   02/12/2005 12:12:12
standby-disk0:lm4_13.dmp  344200394   344200394   02/13/2005 13:13:13
disk1:lm4_14.dmp          344200394   344200394   02/14/2005 14:14:14
standby-disk1:lm4_15.dmp  344200394   344200394   02/15/2005 15:15:15
disk0:boston.scr                833         833   02/22/2005 17:46:18
disk0:bulkstats.scr             170         170   02/13/2006 17:34:30
ram:bulkstats1.sts              737         737   03/07/2006 09:07:52

              Disk capacity
              -------------
          Capacity      Free      Reserved
Device    (bytes)      (bytes)    (bytes)
------   ----------   ---------   --------
disk0:   1025482752   342066375   68157440
ram:        5767168     5734400          0

Because the device names are reserved, if you upgrade from a release where you previously used those names for remote hostnames, an error message appears when you try to use that remote hostname:

%ambiguous file name, reserved disk device name "disk1" must be removed from host table

 

To prevent corruption of flash cards, always issue the halt command before you remove an SRP module. See Removing an SRP Module. Issue the halt command before you remove a flash card installed as disk 0 or standby disk 0. Flash cards installed and mounted as disk1 or standby disk1 can be safely removed by issuing the no mount command for the card and then ejecting the card. Always reboot the router using the rebooting procedure. See Booting the System . Do not reboot the router by switching it off and on.


[Contents] [Prev] [Next] [Index] [Report an Error]