-
Notifications
You must be signed in to change notification settings - Fork 329
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 when first disk is a device #549
Comments
You can set: environment:
ALLOCATE: "N" To disable preallocation of the disk space which will solve the issue (because this flag is not applied to the devices, only to folders). |
Hi @kroese ,
I've do this already. I'm doing a lot of tests with different environment tweaks. However, the current container seems that requires that the first volume is a disk image. So, could you check it please? I want to use only devices. I can accept that "boot" and "system" are disk images, but for the rest I don't want to use RAW or QCOW2 files. Thank you. |
The diskspace check where you got the message
Is only executed when Yes its true that the first disk must be an image and not a device, but if you set ALLOCATE=N then the image will use no space so it should not be a big problem that way. Otherwise I must modify a lot of code in |
Hi @kroese , Yes, I know that I can use I feel it's not necessary that the user is enforced to use images if he want to use devices. The problem is that the current |
Yes, I agreed with you that it is possible to modify the code so that it does not need the dummy image. But I dont want to make the current code more complicated (or take the risk to introduce any bugs) so thats why I said its not worth the effort for me to fix it just to save that 2 MB of space. Also this whole |
Hi @kroese , I really need to use the Regarding the problem of the first volume, the problem is not the size. The problem is that you'll have an empty (prone to errors) volumen inside the virtualDSM. Only because one script forces to create this file. Why not remove this artificial restriction? |
You can just remove this line (line 456)
And you have what you need. This is an open-source project, so everybody can just modify it to fit their own purpose. |
Yes! But I'm using the official docker container. Why not add something like execute this line only if Please. 😉 |
Thank you @kroese for fixing both issues. 👍 |
Hi,
I'm using this
docker-compose.yml
:But, then at initial install I get this message:
Because my "root" partition has only 14GB. What I need is to use the
/dev/sdc
as the disk for the FIRST disk.Any idea to fix it?
Thank you.
The text was updated successfully, but these errors were encountered: