Table of ContentsLibraryView in Frames

The disk create command

The disk create command creates a new LUN.

Syntax for this command is:

sdcli disk create [-m MachineName] -d MountPoint -p LUNpath -z DriveSize [-rs Reserve Snapshot Space y | n] [-I NodeMachineName InitiatorName +] | [-IG NodeMachineName GroupName +] -dtype {shared | dedicated} {[-e “ResourceGroupName”] | [-n “ResourceGroupName” “ResourceGroupDesc”]}

-rs enables you to limit the maximum disk space of the LUN you are creating to allow for at least one Snapshot copy on the volume.

Examples

sdcli disk create -dtype dedicated -z 1024 -p storage2://sd_vds_only/mktng.lun -d R -I host3 10:00:00:00:C9:2B:FD:12

The preceding example creates a dedicated, 1-GB LUN named mktng.lun in the storage2 volume named sd_vds_only. Next, it connects this LUN to the host as drive R:.

sdcli disk create -p \\133.25.61.62\sd_vds_only\mktng.lun -d r -z 4096 -dtype shared -e “mktng” -I host4 10:00:00:00:C9:2B:FD:12 host4 10:00:00:00:C9:2B:FD:11 host5 10:00:00:00:C9:2B:FC:12 host5 10:00:00:00:C9:2B:FC:11

The preceding example creates a shared, 4-GB LUN on host4 (the local machine running the sdcli command) and maps it to drive R:, using a pair of initiators.