3. Example: create a compatibility volume

This section provides a detailed explanation of how to create a compatibility volume with EVMS by providing instructions to help you complete the following task.

Example 12.2. Create a compatibility volume

Create a compatibility volume called "Sample Volume" from the region, /lvm/Sample Container/Region, you created in Chapter 9, Creating regions.


3.1. Using the GUI

To create a compatibility volume, follow these steps:

  1. Select ActionsCreateCompatibility Volume.

  2. Choose the region lvm/Sample Container/Sample Region from the list.

  3. Click the Create button.

  4. Click the Volume tab in the GUI to see a volume named /dev/evms/lvm/Sample Container/Sample Region. This volume is your compatibility volume.

Alternatively, you can perform some of the steps to create a compatibility volume from the GUI context sensitive menu:

  1. From the Available Objects tab, right click lvm/Sample Container/Sample Region.

  2. Click Create Compatibility Volume...

  3. Continue beginning with step 3 of the GUI instructions.

3.2. Using Ncurses

To create a compatibility volume, follow these steps:

  1. Select ActionsCreateCompatibility Volume.

  2. Choose the region lvm/Sample Container/Storage Region from the list..

  3. Activate Create.

Alternatively, you can perform some of the steps to create a compatibility volume from the context sensitive menu:

  1. From the Available Objects view, press Enter on lvm/Sample Container/Sample Region.

  2. Activate the Create Compatibility Volume menu item.

  3. Continue beginning with step 3 of the Ncurses instructions.

3.3. Using the CLI

To create a volume, use the Create command. The arguments the Create command accepts vary depending on what is being created. In the case of the example, the first argument is the key word volume that specifies what is being created. The second argument is the object being made into a volume, in this case lvm/Sample Container/Sample Region. The third argument, compatibility, indicates that this is a compatibility volume and should be named as such.

Create:Volume,"lvm/Sample Container/Sample Region",compatibility