Table of ContentsLibraryView in Frames

New-Storage

This command provisions a new LUN from a storage system to a specified host system or server.

CLI

New-Storage [ -Server Server_name ] [ -StoragePath Storage_path_name ] [ -Size KB | MB | GB | TB] [ -MountPoint LUN_mountpoint ] [ -InitiatorName Initiator_name ]

Privilege level

Admin

Availability

Operational mode

Description

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.

Parameters

-Server | -s Server_name
Specifies the name of the host server from which to provision storage. The default is the local machine. If you specify a remote system, that system must be in the same Windows domain as the local system. You must also have administrative access rights to that remote system.
-StoragePath | -path Storage_path_name
Specifies the full LUN path, including LUN name, volume name, and storage system name.
-Size | -z KB | MB | GB | TB
Specifies the LUN size to provision.
-MountPoint | -mount LUN_mountpoint
Specifies the LUN mountpoint. The default is the volume GUID. You can use a drive letter or a drive letter and directory as a mountpoint. If you use a drive letter and directory, the drive letter must already exist.
-InitiatorName | -i Initiator_name
Specifies the name of the initiator or initiators to which the LUN is mapped. If you do not specify an initiator, the first available iSCSI initiator with an established session is used. After that, the FC initiator name is used.

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.

Example

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:\