Lun Provisioning in OpenFiler for shared storage
The best part of OpenFiler is its “Web Based Administration” which makes it even more user friendly. Below are the complete steps to provision new Luns in OpenFiler.
“http://mentorsup.com/blog/2016/02/installation-of-openfiler-on-vmware-workstation-for-shared-storage-in-unix/” :Let me add two 1 GB disks (for new LUN creation) to OpenFiler VM which we have created as per mentioned link. Later on in a separate post I will assign these new shared Lun’s to Linux RHEL6 host for Clustering Purpose.
Login to the web interface of OpenFiler using https://<IP-Openfiler-VM>:446
Click on “Volumes” Tab and then Click on “create new physical volumes” or “block Devices: On right side on web session”. Once clicked you will be able to see newly added disk which we will going to use for NEW LUN CREATION to be assigned to clients.
Note: This will show you OS disk also, don’t select that. Select only newly added disk to avoid any corruption.
Click in “/dev/sdb”, a new window will open, Go to bottom of that page and press “create” as shown. Repeat the same process for “/dev/sdc”.
New step is to create a Volume Group, click on Volume Groups on right side of the web session, Give volume group name, add disks and “Add volume group”.
Now click on “Add Volume” on right side of a session, create a volume, make sure to choose right FS type (iSCSI) and create a Volume. Once done you can check the status of created volumes by “Manage Volume” section.
Go to “Service TAB” on the top of the screen and enable/start ISCSI services.
Again go back to “Volumes” from the TOP screen and click on “iSCSI Targets” from the right hand side of a web session. Once done click on “add” to add new iSCSI target.
Now click on LUN mapping tab on same window and MAP the Lun to target iqn.2006-01.com.openfiler:tsn.1d63187e2f74.
Now we are ready to add this target to any Operating System. I will add this target to Linux RHEL VM’s which I will later on use for VERITAS Clustering. Follow my next post on How to add the iSCSI target on Linux Machines.
Recommended read for this post:
Installation of OpenFiler on VMware Workstation for Shared Storage in Unix: