-->

How to get ESXi boot device of esxi host

 How to get ESXi boot device of esxi host

If you need to see the current boot device of ESXi or from which device ESXi is running then follow below steps. 

1. Enable SSH on ESXi host. 

2. Login to ESXi server using root and its password.

3. Run below Command to get boot volume 

#ls -l /bootbank | awk -F"-> " '{print $2}'

E.g output

[root@esxi01:~] ls -l /bootbank | awk -F"-> " '{print $2}'

/vmfs/volumes/50705ae3-b08ce25f-a1b8-bc56258253ad

 4. Copy vmfs volume and run below command to get more details about volume. 

#vmkfstools -P vmfsVolumeID

[root@esxi01:~] vmkfstools -P /vmfs/volumes/9999zs3-b08cjud5f-91b8-sljoiel76

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

File system label (if any):

Mode: private

Capacity 261853184 (63929 file blocks * 4096), 90677248 (22138 blocks) avail, max supported file size 0

UUID: 9999zs3-b08cjud5f-91b8-sljoiel76

Partitions spanned (on "disks"):

        eui.00b0504665428:5

Is Native Snapshot Capable: NO


5. From above command output copy the disks/partition UID and run below command to get device details. 


#esxcli storage core device list | grep -A27 deviceID


[root@esxi01:~] esxcli storage core device list | grep -A27 eui.00b0504665428

eui.00b0504665428

   Display Name: Local USB Direct-Access (eui.00b0504665428)

   Has Settable Display Name: false

   Size: 30436

   Device Type: Direct-Access

   Multipath Plugin: NMP

   Devfs Path: /vmfs/devices/disks/eui.00b0504665428

   Vendor: Cypress

   Model: SDRAID

   Revision: 0000

   SCSI Level: 2

   Is Pseudo: false

   Status: on

   Is RDM Capable: false

   Is Local: true

   Is Removable: true

   Is SSD: false

   Is VVOL PE: false

   Is Offline: false

   Is Perennially Reserved: false

   Queue Full Sample Size: 0

   Queue Full Threshold: 0

   Thin Provisioning Status: unknown

   Attached Filters:

   VAAI Status: unsupported

   Other UIDs: vml.0000000000766d68626133323a303a30

   Is Shared Clusterwide: false

   Is Local SAS Device: false

   Is SAS: false

   Is USB: true

   Is Boot USB Device: true

   Is Boot Device: true

   Device Max Queue Depth: 1

   No of outstanding IOs with competing worlds: 32


In above command you can see, this ESXi host is booted and running from USB device.


------------------------------------------------------------------------------------

How to get ESXi boot device of esxi host How to get ESXi boot device of esxi host Reviewed by Virtulization on February 16, 2022 Rating: 5

No comments:

Home - PageNavi (show/hide)

hide
Powered by Blogger.