iscsi connection commands for physical servers (NetApp SnapDrive)
The disk list command
The disk list command displays a list of all the LUNs connected to the host.
Syntax for this command is:
The preceding example lists all the SnapDrive LUNs mapped to drive letters on the local host. The disk list command also provides the following information for each LUN:
- LUN path (storage system name, share name, virtual disk file name, and might also include qtree name)
- Storage System
- Storage System Path (storage system-side path, which includes volume name and LUN name)
- Hyper-V VHD present (a Hyper-V VHD exists)
- Hyper-V VM name
- Type
- Disk serial number
- Backed by Snapshot copy (if this is a LUN in a Snapshot copy, this displays the storage system-side path to the Snapshot copy)
- Shared (whether the disk is dedicated or shared)
- CSV disk
- Boot or System Disk
- SCSI port
- Bus
- Target
- LUN
- Read only
- Disk size (in megabytes)
- SnapMirror source
- SnapVault primary
- Disk Partition Style (either MBR or GPT)
- Clone Split Restore status
- Disk ID
- Volume name
- Mount points (the drive letter and path to which the LUN is mapped on the host)
- CSV reparse point
- IP Addresses (IP addresses on the target storage system)
- Initiator name
C:\>sdcli disk list
UNC Path: None
LUN Path: ushovfs00402:/vol/vsb_27668/q_27669/lun3
Storage System: ushovfs00402
Storage System Path: /vol/vsb_27668/q_27669/lun3
Type: lun
Disk serial number: Av5pn]DKqFdL
Backed by Snapshot Copy:
Shared: No
BootOrSystem Disk: No
SCSI port: 5
Bus: 0
Target: 0
LUN: 3
Readonly: No
Size: 35824 MB
Snapmirror Source: No
Snapvault Primary: No
Disk Partition Style: Master Boot Record (MBR)
Clone Split Restore status: Normal
DiskID: 1
Volume Name: \\?\Volume{3fcbba35-f027-11e5-93d5-047d7b6299a8}
\
Mount points: E:\
IP Addresses: 138.53.240.72, 10.0.43.72
iSCSI initiator: iqn.1991-05.com.microsoft:houic-s-6685.americas.abc.com
The operation completed successfully.
The disk connect command
The disk connect command connects a LUN to a host by mapping the LUN to a Windows drive letter.
Syntax
sdcli disk connect [-m MachineName] -p LUNpath -d MountPoint [-I NodeMachineName InitiatorName ...] | [-IG NodeMachineName GroupName ...] -dtype {shared | dedicated} -ds "datastore name" {[-e “ResourceGroupName”] | [-n “ResourceGroupName” “ResourceGroupDesc”] | [-csv]} [-c “ClusterName”] -port PortName -passthrough
Comments
Post a Comment