The I/O cache encountered an error while updating data in medium
Desarrollo

The I/O cache encountered an error while updating data in medium "ahci-0-1" (rc=VERR_DISK_FULL). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

25 Oct, 2024 • 2 min de lectura

Error ID: BLKCACHE_IOERR Severity: Non-Fatal Error

Oracle Virtual box 7.0

The I/O cache encountered an error while updating data in medium "ahci-0-1" (rc=VERR_DISK_FULL). Make sure there is enough free space on the disk and that the disk is working properly. Operation can be resumed afterwards.

Verificar espacio disponible:

Este error en VirtualBox indica que el disco donde están los archivos de la máquina virtual se ha quedado sin espacio. Aquí están las soluciones:

df -h

</p>

Limpiar espacio:

# Limpiar paquetes no necesarios</p>
sudo apt autoremove  
sudo apt clean

# Vaciar papelera  
rm -rf ~/.local/share/Trash/*

# Limpiar kernels antiguos  
sudo apt remove --purge $(dpkg -l 'linux-image-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')

Limpiar archivos VirtualBox:

# Eliminar snapshots no necesarios</p>
VBoxManage snapshot [nombre_VM] list  
VBoxManage snapshot [nombre_VM] delete [snapshot_name]

# Compactar el disco virtual  
VBoxManage modifyhd [ruta_al_disco.vdi] --compact

Mover la VM a otro disco:

# Primero apaga la VM</p>
VBoxManage clonevm [nombre_VM] --basefolder [nueva_ruta]

Expandir el disco virtual:

VBoxManage modifyhd [ruta_al_disco.vdi] --resize [tamaño_en_MB]

</p>

Etiquetas: