ldg0x21
Contributor
Contributor

I've been all over the board with this.

apps vicfg-scsidevs -m  (Is nice, however)

vmhba1:0:11:1   /vmfs/devices/disks/vml.02000b00006006016013321c0096d2decb790ce011524149442035:1   4d10093a-fa211bd4-3a31-00145ea7f15e   0  FC_VMFS_11
vmhba3:0:0:1    /vmfs/devices/disks/vml.02000000005000cca0002d66c4434252424130:1                   4d114c9f-84e8d33a-c95d-00145ea7f15e   0  Local_esx03a
vmhba1:0:10:1   /vmfs/devices/disks/vml.02000a00006006016013321c0090d2decb790ce011524149442035:1   4d10092a-8f658011-a4d4-00145ea7f15e   0  FC_VMFS_10
vmhba1:1:0:6    /vmfs/devices/disks/vml.02000000006006016013321c0096bb44c1c4ebdf11524149442035:6   4d10091d-0d4d2b17-ebc6-00145ea7f15e   0  Boot_esx03a

output of :

   vmhbaA:B:C:D

       A-Adapter#

       B-Lun

       C-Disk

       D-Part

Doesn't line up with much

cat /proc/scsi/scsi

[root@esx03a scsi]# cat scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM-ESXS Model: CBRBA073C3ETS0 N Rev: C331
  Type:   Direct-Access                    ANSI SCSI revision: 05

*Can't match that

--- I know this is my device from dmesg ----- but I really need to relate it to the vicfg-devs

   * Named local to help find..

vmhba3:0:0:1    /vmfs/devices/disks/vml.02000000005000cca0002d66c4434252424130:1                   4d114c9f-84e8d33a-c95d-00145ea7f15e   0  Local_esx03a

*From dmesg

VMWARE: Unique Device attached as scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 143374000 512-byte hdwr sectors (73407 MB)

* I can match that to the /rpoc/scsi/scsi but no relation (from what I see to the vicfg-devs

The end result I was hoping to achieve ....

If I take the vicfg-devs /id   and look under it's volumes, I find my vm's

ls -tlr /vmfs/volumes/4d114c9f-84e8d33a-c95d-00145ea7f15e

[root@esx03a 4d114c9f-84e8d33a-c95d-00145ea7f15e]# ls -tlr
total 320
drwxr-xr-x    1 root     root         1820 Feb 16 13:07 ld-03a-xp03f
drwxr-xr-x    1 root     root         1260 Mar  6 16:55 test_vm_1
drwxr-xr-x    1 root     root         2520 Mar  6 18:50 another_local_vm
drwxr-xr-x    1 root     root          420 Mar  6 19:08 test_vm_2
drwxr-xr-x    1 root     root         2520 Mar  7 16:11 unbuntu_10

maybe I'm over complicating this, or just missing the connection.

Thanks

Reply
0 Kudos