-
Notifications
You must be signed in to change notification settings - Fork 303
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
❯ ERROR: Could not allocate a file for the system disk. #281
Comments
Can you see if it makes a difference if you set ALLOCATE to N? |
it's still wrong ❯ Starting Virtual DSM for Docker v4.08... version: "3" |
Do you use Win11 and have WSL2 enabled in Docker for Windows? Because last time I tested the container worked fine on Win11 (only not on Win10). Maybe its a permission error? That it does not have the rights to write in that folder. Can you see if it makes a changes if you use a different one (or a docker volume)? Also, another note: dont map the port to 6000 because it doesnt work in Chrome (its a reserved port), use 6001 or anything else. |
Yes, I'm using wsl2 docker for windows on windows11.Can you show me your config?I don't want to install DSM on C drive.Thanks for the reminder, I will use 6001 |
The only difference is that I did not use a directory bind, but just used a docker volume (so without that volumes part in the compose file). I will see if I have some time to test if it works with folders too, and if not, I need to modify the code to use another method when the |
I used a docker volume, it was successful |
Yes but the docker volumes are stored on your C drive, so maybe you can modify in the settings that you want to store them on the J drive? |
But wsl2 is installed on the C drive |
@chaunceyPan The problem should now be fixed in the latest version (v4.09), please test if it works with directory mounts correctly now. |
@chaunceyPan Can you confirm the issue is fixed in the latest release? Otherwise I close this issue. |
Directory mounts are still an issue - I'm getting the following:
Looks like I have to set "Allocate N" to bypass this error? |
It says you dont have 4GB of diskspace available. Even ALLOCATE=N will not help, because that setting is for the data-disk and the 4GB is needed for the system-disk. |
On shoots, my docker partition was indeed out of space! |
I use docker for windows and it gives an error during initialization.
❯ Starting Virtual DSM for Docker v4.08...
dsm | ❯ Install: Downloading DSM_VirtualDSM_64570.pat...
dsm |
dsm | 0K ........ ........ ........ ........ 8% 5.90M 55s
dsm | 32768K ........ ........ ........ ........ 17% 9.09M 41s
dsm | 65536K ........ ........ ........ ........ 26% 10.3M 33s
dsm | 98304K ........ ........ ........ ........ 35% 9.00M 28s
dsm | 131072K ........ ........ ........ ........ 44% 9.95M 23s
dsm | 163840K ........ ........ ........ ........ 53% 8.88M 19s
dsm | 196608K ........ ........ ........ ........ 62% 8.82M 15s
dsm | 229376K ........ ........ ........ ........ 71% 9.44M 12s
dsm | 262144K ........ ........ ........ ........ 80% 8.37M 8s
dsm | 294912K ........ ........ ........ ........ 89% 9.51M 4s
dsm | 327680K ........ ........ ........ ........ 98% 10.0M 1s
dsm | 360448K ..... 100% 10.1M=40s
dsm |
dsm | ❯ Install: Extracting downloaded image...
dsm | fallocate: fallocate failed: Operation not supported
dsm | ❯ ERROR: Could not allocate a file for the system disk.
Does it not support NTFS format hard disk?My configuration is as follows
volumes:
- J:/dsm:/storage
The text was updated successfully, but these errors were encountered: