Provisioning new storage

The following procedure describes how to provision new storage. If you are provisioning Storage Foundation on thin storage, you should understand how Storage Foundation works with thin storage.

The procedure assumes a basic configuration for volumes and file systems. More options are available to customize your configuration.

See Customizing allocation behavior.

See Creating a VxFS file system.

To provision new storage

  1. Set up the LUN. See the documentation for your storage array for information about how to create, mask, and bind the LUN.
  2. Initialize the LUNs for Veritas Volume Manager (VxVM), using one of the following commands.

    The recommended method is to use the vxdisksetup command.

    # vxdisksetup -i 3PARDATA0_1
    # vxdisk init 3PARDATA0_1
  3. Add the LUN to a disk group.
    • If you do not have a disk group for your LUN, create the disk group:

      # vxdg init dg1 dev1=3PARDATA0_1
    • If you already have a disk group for your LUN, add the LUN to the disk group:

      # vxdg -g dg1 adddisk 3PARDATA0_1
  4. Create the volume on the LUN:
    # vxassist -b -g dg1 make vol1 100g 3PARDATA0_1
  5. Create a Veritas File System (VxFS) file system on the volume:
    # mkfs -t vxfs /dev/vx/rdsk/dg1/vol1
  6. Create a mount point on the file system:
    # mkdir /mount1
  7. Mount the file system:
    # mount -t vxfs /dev/vx/dsk/dg1/vol1 /mount1

More Information

About thin optimization solutions in Storage Foundation