Creating LUNs
You can create LUNs for an existing aggregate, volume, or qtree when there is available free space.
You can create a LUN in an existing volume or create a new FlexVol volume for the LUN. You can also enable Storage Quality of Service (QoS) to manage the workload performance.
About this task
If you specify the LUN ID, System Manager checks the validity of the LUN ID before adding it. If you do not specify a LUN ID, Data ONTAP automatically assigns one.
While selecting the LUN multiprotocol type, you should have considered the LUN multiprotocol type guidelines on page 191 for using each type.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. In the LUN Management tab, click Create.
5. Specify the name, size, type, and description for the LUN, and click Next.
6. Create a new FlexVol volume for the LUN or select an existing volume or qtree, and click Next.
7. Add initiator groups if you want to control host access to the LUN, and click Next.
8. Select the Manage Storage Quality of Service check box if you want to manage the workload performance of the LUN.
9. Create a new storage QoS policy group or select an existing policy group to control the input/
output (I/O) performance of the LUN:
If you want to...
Then do the following...
Create a new
policy group a. Specify the policy group name.
b. Specify the maximum throughput limit to ensure that the workload of the objects in the policy group do not exceed the specified throughput limit.
If you do not specify the maximum throughput limit, the value is set to Unlimited and the unit that you specify does not affect the maximum throughput.
c. Click Next.
Select an existing policy group
a. Select Existing Policy Group and click Choose to select an existing policy group from the Select Policy Group dialog box.
Note: The Storage Objects Count column in the Select Policy Group dialog box is displayed only for storage systems running Data ONTAP 8.2.1 or later.
You can also choose to modify the maximum throughput for the selected policy group.
b. Click Next.
If the policy group is assigned to more than one object, the maximum throughput that you specify is shared among the objects.
10. You can review the specified details in the LUN summary window and click Next.
11. Confirm the details and click Finish to complete the wizard.
Related references
LUNs window on page 205
Deleting LUNs
You can delete LUNs and return the space used by the LUNs to their containing aggregates or volumes.
Before you begin
• The LUN must be offline.
• The LUN must be unmapped from all initiator hosts.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. In the LUN Management tab, select one or more LUNs that you want to delete and click Delete.
5. Select the confirmation check box and click Delete.
Related references
LUNs window on page 205
Creating initiator groups
You can use the Create Initiator Group dialog box to create an initiator group. Initiator groups enable you to control host access to specific LUNs. You can use port sets to limit which LIFs an initiator can access.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Initiator Groups, and click Create.
5. In the General tab, specify the initiator group name, operating system, port set, and supported protocol for the group.
6. Click Create.
Related references
LUNs window on page 205
Deleting initiator groups
You can use the Initiator Groups tab to delete initiator groups.
Before you begin
All the LUNs mapped to the initiator group must be manually unmapped.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Initiator Groups.
5. Select one or more initiator groups that you want to delete and click Delete.
6. Click Delete.
7. Verify that the initiator groups you deleted are no longer displayed in the Initiator Groups tab.
Related references
LUNs window on page 205
Adding initiators
You can use the Edit Initiator Group dialog box to add initiators to an initiator group. An initiator is provided access to a LUN when the initiator group that it belongs to is mapped to that LUN.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Initiators Groups.
5. Select the initiator group to which you want to add initiators and click Edit.
6. In the Edit Initiator Group dialog box, click Initiators.
7. Click Add.
8. Specify the initiator name and click OK.
9. Click Save and Close.
Related references
LUNs window on page 205
Deleting initiators from an initiator group
You can use the Initiator Groups tab to delete an initiator.
Before you begin
All the LUNs mapped to the initiator group that contains the initiators must be manually unmapped.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Initiator Groups and click Edit.
5. In the Initiators tab, select one or more initiators that you want to delete and click Delete.
Related references
LUNs window on page 205
Creating port sets
You can use the Create Portset dialog box to create a new port set.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Portsets, and then click Create.
5. In the Create Portset dialog box, select the type of protocol.
6. Choose the network interface that you want to associate with the port set.
7. Click Create.
Deleting port sets
You can use the Portsets tab to delete a port set.
Steps
1. From the home page, double-click the appropriate storage system.
2. Expand the Storage Virtual Machines hierarchy in the left navigation pane.
3. In the navigation pane, select the Storage Virtual Machine (SVM) and click Storage > LUNs.
4. Click Portsets, and then select one or more port sets.
5. Click Delete.
6. Confirm the deletion by clicking Delete.