Wednesday, March 12, 2014

Ephraim Iverson: How do I create LUNs using NetApp C-Mode / CDOT?

How do I create lun in NetApp CDOT ?

1. Use the lun create command to create your LUNs.
If you want... Then use...
a space-reserved LUN space-reserve enabled
a thinly provisioned LUN space-reserve disabled
LUN setup | 33
Example
lun create -vserver vs3 -volume vol3 -lun ephraim_lun1 -size 50GB -ostype
windows -space-reserve disabled
2. Use the igroup create command to create your igroups.
Example
igroup create -vserver vs3 -igroup igroup1 -protocol iscsi -ostype
windows -initiator iqn.1991-05.com.microsoft:example
3. Use the lun map command to map your LUNs to igroups.
Example
lun map -vserver vs3 -volume vol3 -lun ephraim_lun1  -igroup igroup1
4. Use the lun show command to verify that you configured your LUNs correctly.
Example
lun show -vserver vs3
Vserver Path State Mapped Type Size
--------- --------------- ------- ------- --------- --------
vs3 /vol/vol3/ephraim_lun1  online mapped windows 50.01GB
vs3 /vol/vol3/ephraim_lun2  online mapped windows 50.01GB
vs3 /vol/vol3/ephraim_lun3  online mapped windows 50.01GB
3 entries were displayed.

Created by: Ephraim Iverson, Storage Architect

No comments:

Post a Comment