You are on page 1of 6

Create a LUN in Netapp Storage.

1 Netapp Storage can be access using IP address 10.101.10.52 which is a cluster IP and has two
nodes i.e. 10.101.10.51 and 10.101.10.53.
2 We have multiple LUNs created and mapped to ESXI host in the environment.
3 LUN are created from its parent volume and volumes are created from aggregates we have on
our storage.
4 In order to create LUN we can either create a new volume from where new LUN will be
created or you can create a LUN on an existing volume.
5 To create a FLEX volume open ONTAP system manager by browsing to IP address
10.101.10.52
 Navigate to volume page
 Select SVM
 On volume menu under create click create FLEX Vol
 Change the volume name as required
 Select Aggregate as required
 For parameters select size as required and click create. Eg show below.

 Click create and confirm the successful creation of volume.

6 Expand a volume.
 Open System Manager
 Navigate to list of volumes
 Select Volume to Expand
 Click more action and click resize.

 Wait for volume resize wizard to open.


 Click Next
 Select total capacity as required and click next.

 On snapshot copies page click next
 On Summary page click next
 Read success message and click Finish

7 Once we have created volume now we can create LUNs from there volumes. Port set and
initiator are already created and configured, Just we need to create a LUN and map it to
required ESXi host.To create a LUN proceed with the below mentioned steps in on command
manager.

 Click Storage > LUNs.
 In the LUN Management tab, click Create.
 Browse and select an SVM in which you want to create the LUNs.
 In the Create LUN Wizard, specify the name, size, type, description for the LUN, and select
the Space Reserve, and then click Next.
 Create a new FlexVol volume for the LUN or select an existing volume, and then click Next.
 Add initiator groups (its is already created in our case) if you want to control host access to
the LUN, and then click Next.
 Select all the other options as default and Review the specified details in the LUN
summary window, and then click Next.
 Confirm the details, and then click Finish to complete the wizard

8 Editing LUNs
 When you resize a LUN, you have to perform the steps on the host side that are recommended
for the host type and the application that is using the LUN.
 Click Storage > LUNs.
 In the LUN Management tab, select the LUN that you want to edit from the list of LUNs, and
click Edit.
 Make the required changes.
 Click Save and Close.

9 Adding a FC SAN storage LUN to ESXI host. One LUN is added/expanded from SAN
storage Side we need to add or expand datastore from ESXI end also for that below steps
needs to be followed:

 Login to VMware Vcenter console.


 Select an ESXi host under hosts and cluster and go to Configure > Storage Adapters and
click rescan Storage adapters to rescan any New Datastore or extent
 Select an ESXi host and go to Configure > Storage Devices. New LUN added will be visible
in storage devices, select the same and proceed with next step.
 To create a new datastore, go to Configure > Datastores and click the Create a new
datastore icon.
 Select VMFS option as datastore type and click Next.

 Select Name for Device and click next.


 Specify the VMFS version to use then click Next.

 Specify the datastore details then click Next.


 Click Finish to save the configuration and to create the new datastore.


 Check and you will see datastore is created successfully.

10 Adding an Extent to an existing datastore:


 In the vSphere Web Client navigator, select Global Inventory Lists > Datastores.
 Select the datastore and click the Increase Datastore Capacity icon.
 Select a device from the list of storage devices.
 Your selection depends on whether an expandable storage device is available.
Option Description
To expand an Select the device for which the Expandable column reads YES. A storage
existing extent device is expandable when it has free space immediately after the extent.
To add a new Select the device for which the Expandable column reads NO.
extent

 Review the Partition Layout to see the available configurations.


 Select a configuration option from the bottom panel.
 Depending on the current layout of the disk and on your previous selections, the menu items
you see might vary.
Menu Item Description
Use free space to Expands an existing extent to a required capacity.
expand the
datastore
Use free space Deploys an extent in the remaining free space of the disk. This menu
item is available only when you are adding an extent.
Use all available Dedicates the entire disk to a single extent. This menu item is available
partitions only when you are adding an extent and when the disk you are formatting
is not blank. The disk is reformatted, and the datastores and any data that
it contains are erased.

 Set the capacity for the extent.


 The minimum extent size is 1.3 GB. By default, the entire free space on the storage device is
available.
 Click Next.
 Review the proposed layout and the new configuration of your datastore, and click Finish.

You might also like