Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

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