Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIMITED DISK SPACE #822

Open
fastcolors opened this issue Oct 1, 2024 · 1 comment
Open

LIMITED DISK SPACE #822

fastcolors opened this issue Oct 1, 2024 · 1 comment

Comments

@fastcolors
Copy link

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:
- /dev/kvm
- /dev/vhost-net
device_cgroup_rules:
- 'c : rwm'
cap_add:
- NET_ADMIN
volumes:
- /var/dsm:/storage
stop_grace_period: 2m

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
Copy link
Collaborator

kroese commented Oct 14, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants