This command provisions a new LUN from a storage system to a specified host system or server.
New-Storage [ -Server Server_name ] [ -StoragePath Storage_path_name ] [ -Size KB | MB | GB | TB] [ -MountPoint LUN_mountpoint ] [ -InitiatorName Initiator_name ]
This command enables you to provision a new LUN from a storage system to a specified host system or host server. You can use either FC or iSCSI protocol to connect the LUN.
If you use FC, the initiator name is the WWPN. You must also zone the initiator port properly with the target port from the storage system.
If you use iSCSI, the initiator name is the IQN. You must establish at least one session between the initiator port from the host system to the target port on the storage system before mapping the LUN.
The following command creates a 10 gigabyte LUN on storagesystemA using the path /vol/vol1/lun1. It then mounts the disk on mountpoint M and uses the first available iSCSI session to connect server1 to the LUN.
New-Storage -Server server1 -StoragePath storagesystemA:/vol/vol1/lun1 -Size 10gb -Mountpoint M:\