Saturday, 18 July 2015

NetApp iscsi Lun creation

Step:1

Fisrt create a volume for Lun,
Volume name: sanvol
Size : 25GB.


Step:2

Create a qtree for Lun,


Step:3

Open iscsi initiator on windows and connect to filer.
Click discover portal and give filer IP, port details like following,


Step:4

Successfully connected to filer,


Step:5

Go to configuration tan and copy the initiator name.
While creating the igroup we should provide this IQN number.


Step:6

Go to Filer and check if iscsi is enabled, if not enable the iscsi and start the service,



Step:7

Now create a Lun using "lun create" command,
-s : size of lun
-t : type of operating system


Step:8

Create igroup using "igroup create" command,

igroup create -i -t windows igroupname iqnname
-i : for iscsi need to mention i, for FC need to mention "-f"
-t : Operating system


Step:9

map the Lun to igroup using "lun map" command and give lun id at the end,


Step:10

Check the lun details using lun show -v command,


Step:11

Go to windows client, -> manage -> storage > data ONTAP DSM management.
Here you can see newly created lun and bottom it shows multipath details,


Step:12

Click on Disk management and then initialize, format and give the drive letter like following,




 Click finish to complete the setup,


Now you can see the Disk1 online and healthy,


Here you can see newly created 20GB lun in E:Drive,



That's it :)

No comments:

Post a Comment