19.3. The SWAPFS file system

A volume with the SWAPFS file system is not mounted or unmounted. Rather, swapping is turned on for the volume using the sbin/swapon command and turned off using the <command>sbin/swapoff</command>. EVMS lets you turn swapping on or off for a volume from within EVMS without having to go to a separate terminal session.

As with mounting and unmounting, EVMS performs the swapon and swapoff operations immediately. It does not wait until the changes are saved.

19.3.1. Turning swap on

This section tells how to turn swap on using the various EVMS user interfaces.

19.3.1.1. Using the EVMS GUI

Follow these steps to turn swap on with the EVMS GUI:

  1. Select Actions->Other->Volume tasks....

  2. Select the volume you want to turn on swapping and click Next.

  3. Select "Swap on" and click Next.

  4. Select the priority for the swap. If you select "High" you will get an additional prompt for the priority level. The priority level must be a number in the range of 0 to 32767. The default is 0.

  5. Click Swap on.

Alternatively, you can turn swap on from the EVMS GUI context-sensitive menu:

  1. Right click the volume with the SWAPFS you want to turn on.

  2. Click Swap on...

  3. Select the priority for the swap. If you select "High" you will get an additional prompt for the priority level. The priority level must be a number in the range of 0 to 32767. The default is 0.

  4. Click Swap on.

19.3.1.2. Using Ncurses

Follow these steps to turn swap on with Ncurses:

  1. Select Actions->Other->Volume tasks....

  2. Select the volume on which you want to turn on swapping and select Next.

  3. Select "Swap on" and select Next.

  4. Select the priority for the swap. If you select "High" you will get an additional prompt for the priority level. The priority level must be a number in the range of 0 to 32767. The default is 0.

  5. Select "Swap on."

Alternatively, you can turn swap on with the Ncurses context-sensitive menu:

  1. Highlight the volume with the SWAPFS you want to turn on.

  2. Select "Swap on...."

  3. Select the priority for the swap. If you select "High" you will get an additional prompt for the priority level. The priority level must be a number in the range of 0 to 32767. The default is 0.

  4. Select "Swap on."

19.3.1.3. Using the CLI

To turn swap on with the CLI, use the following command:


Task: swapon, <volume>[, priority=low | , priority=high [level=0..32767]]

<volume> is the name of the volume with SWAPFS you want to turn on.

19.3.2. Turning swap off

This section tells how to turn swap off using the various EVMS user interfaces.

19.3.2.1. Using the EVMS GUI

Follow these steps to turn swap off with the EVMS GUI:

  1. Select Actions->Other->Volume tasks....

  2. Select the volume you want to turn off swapping and click Next.

  3. Select "Swap off" and click Next.

  4. Click Swap off.

Alternatively, you can turn swap off from the EVMS GUI context-sensitive menu:

  1. Right click the volume with the SWAPFS you want to turn off.

  2. Click Swap off...

  3. Click Swap off.

19.3.2.2. Using Ncurses

Follow these steps to turn swap off with Ncurses:

  1. Select Actions->Other->Volume tasks....

  2. Select the volume on which you want to turn off swapping and select Next.

  3. Select "Swap off" and select Next.

  4. Select "Swap off."

Alternatively, you can turn swap on with the Ncurses context-sensitive menu:

  1. Highlight the volume with the SWAPFS you want to turn off.

  2. Select "Swap off...."

  3. Select "Swap off."

19.3.2.3. Using the CLI

To turn swap on with the CLI, use the following command:


Task: swapoff, <volume>

<volume> is the name of the volume with SWAPFS you want to turn off.