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

Recovering Primary Boot Devices

All Services Routers use a compact flash to store JUNOS Software, router configuration files, and log files. The internal compact flash is not hot-swappable and is accessible only after you remove the cover on the back panel of the router chassis. In addition to the internal compact flash, J2320 and J2350 Services Routers have a slot in the front of the chassis for external flash media. All Services Routers also support externally pluggable USB storage devices. If the primary storage medium becomes corrupted and no secondary medium is in place, you can reload the JUNOS recovery software package onto the corrupted compact flash card with a desktop or laptop computer running either a UNIX, Microsoft Windows 2000, or Windows XP operating system.

This section contains the following topics:

Why Compact Flash Recovery Might Be Necessary

For media redundancy, we recommend that you keep a secondary storage medium attached and updated at all times. Use the request system snapshot command to perform the update. (For instructions, see the JUNOS Software Administration Guide.)

If the internal compact flash fails at startup, the Services Router automatically boots itself from the external compact flash or USB storage device. When a redundant storage medium is not available, the router is unable to boot and does not come back online. This situation can occur if the power fails during a JUNOS Software upgrade and the physical or logical storage media on the router are corrupted.

If the primary storage medium becomes corrupted and no secondary medium is in place, you can reload the JUNOS Software image onto the corrupted compact flash with a desktop or laptop computer running either a UNIX, Microsoft Windows 2000, or Windows XP operating system.

Caution: This procedure does not recover any router configuration files. After you reinstall JUNOS Software, all the information on the original internal compact flash is lost.

Recommended Recovery Hardware and Software

Before configuring compact flash recovery, assemble the equipment and software listed in Table 46.

Table 46: Recommended Recovery Hardware and Software

Recommended Hardware and Software

Examples

Recovery Hardware

Host system

Desktop or laptop PC equipped with a PCMCIA controller or USB port

Adapter appropriate for your system

  • For systems with PCMCIA controllers, a compact-flash-to-PCMCIA adapter—for example, a Macally PCM-CF compact flash PCMCIA adapter.
  • For systems with a USB port, a USB-to-compact-flash adapter. For example:
    • SIIG USB 2.0 Card Reader, model US2274, part number JU-CF0122
    • MediaGear USB 2.0 Combo 9-in-4, model MGTR100
    • AVP USB 8-in-1 Card Reader, model UC-28
    • Inland Multi-Plus Card Reader, part number 08310
    • HummingBird Multi Card Reader, HCR 81
Recovery Software

Software appropriate for your system

  • UNIX with PCMCIA drivers
  • Windows 2000, or Windows XP

Systems running Windows require additional software.

  • WinZip, gzip, or a similar compression utility
  • A utility such as the following that allows you to write files to unformatted devices:
    • Norton Ghost
    • dd utility from the Cygwin package
    • physdiskwrite utility

Configuring Internal Compact Flash Recovery

To recover an internal compact flash with a corrupt or missing operating system, you must remove the corrupt internal compact from the J Series Services Router, plug it into a PC with a PCMIA adapter or USB card reader, copy the JUNOS recovery software package onto it, and reinstall on the router.

Recovery software packages are available from the same location as J Series upgrade software packages. (See the JUNOS Software Administration Guide.)

To recover an internal compact flash:

  1. Plug the compact flash into a PCMCIA adapter or USB card reader.
  2. Plug the PCMCIA adapter or USB card reader into the host PC and verify that the compact flash is recognized by the operating system.
  3. Select the appropriate recovery software package according to the size of your compact flash. The uncompressed package must have the same size as the target compact flash capacity: 128 MB, 256 MB, 512 MB or 1024 MB. The recovery software package name indicates the size of the package. For information about recovery software package names, see the JUNOS Software Administration Guide.
  4. Copy the software package to a temporary directory on the host PC and uncompress it with a compression utility, such as WinZip.
  5. Copy the uncompressed software package from the temporary directory to the compact flash with one of the following commands:

    Caution: You must use the correct target device name. Failure to do so might damage other storage devices connected to the host PC.

Note: The copy process can take several minutes.

After copying the software package to the compact flash, you can use it as the internal compact flash in any J Series Services Router.


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