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 how to create, mask, and bind the LUN.

  2. Initialize the LUNs for use by Veritas Volume Manager (VxVM):

    # vxdisksetup -i 3PARDATA0_1
    # vxdisk init 3PARDATA0_1
  3. Add the LUN to a diskgroup.

    • If you do not have a diskgroup for your LUN, create the diskgroup:

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

      # 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 -V vxfs /dev/vx/rdsk/dg1/vol1
  6. Create a mount point on the file system:

    # mkdir mount1
  7. Mount the file system:

    # mount -V vxfs /dev/vx/rdsk/dg1/vol1 /mount1