Reference For: administrators, users

Disk errors

Causes and remedies for the error codes raised when a virtual machine disk is changed.

error.disk.shrink_not_supported

Text in the console
Disk {disk} cannot be made smaller. Keep its size or choose a larger one.
Meaning for API clients
A disk cannot be made smaller.
Code
INVALID_ARGUMENT, HTTP 400
ArgumentWhat it holds
fieldthe request field that holds the rejected disk size.
diskthe key of the disk.

Cause. The new configuration gives a disk a smaller size than it has. Kyvernon grows disks but does not shrink them, because a smaller disk could cut off data of the guest.

Remedy.

  1. Keep the size of the disk, or set a larger one in the configuration file: kyvernon vm reconfigure <id> --config <file>. In the console, use Edit settings.
  2. To end up with a smaller disk, add a new, smaller disk, copy the data inside the guest, and remove the old disk from the configuration.

error.disk_owned_by_other_vm

Text in the console
The disk file belongs to another virtual machine, and you have no disk access to that virtual machine.
Meaning for API clients
The disk file belongs to another VM the caller has no disk access to.
Code
PERMISSION_DENIED, HTTP 403
ArgumentWhat it holds
fieldthe request field that holds the rejected disk.

Cause. The configuration uses a disk file that belongs to another virtual machine, and your role has no disk access to that virtual machine. Attaching the disk of another virtual machine needs the privilege VirtualMachine.Provisioning.DiskRandomAccess on it.

Remedy.

  1. Use a disk file that belongs to this virtual machine, or create a new disk.
  2. To attach the disk of the other virtual machine on purpose, ask an administrator to grant the privilege on that virtual machine. Pass on the message id and the path of the disk.

Version 0.1. Last changed: 2026-11-13