vdsm / virtual-dsm

Virtual DSM in a Docker container.
MIT License
2.69k stars 360 forks source link

LIMITED DISK SPACE #822

Open fastcolors opened 1 month ago

fastcolors commented 1 month ago

Operating system

Linux Mint 21.3 Cinnamon

Description

When i start the vds with disk size larger than 8GB, i get the following error

dsm  | ❯ ERROR: Not enough free space to resize disk to 24G in /storage, it has only 8 GB available..
dsm  | ❯ ERROR: Please specify a smaller DISK_SIZE or disable preallocation by setting ALLOCATE=N.

Docker compose

services: dsm: container_name: dsm image: vdsm/virtual-dsm networks: vdsm: environment: DHCP: "Y" DISK_SIZE: "24G" devices:

Docker log

❯ Starting Virtual DSM for Docker v7.19... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i5 4590T CPU | RAM: 3/8 GB | DISK: 8 GB (ext4) | HOST: 5.15.0-122...

❯ ERROR: Not enough free space to resize disk to 24G in /storage, it has only 8 GB available.. ❯ ERROR: Please specify a smaller DISK_SIZE or disable preallocation by setting ALLOCATE=N. ❯ Starting Virtual DSM for Docker v7.19... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Core TM i5 4590T CPU | RAM: 3/8 GB | DISK: 8 GB (ext4) | HOST: 5.15.0-122...

❯ ERROR: Not enough free space to resize disk to 24G in /storage, it has only 8 GB available.. ❯ ERROR: Please specify a smaller DISK_SIZE or disable preallocation by setting ALLOCATE=N.

Screenshots (optional)

No response

kroese commented 1 month ago

It means there is only 8GB of space left in the /var/dsm folder. If you are sure there is more space left, then maybe some policy or setting is restricting Docker from using more than 8 GB?