Solaris Volume Manager Administration Guide

How to Expand a Soft Partition

When no other logical volumes have been built on a soft partition, you can add space to the soft partition. Free space is located and used to extend the partition. Existing data is not moved.

  1. Read the Background Information About Soft Partitions.

  2. Use one of the following methods to expand a soft partition:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Volumes node. Choose the soft partition you want to expand, then choose Action->Properties, then follow the instructions on screen. For more information, see the online help.

    • To add space to a soft partition, use the following form of the metattach command:

      metattach [-s disk-set] soft-partition size

      disk-set is the name of the disk set in which the soft partition exists.

      soft-partition is the name of an existing soft partition.

      size is the amount of space to add.

Example—Expanding a Soft Partition

This example shows how you can attach space to a soft partition and then expand the file system that sits on it while the soft partition is online and mounted is online:

# mount /dev/md/dsk/d20 /home2
# metattach d20 10g
# growfs -M /home2 /dev/md/rdsk/d20