No Space Left On Device Error

Posted onby

Linux Error: 28: No space left on device: renguzi: Linux - Newbie: 4: 10:32 PM: Stuck at 5.5. Linux-2.6.22.5 API Headers ERROR no space left on device: bucovaina78: Linux From Scratch: 2: 05:26 PM. AFAIK, two reasons may cause the 'No space left on device' error: (1) The physical disk has been used up. Run df -hk to check whether there is any free space left.

  1. No Space Left On Device Error Download
  2. Write Error Failed No Space Left On Device
  3. Cannot Write No Space Left On Device

When you try to install a VMware ESXi Update using esxcli, the upgrade fails with the following error message:

No Space Left On Device Error Download

No Space Left On Device Error

'[Errno 28] No space left on device'

The problem is caused by ESXi not having enough free space available to extract the installation packages. This article explains how to solve the issue by enabling swapping to a Datastore.

GUI Method

Write error no space left on device

You do not need a vCenter to enable host swapping. It can be done from the ESXi Host Client.

Write Error Failed No Space Left On Device

  1. Open ESXi UI (https://[ESXi-IP-Address]/ui/)
  2. Navigate to Host > Manage > System > Swap
  3. Click Edit settings
  4. Enable Swapping and select a datastore (ds1 in that example)
  5. Click Save
  6. Changes are active immediately, there is no need to reboot the host.

Cannot Write No Space Left On Device

CLI Method

You can also activate Datastore Swapping with the esxcli sched swap system command:

Related posts: