Finally the help of IT is here

Blog of computer solutions.

Cleanup ESX servers 4.1

Posted by jl on February 8 2013th

Hello everyone

In this article we will see how free space on servers ESX 4.1 or seeing an actual example above has happened to us.

In all servers ESX that are in version 4.1 and facilities are not new, but coming from previous version updates, such as 3.5 4 or we may be that when we're going to patch a bug that the task could not be completed , which may be of the style "Did not succeed for remediation hostesx.local, esxupdate operation 1.30 15 version Error"

One of the causes of this error may be we do not have enough space in the / boot partition as in older versions of vmware hosts ESX only had 100MB. To check open an ssh session to the host ESX and we run the command df -h we can see the size of the partitions team

[[Email protected] vmware] # df -h

Filesystem Size Used Avail Use% Mounted on

/ Dev / sde5 4.9G 2.8G 1.8G 61% /

/ Dev / sde2 2.0G 377M 1.5G 21% / var / log

/ Dev / sdc1 99M 98M 1M 79% / boot

/ Dev / sdc2 4.9G 2.7G 1.9G 59% / esx3-installation

/ Dev / sdc1 99M 74M 21M 79% / esx3-installation/boot

/ Dev / sdc6 2.0G 176M 1.7G 10% / esx3-installation/var/log

Here we can see that we only have one free 1MB the / boot partition so you do not have enough space to install the new patch. To see that this is what we're occupying the space to the / boot and run the command ls-la

[[Email protected] boot] # ls -la

Total 50320

drwxr-xr-x root root 5 1024 Jan 17 12: 01.

drwxr-xr-x root root 27 4096 Jan 17 11: 59 ..

-rw-rXCHARXrXCHARX 1 root root 37760 Jun 28 2012 config-2.6.18-274.ESX

drwxr-xr-x root root 2 1024 Jan 17 12: grub 01

-rw-rXCHARXrXCHARX 1 root root 24317271 Jan 17 11:01 initrd-2.6.18-238.ESX.img

-rw-rXCHARXrXCHARX 1 root root 24237624 Jan 17 12:01 initrd-2.6.18-274.ESX.img

lrwxrwxrwx 1 root root 25 Jan 17 11:37 initrd.img -> initrd-2.6.18-274.ESX.img

drwxXCHARXXCHARX 2 root root 12288 Mar 11 2009 lost+found

-rw-rXCHARXrXCHARX 1 root root 1034077 Jun 28 2012 System.map-2.6.18-274.ESX

drwxr-xr-x 2 root root 1024 Sep 20 2010 trouble

lrwxrwxrwx 1 root root 22 Jan 17 11:37 vmlinuz -> vmlinuz-2.6.18-274.ESX

-rw-rXCHARXrXCHARX 1 root root 1672284 Jun 28 2012 vmlinuz-2.6.18-274.ESX

Vemos que hay ficheros similares a intrd-x.x.xx-xxx.img que son imágenes antiguas y que se pueden eliminar con el comando rm intrd-x.x.xx-xxx.img y así liberar un poco de espacio.

Lo comprobamos con el comando df -h

Filesystem Size Used Avail Use% Mounted on

/ Dev / sde5 4.9G 2.8G 1.8G 61% /

/ Dev / sde2 2.0G 378M 1.5G 21% / var / log

/ Dev / sdc1 99M 74M 21M 79% / boot

/ Dev / sdc2 4.9G 2.7G 1.9G 59% / esx3-installation

/ Dev / sdc1 99M 74M 21M 79% / esx3-installation/boot

/ Dev / sdc6 2.0G 176M 1.7G 10% / esx3-installation/var/log

Already it freed some space and we can proceed to install the patches.

regards

tags: , , ,
Posted by General, how to, VMware Virtualization, VMware | 2 Comments »

GTranslate Your license is inactive or expired, please subscribe again!