0) Introduction
I needed to add some additional LUNs to a customer’s system after expanding data aggregates. A colleague had previously created all the LUNs over the ONTAP command line, but the customer wasn't into the command line, so I was thinking it would be more useful if we added the new LUNs in ONTAP System Manager. For this purpose, I wanted to see what ONTAP System Manager does, to make sure it is not too far different to the current implementation. ONTAP System Manager workflows often incorporate best practices.
1) Create an SVM
In my customers case this is already created, but I'll create with ONTAP System Manager.
Storage > Storage VMs
Click "+ Add"
Add storage VM wizard
Storage VM name: vs_iscsi
Access protocol:
Tick Enable iSCSI
Node 1:
IP address = 192.168.0.131
Subnet mask = 255.255.255.0
Brooadcast domain and port = Default (for this
lab)
Node 2:
IP address = 192.168.0.132
2) Create a first LUN (including igroup)
Now we have an iSCSI SVM, we can create a LUN. Since we
don’t have any initiator groups (igroups) configured, we will also be prompted
for this information in the wizard.
Storage > LUNs
Click “+ Add”
Add LUNs wizard
Click on the “More options”
Name prefix: myhost01lun
Storage and optimization
Number of LUNs: 1
Capacity per LUN: 30 GiB
Performance service level: Custom
Tick Manual placement
Local tiers: cluster1_01_SSD_1
Assign QoS policy group: Existing: none
Protection
Tick Enable snapshots (local)
Snapshot policy: default-1weekly
Host Information
Host operating system: Windows
LUN format: Windows (I’m selecting Windows here based on an
existing setting, but I think it should be “Windows 2008”. See *)
Host mapping: Host initiators: Initiator group Name: myhost01
iSCSI initiators: + Add initiator
iqn.1995-08.com.example:myhost01
Click Save
* See: lun
create for different LUN OS Types.
3) What did the wizard create?
It created:
·
An igroup (we won’t need to recreate these for additional LUNs)
·
A volume (see APPENDIX below for volume’s
-instance output)
·
A LUN in the volume (see APPENDIX below for LUN’s
-instance output)
·
And it mapped the LUN to the igroup.
4) Thoughts
I’ll take this information, compare it to the existing
setup, and if things are not too far off, I’ll write cli commands to create the
volumes, volume autosize settings, LUNs and LUN mappings. Since I have a few
LUNs to create, and I need to place them manually, and adhere as close to the
existing setup as possible, it will be easy to script this. I'll offer doing the odd LUN with ONTAP System Manager to show how easy and simple it.
APPENDIX: ONTAP System Manager Created Volume for 30 GiB
LUN Information
cluster1::> vol show -volume myhost01lun -instance
Vserver Name: vs_iscsi
Volume Name: myhost01lun
Aggregate Name: cluster1_01_SSD_1
List of Aggregates for FlexGroup Constituents: cluster1_01_SSD_1
Encryption Type: none
List of Nodes Hosting the Volume: cluster1-01
Volume Size: 32.53GB
Volume Data Set ID: 1027
Volume Master Data Set ID: 2158449702
Volume State: online
Volume Style: flex
Extended Volume Style: flexvol
FlexCache Endpoint Type: none
Is Cluster-Mode Volume: true
Is Constituent Volume: false
Number of Constituent Volumes: -
Export Policy: default
User ID: 0
Group ID: 0
Security Style: unix
UNIX Permissions: ---rwxr-xr-x
Junction Path: -
Junction Path Source: -
Junction Active: -
Junction Parent Volume: -
Comment:
Available Size: 30.90GB
Filesystem Size: 32.53GB
Total User-Visible Size: 30.90GB
Used Size: 324KB
Used Percentage: 0%
Volume Nearly Full Threshold Percent: 95%
Volume Full Threshold Percent: 98%
Maximum Autosize: 16TB
Minimum Autosize: 32.53GB
Autosize Grow Threshold Percentage: 90%
Autosize Shrink Threshold Percentage: 50%
Autosize Mode: grow
Total User Visible Files: 1012529
User Visible Files Used: 101
Space Guarantee in Effect: true
Space SLO in Effect: true
Space SLO: none
Space Guarantee Style: none
Fractional Reserve: 0%
Volume Type: RW
Snapshot Directory Access Enabled: true
Space Reserved for Snapshot Copies: 5%
Snapshot Reserve Used: 0%
Snapshot Policy: default-1weekly
Creation Time: Mon Apr 06 15:10:26 2026
Language: C.UTF-8
Clone Volume: false
Node name: cluster1-01
Clone Parent Vserver Name: -
FlexClone Parent Volume: -
NVFAIL Option: on
Volume's NVFAIL State: false
Force NVFAIL on MetroCluster Switchover: off
Is File System Size Fixed: false
(DEPRECATED)-Extent Option: off
Reserved Space for Overwrites: 0B
Primary Space Management Strategy: volume_grow
Read Reallocation Option: off
Naming Scheme for Automatic Snapshot Copies: create_time
Inconsistency in the File System: false
Is Volume Quiesced (On-Disk): false
Is Volume Quiesced (In-Memory): false
Volume Contains Shared or Compressed Data: true
Space Saved by Storage Efficiency: 0B
Percentage Saved by Storage Efficiency: 0%
Space Saved by Deduplication Along With VBN ZERO Savings: 0B
Percentage Saved by Deduplication: 0%
Unique Data Which Got Shared by Deduplication: 0B
Space Saved by Compression: 0B
Percentage Space Saved by Compression: 0%
Volume Size Used by Snapshot Copies: 0B
Block Type: 64-bit
Is Volume Moving: false
Flash Pool Caching Eligibility: read-write
Flash Pool Write Caching Ineligibility Reason: -
Constituent Volume Role: -
QoS Policy Group Name: -
QoS Adaptive Policy Group Name: -
Caching Policy Name: -
Is Volume Move in Cutover Phase: false
Number of Snapshot Copies in the Volume: 0
VBN_BAD may be present in the active filesystem: false
Is Volume on a hybrid aggregate: false
Total Physical Used Size: 14.81MB
Physical Used Percentage: 0%
FlexGroup Name: -
Is Volume a FlexGroup: false
SnapLock Type: non-snaplock
Vserver DR Protection: -
Enable or Disable Encryption: false
Is Volume Encrypted: false
Encryption State: none
Encryption Key ID:
Encryption Key Creation Time: -
Application: myhost01lun
Is Fenced for Protocol Access: false
Protocol Access Fence Owner: -
Is SIDL enabled: off
Over Provisioned Size: 0B
Available Snapshot Reserve Size: 1.63GB
Logical Used Size: 324KB
Logical Used Percentage: 0%
Logical Available Size: -
Logical Size Used by Active Filesystem: 324KB
Logical Size Used by All Snapshots: 0B
Logical Space Reporting: false
Logical Space Enforcement: false
Volume Tiering Policy: none
Performance Tier Inactive User Data: -
Performance Tier Inactive User Data Percent: -
Tags to be Associated with Objects Stored on a FabricPool: -
Does the Object Tagging Scanner Need to Run on This Volume: -
Is File System Analytics Supported: false
Reason File System Analytics is not Supported: File system analytics is not supported on volumes that contain LUNs.
File System Analytics State: off
File System Analytics Scan Progress: -
File System Analytics Files Scanned Progress: -
File System Analytics Total Files: -
Activity Tracking State: off
Is Activity Tracking Supported: false
Reason Activity Tracking Is Not Supported: Volume activity tracking is not supported on volumes that contain LUNs.
Is SnapMirror Active Sync Master: false
Is SnapMirror Active Sync Failover Capable: false
SnapMirror Active Sync Consensus: -
Anti-ransomware State: disabled
Granular data: disabled
Enable Snapshot Copy Locking: false
Expiry Time: -
ComplianceClock Time: -
Are Large Size Volumes and Files Enabled: false
If this Volume is part of a Consistency Group: false
Total Metadata Size: 264KB
Total Metadata Footprint Used in Aggregate: 14.75MB
APPENDIX: ONTAP System Manager Create LUN Information
cluster1::> lun show -vserver vs_iscsi -path /vol/myhost01lun/myhost01lun -instance
Vserver Name: vs_iscsi
LUN Path: /vol/myhost01lun/myhost01lun
Volume Name: myhost01lun
Qtree Name: ""
LUN Name: myhost01lun
LUN Size: 30GB
OS Type: windows
Space Reservation: disabled
Serial Number: wOj54?XTzZtx
Serial Number (Hex): 774f6a35343f58547a5a7478
Comment:
Space Reservations Honored: false
Space Allocation: enabled
State: online
LUN UUID: e850d09d-7717-4d35-a1ee-c31b9c610328
Mapped: mapped
Physical Size of Logical Block: 512B
Device Legacy ID: -
Device Binary ID: -
Device Text ID: -
Read Only: false
Fenced Due to Restore: false
Used Size: 0
Maximum Resize Size: 128TB
Creation Time: 4/6/2026 15:10:27
Class: regular
Node Hosting the LUN: cluster1-01
QoS Policy Group: -
QoS Adaptive Policy Group: -
Caching Policy Name: -
Clone: false
Clone Autodelete Enabled: false
Inconsistent Import: false
Application: myhost01lun
ZRTO Volume consensus: -
Consistency Group Name: -

Comments
Post a Comment