13.8 Expanding EVMS Volumes on Shared Disks

As your storage needs increase, it might become necessary to add more disk space or drives to your shared storage system. EVMS provides features that allow you to expand or move existing volumes.

IMPORTANT:If you did not add a segment manager on top of the CSM container when you set up the resource, creating additional volumes or expanding or shrinking volumes is not possible. See Section 13.3.4, Adding a Segment Manager to the CSM Container.

The two supported methods for creating additional space for an existing volume are:

13.8.1 Expanding a Volume to a Separate Disk

  1. Enter evmsgui at a terminal console prompt as the root user.

  2. In evmsgui, unmount the file system for the shared Linux POSIX volume you want to expand.

  3. In evmsgui, click the Volumes tab, right-click the volume you want to expand then select Add Feature.

  4. Select Drive Linking Feature, then click Next.

  5. Provide a name for the drive link, click Add, then save your changes.

  6. Click Actions, select Create, and then select Container.

  7. Ensure that the target disk contains only unpartitioned free space.

    The entire target disk is used for the expansion, so you must make a disk available does not have other volumes or segments on it.

  8. Select the Cluster Segment Manager, click Next, then select the disk you want to expand the volume to.

    If there are no disks without a Segment Manager, then Cluster Segment Manager does not appear as an option.

    The entire disk is used for the expansion, so you must select a disk that does not have other volumes or segments on it.

  9. Provide the same settings information (same name, type (Private), owning node, and so on) as the existing container for the volume, the save your changes.

  10. Re-mount the volume to be expanded.

  11. Click the Volumes tab, right-click the volume, then click Expand.

  12. Select the volume that you are expanding, then click Next.

  13. Verify the current volume size and the size of the volume after it is expanded, then click Next.

    The expanded volume size should include the size of the disk the volume is being expanded to.

  14. Select the storage device the volume is being expanded to, select Expand, and save your changes.

  15. Click Save twice, then exit evmsgui.

13.8.2 Moving a Volume to a Larger Disk

  1. Enter evmsgui at a terminal console prompt as the root user.

  2. In evmsgui, unmount the file system for the volume you want to move by right-clicking the volume and selecting Unmount.

  3. Add a larger disk to the CSM container:

    1. In evmsgui, click Actions, select Create, then click Container.

    2. Select the Cluster Segment Manager, then click Next.

    3. Select the larger disk you want to move the volume to.

      The entire disk is used for the expansion, so you must select a disk that does not have other volumes on it.

    4. Provide the same settings information (name, type (Private), owning node, and so on) as the existing container for the volume, then save your changes.

    5. Click Save and exit evmsgui.

  4. Restart evmsgui, click the Containers tab, then expand the container so that the objects under the container appear.

    The new disk should appear as part of the container.

  5. Right-click the object for the disk where the volume resides and select Replace.

  6. Select the object for the disk where the volume will be moved, then click Next.

  7. Save your changes.

    Saving your changes could take a while, depending on volume size and other factors.

  8. Click Save, exit evmsgui, then restart evmsgui.

  9. Click the Volumes tab, right-click the volume, then select Check/Repair filesystem.

    This runs the repair process and ensures that no problems exist on the moved volume.

  10. Click the Disks tab, right-click the disk the volume was moved from, then select Remove from container.

  11. Click Save twice, then exit evmsgui.