You are on page 1of 1

How to create a lun in netapp:

hLLp//wwwcoreLlmercom/sLorage/howLocreaLealunonneLapp/
BeIore creating LUN (Logical Unit Number)on a NetApp Iiler the appropriate license needs to
be added.Connect to the netapp through the console or a remote session.BeIore creating LUN,we
need to know which volume this LUN will reside.Use vol status command to list the available
volumes
fas2020> vol status
II we have the required volume name then we can create LUN with Iollowing commnad
lun create -s 'size -t 'type 'volumename/lun number
fas2020>lun create -s 300g -t linux /vol/vol2/lun2
SuccessIul execution oI this command wil create LUN '/vol/vol2/lun2 .Then we need to map
this LUN with particular host with IQN(ISCSI).For that we need to create Initiator group or
igroup which contain the IQN Ior host.

fas2020>igroup create -i -t linux test_group iqn.1994-05.com.redhat:65ca50822cf9
AIter creating igroup, we need to map it with Iollowing commnand.
lun map 'lun name 'igroup name 'lun number

fas2020>lun map /vol/vol2/lun2 test_group lun2
So mapping has done.Now veriIy it, lun show -m will show LUN list and their mapping.This
will give Iollowing output
Ias2020~lun show -m

LUN path Mapped to LUN ID Protocol
---------------------------
/vol/vol2/lun2 test_group 2 iSCSI
hLLp//wwwassoclaLedconLenLcom/arLlcle/2246313/how_Lo_seLup_a_lun_on_a_neLapp_sLoragehLml
?caL13
hLLp//wwwsnlaorg/educaLlon/dlcLlonary/
hLLp//waflcouk/san/

You might also like