Knowledge Base

|
ESX 4.0 may generate a purple diagnostics screen or kernel panic after an upgrade due to an insufficient disk space (1016511)
Symptoms
- ESX 4.0 generates a purple diagnostics screen or kernel panic during reboot after upgrading to ESX 4.0 Update 1A when using VMware Update Manager or esxupdate.
- The purple diagnostics screen contains the text:
No place on disk to dump data
- The esxcfg-boot log may contain entries similar to:
2009-12-08 11:35:15 (32358) INFO : Replacing /etc/vmware/simple.map file...
2009-12-08 11:35:15 (32358) INFO : "/sbin/vmware-mkinitrd -v -f '/tmp/vmware.0.tmp'"
2009-12-08 11:35:15 (32358) INFO : [01;31m!!! ERROR:[00;00m Not enough space to create ramdisk
2009-12-08 11:35:15 (32358) INFO : Command returned with non-zero status: exit status 1
2009-12-08 11:35:15 (32358) ERROR: Unable to regenerate initrd.
2009-12-08 11:35:15 (32358) INFO : "/bin/sync"
2009-12-08 11:35:16 (32358) ERROR: /usr/sbin/esxcfg-boot failed, examine /var/log/vmware/esxcfg-boot.log for details.
- The esxupdate.log may contain entries similar to:
[2009-12-08 11:35:10] INFO: vibcache: Running [/usr/sbin/vmkmod-install.sh]...
[2009-12-08 11:35:16] INFO: vibcache: 2009-12-08 11:35:15 (32358) ERROR: Unable to regenerate initrd.
Unable to regenerate initrd, system in unknown state. Please check log files for errors and correct before rebooting.2009-12-08 11:35:16 (32358) ERROR: /usr/sbin/esxcfg-boot failed, examine /var/log/vmware/esxcfg-boot.log for details.
[2009-12-08 11:35:16] ERROR: esxupdate: An esxupdate error exception was caught:
Traceback (most recent call last):
File "/usr/sbin/esxupdate", line 242, in ?
cmd.Run()
File "/usr/lib/vmware/python2.4/site-packages/vmware/esx4update/cmdline.py", line 382, in Run
installer.Install(self.iface)
File "/usr/lib/vmware/python2.4/site-packages/vmware/esx4update/VibCach
Resolution
- A minimum of 36MB for the /tmp if it on a separated partition
- A minimum of 24MB /boot directories.
- A minimum of 100MB for the /root directory if it on a separated partition.
For example, the ESX 4.0 Update 1 download is 774.4 MB in size, and requires 1.5 GB of free space to successfully complete the installation – or 1.75 GB total free space on the root (/) partition if you are storing the zip file on the local service console file system.
Upgrading From ESX 3.5 to ESX 4
If you are upgrading from ESX 3.5 to ESX 4, the service console might contain more date than the default ESX 4.0 service console can accommodate. To recover from this situation, you need to boot the system into troubleshooting mode and roll back to ESX 3.5. For more information on rolling back, see the vSphere Upgrade Guide. After roll back, verify the initrd image is deleted from /boot.
Upgrading from ESX 4 to ESX 4 Update 1
If you originally upgraded from ESX 3.5 to ESX 4.0, and have subsequently upgraded to ESX 4.0 U1, you may still have the option to roll back to ESX 3.5. In this instance, you can choose to perform a direct upgrade install from ESX 3.5 to ESX 4 Update 1. To do this you can boot into troubleshooting mode and roll back to ESX 3.5. For more information, see the vSphere Upgrade Guide. After the roll back, verify the initrd image is deleted from /boot.
When you have successfully booted into ESX 3.5, you can perform an Off Line Upgrade to ESX 4.0 U1. For more information, see Performing an offline upgrade from ESX 3.x to 4.x (1009440). During this upgrade you can choose to use the -v (note lower case) parameter to specify more space for the ESX 4 vmdk file (service console).
If you have booted into troubleshooting mode, and do not have the option to roll back to ESX 3.5, you can verify the space left on the partitions of your ESX host by running the df -h command in the service console as user root.
The output appears similar to:
/dev/sdb5 4.9G 1.7G 2.9G 37% /
/dev/cciss/c0d0p1 1.1G 75M 952M 8% /boot
/dev/sdb2 2.0G 54M 1.8G 3% /var/log
After you have cleaned up sufficient space on the service console, you can place the ESX 4.0 Update 1 bundle on an http patch repository or burn it to a DVD and mount it in the service console.
Re-run the installation with the following command:
esxupdate --bundle=ESX-4.0.0-update01a.zip --nocache update
During installation you may receive the message, Skipping bulletin ESX400-XXXXX, it is installed or obsolete. This message can be safely ignored.
Reboot your host using the reboot command when the installation has completed.
If the ESX host still fails to boot successfully, you need to re-install ESX 4 Update 1 from DVD. When you are re-installing ESX 4 Update 1, consider using the partition table included in the Preventing the issue section of this article.
Freeing disk space on an ESX host
Filesystem Size Used Avail Use% Mounted on
/dev/sdb5 4.9G 1.7G 2.9G 37% /
/dev/cciss/c0d0p1 1.1G 75M 952M 8% /boot
/dev/sdb2 2.0G 54M 1.8G 3% /var/log
- Informational files, such as a virtual machine or an ISO, were copied to the service console file system
- Log files have not yet been rotated after a substantial amount of information was written to them
- A backup file was created by using third party backup application
- The /vmimages folder. This folder is used to store operating system install files such as the VMware Tools or other ISO files.
- The /var/core folder. This folder is used to store crash files for processes on the service console.
- The /var/log folder. This folder stores the majority of the logs for the ESX host.
- The /esx3-installation folder. This folder contains upgrade logs and old configuration files after a successful upgrade from ESX 3.5 to 4.0. For more information about post upgrade clean up, see the vSphere Upgrade Guide.
Warning: When you delete a file there is no way to recover it, so use caution when deleting anything.
- Old vm-support logs, usually under /usr/lib/vmware/hostd/docroot/downloads/
- Virtual machines that are not needed and were copied to service console for storage
- ISO files that were copied to the system. In many cases under the /vmimages folder
Preventing the issue
/ - 7168MB
/boot - 300MB
Swap - 1600MB
Extended Partition:
/var - 4096MB
/home - 2048MB
/opt - 2048MB
/tmp - 2048MB
See Also
Request a Product Feature
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

