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

Removing the Swap Partition

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, 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. See Supported Third-Party Hardware for a list of supported storage devices.
  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.

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