• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 760
  • Last Modified:

Best way to expand a raw mapped drive in Vmware ESXi 6

I have two disk that I need to increase the size for which are setup as raw mapped luns.
Not sure of the exact steps to get this accomplished. I know I have to increase the size of these on the san first, but then not sure what to do as far as increasing the space on the VMware side once the san side is increased.
If anyone could let me know the best way to get this done?
0
vmich
Asked:
vmich
  • 4
  • 2
1 Solution
 
Richardson PortoSenior Infrastructure SpecialistCommented:
Your RDM is in virtual or physical mode ? Anyway, the following KB article describe the steps needed in both cases: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007021

If you have any additional doubt, just let us know.
0
 
vmichAuthor Commented:
They are virtual..
0
 
vmichAuthor Commented:
Ok I guess I don't understand the correct way to increase the raw disk size..
I increased the space on the san but know I am not sure how to increase the data store raw size.
Does this all involve an outage or can I do this on the fly?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
vmichAuthor Commented:
I also forgot to mention that right now the data store that the raw disk is residing on, has 550GB free.
So I guess I can increase the raw disk by 200GB from this free space once I know how to do that?
0
 
Richardson PortoSenior Infrastructure SpecialistCommented:
From the KB:

Virtual compatibility mode

To safely expand the RDM:
1. Expand the RDM LUN from the SAN side. Contact your vendor for assistance.
2. Perform rescan on the ESX and verify the new LUN size is observed.
3. Recreate the RDM mapping to update the mapped disk size using one of these methods:
   a) Utilize Storage vMotion to migrate the Virtual RDM disk's pointer file (vSphere 4.0 and later).
   b) Remove the RDM file from the Virtual Machine and delete from disk.
   c) Power off the virtual machine, note the scsiX:Y position of the RDM in VM Settings. Navigate to VM Settings > Add > Hard Disk > RDM, select the scsiX:Y position that the RDM was using before and then power on the virtual machine.
4. Perform a re-scan from the guest operating system. Consult your vendor for assistance.

So, since you already increased the space on SAN, now you need rescan your ESXi HBA, recreate the RDM mapping and then rescan the disks inside the VM.
1
 
vmichAuthor Commented:
good doc for steps needed.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now