VMware vCenter Upgrade: Error “No space left on device”

I was trying to upgrade VMware vCenter (VCSA) to v7.0U3 at my work using the command shell, I got an error while staging the ISO. OSError:[Error 28] No space left on device


If you log into vCSA web interface, you will see this error logged “The /storage/log filesystem is out of disk space of inodes” . I ssh into the vCenter Server Appliance and found out the following:

root@vcenter [ ~ ]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 8.8G 0 8.8G 0% /dev
tmpfs 8.9G 1.1M 8.9G 1% /dev/shm
tmpfs 8.9G 1.2M 8.9G 1% /run
tmpfs 8.9G 0 8.9G 0% /sys/fs/cgroup
/dev/sda3 46G 11G 34G 24% /
tmpfs 8.9G 4.7M 8.9G 1% /tmp
/dev/sda2 120M 30M 82M 27% /boot
/dev/mapper/core_vg-core 25G 111M 24G 1% /storage/core
/dev/mapper/imagebuilder_vg-imagebuilder 9.8G 37M 9.3G 1% /storage/imagebuilder
/dev/mapper/autodeploy_vg-autodeploy 9.8G 37M 9.3G 1% /storage/autodeploy
/dev/mapper/log_vg-log 15G 15G 0G 100% /storage/log
/dev/mapper/updatemgr_vg-updatemgr 98G 2.3G 91G 3% /storage/updatemgr
/dev/mapper/db_vg-db 9.8G 753M 8.6G 8% /storage/db
/dev/mapper/archive_vg-archive 49G 141M 47G 1% /storage/archive
/dev/mapper/dblog_vg-dblog 15G 89M 14G 1% /storage/dblog
/dev/mapper/lifecycle_vg-lifecycle 98G 3.5G 90G 4% /storage/lifecycle
/dev/mapper/vtsdblog_vg-vtsdblog 15G 57M 14G 1% /storage/vtsdblog
/dev/mapper/netdump_vg-netdump 985M 2.5M 915M 1% /storage/netdump
/dev/mapper/seat_vg-seat 541G 1.5G 512G 1% /storage/seat
/dev/mapper/vtsdb_vg-vtsdb 541G 105M 513G 1% /storage/vtsdb

To fix the issue, you have to increase the vmdk size of hard drive for /strorage/log of vCSA appliance.

  1. Login to your vSphere Client, select the vCSA VM, Edit settings and increase the size of Hard Disk 5

2. ssh into vCSA server and enter the following command :

vpxd_servicecfg storage lvm autogrow

You are all set now.