To regenerate a core dump file on ESX and ESXi 4.x:
- Log into the ESX host:
- For ESX classic, log into the service console as root. For more information, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807).
- For ESXi, log into the Tech Support Mode. For more information, see Using Tech Support Mode in ESXi 4.1 (1017910).
- For ESXi or ESX, log into your vMA appliance as
vi-admin
and typevifpinit <host>
.
- Determine the device identifiers for the core partition(s) by running the command:
esxcfg-dumppart -t
The output appears similar to:
mpx.vmhba2:C0:T0:L0:2 /dev/sda2
- Change to a directory with sufficient space to store the core dump file. For example:
cd /vmfs/volumes/DatastoreName/
- Dump the partition contents to a file by running the command:
esxcfg-dumppart --copy --devname "/vmfs/devices/disks/<identifier>"
Where
<identifier>
is the value recorded in step 2. For example:esxcfg-dumppart --copy --devname "/vmfs/devices/disks/mpx.vmhba2:C0:T0:L0:2"
12297 Total Views 2 Views Today
Leave a Reply