Normal 0 false false false EN-AU X-NONE X-NONE MicrosoftInternetExplorer4
Background: I am trying to add an existing datastore to a VM from a NetApp San. The datastore is a volume clone of a NetApp snap (for instance let’s call it TL_1_013), that is taken every night and kept for 7 days. I clone the snap and call it restore_TL_1_013, the lun or clone of the lun is then brought online and presented to the ESX group setup in NetApp.
Going to VMWare and rescanning the HBA’s, it knows the LUN is there and if I add storage in the normal fashion:
Select Host
Click Add Storage
Disk/LUN
“I choose the lun presented here”
Resignature
Ok
Finish…
It adds just fine, the only issue is that I want to add it using Powershell.
My Lun Information is as follows:
Name Address Ontapi Version
---- ------- ------ -------
sdc-fas02 172.16.251.46 1.18 NetApp Release 8.0.5 7-Mode: Sun Jan 20 21:53:54 PST 2013
Autosize : DataONTAP.Types.Volume.Autosize
BlockType : 64_bit
ChecksumStyle : block
CloneChildren :
CloneParent : {TL_1_013}
Compression :
ContainingAggregate : aggr1_sata
DiskCount : 65
ExpiryDate :
ExpiryDateDT :
FilesPrivateUsed : 504
FilesTotal : 31876689
FilesUsed : 103
FilesystemSize :
FormattedExpiryDate :
FormattedSnaplockVolumeComplianceClock :
HybridCacheEligibility :
HybridCacheWriteCachingIneligibilityReason :
InodefilePrivateCapacity : 31142
InodefilePublicCapacity : 31142
IsChecksumEnabled : True
IsInconsistent : False
IsInSnapmirrorJumpahead : False
IsInvalid : False
IsSnaplock : False
IsUnrecoverable : False
IsWraparound :
MirrorStatus : unmirrored
Name : restore_TL_1_013
OwningVfiler :
PercentageUsed : 7
PlexCount : 1
Plexes : {/aggr1_sata/plex0}
QuotaInit : 0
RaidSize : 18
RaidStatus : raid_dp,redirect
RemoteLocation :
Reserve : 0
ReserveRequired : 0
ReserveUsed : 0
ReserveUsedActual : 0
Sis :
SizeAvailable : 1535128731648
SizeTotal : 1649267441664
SizeUsed : 114137399296
SnapAutodelete : DataONTAP.Types.Volume.SnapAutodelete
SnaplockType :
SnaplockVolumeComplianceClock :
SnapshotBlocksReserved : 0
SnapshotPercentReserved : 0
SpaceReserve : none
SpaceReserveEnabled : True
State : online
Transition :
Type : flex
Uuid : 1244241e-b185-11e3-b797-00a098233148
VmAlign :
Volume64bitUpgrade :
ExpiryDateSpecified : False
IsInSnapmirrorJumpaheadSpecified : True
IsInvalidSpecified : True
IsUnrecoverableSpecified : True
IsWraparoundSpecified : False
PercentageUsedSpecified : True
SnaplockVolumeComplianceClockSpecified : False
SpaceReserveEnabledSpecified : True
TotalSize : 1649267441664
Used : 7
Available : 1535128731648
Dedupe : False
Aggregate : aggr1_sata
DedupeEnabled : False
IsDedupeEnabled : False
Alignment : indeterminate
BackingSnapshot :
BlockSize : 512
CloneBackingSnapshot :
Comment :
DeviceId :
IsSpaceReservationEnabled : False
Mapped : False
MultiprotocolType : vmware
Online : True
Path : /vol/restore_TL_1_013/TL_1_013.lun
PrefixSize :
ReadOnly : False
SerialNumber : W-Q5BZxFC793
ShareState : none
Size : 1099529453568
SizeUsed : 113654980608
Staging : False
SuffixSize :
Uuid : 170aacde-b185-11e3-b797-00a098233148
DeviceIdSpecified : False
TotalSize : 1099529453568
Protocol : vmware
Thin : True
Alignment : indeterminate
BackingSnapshot :
BlockSize : 512
CloneBackingSnapshot :
Comment :
DeviceId :
IsSpaceReservationEnabled : False
Mapped : True
MultiprotocolType : vmware
Online : True
Path : /vol/restore_TL_1_013/TL_1_013.lun
PrefixSize :
ReadOnly : False
SerialNumber : W-Q5BZxFC793
ShareState : none
Size : 1099529453568
SizeUsed : 113654980608
Staging : False
SuffixSize :
Uuid : 170aacde-b185-11e3-b797-00a098233148
DeviceIdSpecified : False
TotalSize : 1099529453568
Protocol : vmware
Thin : True
IsConnected : True
Id : /VIServer=@vcentersdc1:443/
ServiceUri : https://vcentersdc1/sdk
SessionSecret : B834EE37-B437-430A-BDC5-387937B6B650
Name : VCenterSDC1
Port : 443
SessionId : B834EE37-B437-430A-BDC5-387937B6B650
User : MCC\adm-vinman
Uid : /VIServer=@vcentersdc1:443/
Version : 4.1
Build : 345043
ProductLine : vpx
RefCount : 1
ExtensionData : VMware.Vim.ServiceInstance
Let me know if any more info is needed. Any help would be appreciated. Thanks