In this lab we will create, expand. remove and extend a VMFS datastore.
Task 1: Change the Name of a VMFS Datastore
Before I do anything I read that there should be a LUN of 20GB so I’ll quickly make one.
Now I need to go to storage in my Traning datacenter and rename my Local ESXi storage to ‘Local-ESXi##’
So this is before.
And this is after.
Task 2: Create a VMFS Datastore for ESXi Host
Now we need to add the datastore, I’ll explain the steps.
Then entering the Datastore name with the number of the LUN I’m using, also making sure to select my LUN I made with 20GB storage.
Now changing the Datastore size from 20GB to 17GB as per the labs steps.
Here is my review.
Now I noticed I need another LUN and I’m sure I should be using my other LUNS I made back a few labs ago, so I’m going to create one more.
Now I need to create another VMFS which I’ll quickly do, but this one will not be downsized.
Here are my overall datastores.
Now be aware that my LUN7 and 8 are actually 6 and 7 as far as my SVM is concerned but they are 7 and 8 in my naming convention and I’m sticking with that, and not the SVM naming convention as the SVM starts from 0.
My total storage for my first PrivateVMFS is 16.75GB and 15.34GB free.
Task 3: Expand a VMFS Datastore to consume Unused Space on a LUN
To do this we need to right click my ‘PrivateVMFS-07’ and clicking ‘Increase Datastore Capacity’
First I click LUN6 which is my LUN7… Maybe not such a good idea naming it how I did but lessons learned.
NOTE: The LUN selected is the only one expandable.
Here we can select my 3GB of space to use.
Now we need to confirm the storage has actually increased.
And as you can see it has.
Task 4: Remove a VMFS Datastore
Here we need to delete the second LUN that was created which is LUN8.
Task 5: Extend a VMFS Datastore
First, we need to go into my PrivateVMFS and click increase.
Now I need to select LUN7 and click next
Now on the config screen, we select from the drop-down ‘Use all available partitions’ and then review and finish.
Now in device backing, we can confirm that our datastore is made up of two LUNS.
And the total storage is now;
Now to end the lab we need to rename the datastore to VMFS-01
Not a lot to talk about in this lab. It was nice to be able to use the ISCSi storage and understand how to apply it and modify the LUNS.
I also learned I should name my LUNs from 0 and not 1 otherwise it gets pretty damn confusing.