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

Increasing the Compact Flash Space

Note: On J-series Services Routers running JUNOS Release 8.2 or later, you can no longer specify the internal compact flash as the medium used to store system software failure memory snapshots when using the set system dump-device CLI command. For J4350 or J6350 Services Routers, you need to specify a USB storage device (usb option) as the medium. For J2320 and J2350 Services Routers, you can specify a USB storage device (usb option) or the external compact flash (removable-compact-flash option) as the medium.

To increase the compact flash space:

Removing the Swap Partition

To remove the swap partition:

  1. Insert a Juniper Networks-supported 256-MB USB storage device into an available USB port of the Services Router to be upgraded. For a list of supported storage devices, see Supported Third-Party Hardware.
  2. From operational mode in the CLI, enter the following command:
  3. Enter the following command:

    This command reboots the router and boots from the USB storage device with the original configuration file intact. After rebooting, the router is online and uses the configuration file as the running configuration.

  4. Enter the following command:

    This command repartitions the internal compact flash so that it has no swap partition.

  5. Enter the following command:

    This command reboots the router from the internal compact flash. After rebooting, the router is online with your running configuration, but the swap partition on the compact flash is removed.

  6. Remove the USB storage device.
  7. See Installing Software Upgrades with the CLI to proceed with the upgrade.

Configuring the Unused Swap Partition

To configure the unused swap partition:

  1. In your Web browser, type the following URL. When prompted, use the username and password supplied to you by Juniper Networks representatives to download the upgrade-helper script to your local server.

    https://download.juniper.net/software/junos/specials/upgrade-helper.gz

  2. Start a UNIX-level shell and log in as a root user.
  3. Enter the CLI and from the operational mode copy the upgrade-helper script to the root directory on your router:

    Replace source with the path to the script on your local server.

    Replace destination with the destination directory: /root.

  4. Exit the CLI environment and create a UNIX-level shell:
  5. Use the compression utility gunzip to decompress the downloaded script. The gunzip utility is available on your router in the /usr/bin/gunzip directory.
  6. Execute the script:

    The system reboots (in no more than 10 seconds) without a swap partition.

  7. Execute the upgrade-helper script again immediately after rebooting.
  8. See Installing Software Upgrades by Downloading Files to proceed with the upgrade.

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