VMware Cloud Community
lorimer
Contributor
Contributor
Jump to solution

RDM or available LUN?

I am adding a new LUN to an existing cluster. The cluster has ~150

vm's. Several of these vm's have 1-3 Raw Device Mappings. The problem I

have now is that the labels in the SAN management were less than

descriptive (vmware 01-XX). There are a couple LUNs that were exported

that are ready to be formatted as VMFS. Because of poor labeling and

poor tracking, I have no idea which LUNs are the ones that got exported

for vmfs. All the RDM's show up when I try to add new vmfs. How do I

tell which of those are in use currently as RDM's and which are truely

available to format as vmfs?

0 Kudos
1 Solution

Accepted Solutions
Texiwill
Leadership
Leadership
Jump to solution

Hello,

This one boils down to documentation. You will need to look at each RDM and determine its vmhba name equivalent. Then map those back to the SAN LUN, etc.

In this vmkfstools will be your friend, specifically the -queryrdm option.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill

View solution in original post

0 Kudos
3 Replies
Texiwill
Leadership
Leadership
Jump to solution

Hello,

This one boils down to documentation. You will need to look at each RDM and determine its vmhba name equivalent. Then map those back to the SAN LUN, etc.

In this vmkfstools will be your friend, specifically the -queryrdm option.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

Blue Gears and SearchVMware Pro Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

Top Virtualization Security Links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

If the RDM's are in use, and the new LUNs are brand new, then you can also run 'fdisk -l' on the service console. This should give you a partition description, and will tell you what type of filesystem is seen on those LUNs. This can go a long way to see if there is something on the disk as well.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
lorimer
Contributor
Contributor
Jump to solution

"In this vmkfstools will be your friend, specifically the -queryrdm option. "

Awesome. The -queryrdm option is exactly what I was looking for.

0 Kudos