VMware Cloud Community
faziz
Contributor
Contributor
Jump to solution

Esxi boot local disk or san

Hi

I have esxi 6.5 host joined to vcenter, How I know if the esxi on the host on local disk or on san, in another way how i know if host boot esxi from local disk or from SAN either?

Thanks

Reply
0 Kudos
1 Solution

Accepted Solutions
fabio1975
Commander
Commander
Jump to solution

Ciao 

The boot is from local disk 

####
vfat-0.04 (Raw Major Version: 0) file system spanning 1 partitions.

UUID: 8480de70-515bb983-35dc-e7b395edbbdd
Partitions spanned (on "disks"):
naa.600508b1001cc37162a8b866dafc2547:5
Is Native Snapshot Capable: NO

naa.600508b1001cc37162a8b866dafc2547 : Local HP Disk (naa.600508b1001cc37162a8b866dafc2547)
vmhba0:C0:T0:L1 LUN:1 state:active sas Adapter: 5001438022c06aa0 Target: 1438022c06aa0

vmhba0 nhpsa link-n/a sas.5001438022c06aa0 (0000:03:00.0) Hewlett-Packard Company Smart Array P220i

#####

VMHBA0 is the local Controller  (Smart Array P220ì) 

My example does not display naa.xxxxxxxxx  because it is a boot from a USB disk.

 

 

 

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

View solution in original post

8 Replies
fabio1975
Commander
Commander
Jump to solution

Ciao 

Open SSH ESXi Session 

Execute this command:  ls -l /  where the output:

fabio1975_1-1646725196978.png

Use your ID Disk with this command:

 vmkfstools -P /vmfs/volumes/d408f6e7-974ffb48-05bd-73467ca990f1

The output is similar at this if use USB for boot:

fabio1975_2-1646725309274.png

For the last check use command esxcfg-mpath -b for identity the USB disk:

fabio1975_3-1646725402387.png

 

If after the command vmkfstools -P ........  the output is similar at this:

fabio1975_5-1646725512514.png

the boot is from SAN 

 

More info in this KB

Identifying ESXi boot LUNs for Boot From SAN configurations (2030957) (vmware.com)

Identifying disks when working with VMware ESXi (1014953)

 

 

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

Reply
0 Kudos
faziz
Contributor
Contributor
Jump to solution

+when i try "vmkfstools" it show to me:
vfat-0.04 (Raw Major Version: 0) file system spanning 1 partitions.

UUID: 8480de70-515bb983-35dc-e7b395edbbdd
Partitions spanned (on "disks"):
naa.600508b1001cc37162a8b866dafc2547:5
Is Native Snapshot Capable: NO

+but when try "esxcfg-mpath -b" show to me:
naa.600508b1001cc37162a8b866dafc2547 : Local HP Disk (naa.600508b1001cc37162a8b866dafc2547)
vmhba0:C0:T0:L1 LUN:1 state:active sas Adapter: 5001438022c06aa0 Target: 1438022c06aa0

From first command show to me as SAN because show "nna.." but the second command show to me "local disk"?

Reply
0 Kudos
fabio1975
Commander
Commander
Jump to solution

Ciao 

try to run this command:

esxcfg-scsidevs -l 

and post the output for the naa.600508b1001cc37162a8b866dafc2547

similar at this:

fabio1975_0-1646729557790.png

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

Reply
0 Kudos
faziz
Contributor
Contributor
Jump to solution

naa.600508b1001cc37162a8b866dafc2547
Device Type: Direct-Access
Size: 286070 MB
Display Name: Local HP Disk (naa.600508b1001cc37162a8b866dafc2547)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/naa.600508b1001cc37162a8b866dafc2547
Devfs Path: /vmfs/devices/disks/naa.600508b1001cc37162a8b866dafc2547
Vendor: HP Model: LOGICAL VOLUME Revis: 8.00
SCSI Level: 5 Is Pseudo: false Status: on
Is RDM Capable: true Is Removable: false
Is Local: true Is SSD: false
Other Names:
vml.0200010000600508b1001cc37162a8b866dafc25394c4f47494332
VAAI Status: unsupported

Reply
0 Kudos
fabio1975
Commander
Commander
Jump to solution

Ciao 

Last command esxcfg-scsidevs -a and post the output. 

Do you have ISCSI, DAC or Fibre connection to external disk?

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos

Reply
0 Kudos
faziz
Contributor
Contributor
Jump to solution

we have local disk on server, and we have FC for SAN

Reply
0 Kudos
faziz
Contributor
Contributor
Jump to solution

vmhba0 nhpsa link-n/a sas.5001438022c06aa0 (0000:03:00.0) Hewlett-Packard Company Smart Array P220i
vmhba1 lpfc link-up fc.2000009c0224b592:1000009c0224b571 (0000:05:00.0) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter
vmhba2 lpfc link-up fc.2000009c0224b593:1000009c0224b572 (0000:05:00.1) Emulex Corporation Emulex LPe12000 8Gb PCIe Fibre Channel Adapter

Reply
0 Kudos
fabio1975
Commander
Commander
Jump to solution

Ciao 

The boot is from local disk 

####
vfat-0.04 (Raw Major Version: 0) file system spanning 1 partitions.

UUID: 8480de70-515bb983-35dc-e7b395edbbdd
Partitions spanned (on "disks"):
naa.600508b1001cc37162a8b866dafc2547:5
Is Native Snapshot Capable: NO

naa.600508b1001cc37162a8b866dafc2547 : Local HP Disk (naa.600508b1001cc37162a8b866dafc2547)
vmhba0:C0:T0:L1 LUN:1 state:active sas Adapter: 5001438022c06aa0 Target: 1438022c06aa0

vmhba0 nhpsa link-n/a sas.5001438022c06aa0 (0000:03:00.0) Hewlett-Packard Company Smart Array P220i

#####

VMHBA0 is the local Controller  (Smart Array P220ì) 

My example does not display naa.xxxxxxxxx  because it is a boot from a USB disk.

 

 

 

 

Fabio

Visit vmvirtual.blog
If you're satisfied give me a kudos