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

vmware storage issue

hi

im fairly new to storage and was wondering if someone could provide me answers please

1. when you go into /vmfs/volumes and do an ls  i get the lun names e.g. lun1, lun2 etc and then i also get numbers like 4db34dgfs and a lot more digits etc. what are these? are they vml's from the luns to the actual volumes they see?

2. if i do a hexdump -c on a vmfs volume - what is this magic number i hear people on about and what does it mean ?//
0
mikeleahy
Asked:
mikeleahy
  • 7
  • 4
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the 4e787d23-510cff25-2b5a-984be106c904 is the actually datastore (GUUID), which is linked to the friendly name you have also provided the datastore.

if you do a ls - al , you will see the symlinks.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
e.g.

lrwxr-xr-x    1 root     root                 35 Sep 29 17:45 iSCSI-lun1 -> 4e79251f-de887b6c-f3e5-984be108a569
lrwxr-xr-x    1 root     root                 35 Sep 29 17:45 iSCSI-lun2 -> 4e7b4ff6-78633f91-9737-984be106c904
lrwxr-xr-x    1 root     root                 35 Sep 29 17:45 iSCSI-lun3 -> 4e82209c-7fa9e707-3ed6-984be106c904
lrwxr-xr-x    1 root     root                 17 Sep 29 17:45 nfs -> 892c4679-1a95feb0
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you should also be able to access the contents of the datastore using the friendly name you have given the datastore or the datastore GUUID

by using

e.g.
cd "4e79251f-de887b6c-f3e5-984be108a569"

or

cd" iSCSI-lun1"
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
as for 2. if i do a hexdump -c on a vmfs volume - what is this magic number i hear people on about and what does it mean ?//

you'll need to expand?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
maybe you are referring to Partition Alignment or Offset?

in what context have you seen the hexdump used?
0
 
mikeleahyAuthor Commented:
thanks for that = what i mean is if i do a hexdump of a lun how can i tell if its a vmfs partition ?
0
 
mikeleahyAuthor Commented:
and also how do i find the links between /dev/sda / b /c etc to the guuid and friendlly name ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you would use fdisk and check for the partition type of fb to indetify if the LUN was VMFS.

/dev/sda are Linux terms

use

esxcfg-mpath -l
fdisk -lu

and you will see the relationship between hba, storage paths, device names, runtime names
0
 
mikeleahyAuthor Commented:
thanks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
No problems
0
 
mikeleahyAuthor Commented:
very fast response and excellent knowledge
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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