Create a Volume
Volumes are also referred to as logical units (LUNs). They are the building blocks of any storage system. A host connects to the volume via iSCSI or Fibre Channel, and the volume appears to the host as a single disk drive, which can be used as a file system, a raw disk, or a virtual disk.
The --chapuser and --multi_initiator options for the vol command apply only to iSCSI volumes.
The --cached_pinned and --dedupe_enabled options cannot both be enabled for the same volume created on a hybrid flash array that supports deduplication.
Creating a volume named test1, specifying its size and thin provisioning.
$ vol --create test1 --size 10000 --thinly_provisioned yes --limit 95
Creating a volume named test1, specifying its size, thin provisioning, and setting the encryption cypher to AES 256 XTS.
$ vol --create test1 --size 10000 --thinly_provisioned yes --limit 95 --encryption aes-256-xts
Creating a volume named test1, specifying its size, thin provisioning, and providing a description.
$ vol --create test1 --size 10000 --thinly_provisioned yes --limit 95 --description "for all departments"
Creating a volume named test1, specifying its size, thin provisioning, applying the performance policy Policy1, and setting the cache pinned option to yes.
$ vol --create test1 --size 10000 --thinly_provisioned yes --limit 95 --perfpolicy Policy1 --cached_pinned yes
Adding an ACL to grant access to the volume test1 to the initiator group Dataman.
$ vol --addacl test1 --initiatorgrp Dataman
- Configure the iSCSI or Fibre Channel connections on your volumes to connect to the group leader array.
- Configure the iSCSI or Fibre Channel connections for your server or host to access those volumes.
- Configure your client initiator according to the vendor's recommendations.