Provisioning new usable storage

The following procedure describes how to provision new usable storage.

To provision new usable 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:

    # 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 file system on the volume:

    # mkfs -F vxfs /dev/vx/rdsk/dg1/vol1
  6. Create a mount point on the file system:

    # mkdir mount1
  7. Mount the file system:

    # mount -F vxfs /dev/vx/dsk/dg1/vol1 /mount1