-
Notifications
You must be signed in to change notification settings - Fork 9
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
Creating Xenial image with 100GB system volume for VS1M #14
Comments
I did some changes in Dockerfile and bypassed the ${ARCH} stuff
I don't know where to change the type of scw instance and I think this will be a problem too |
I'm seeing a similar issue. I found that I can do However, this doesn't appear to be a restriction with the Baremetal servers! Again, unfortunately it still fails due to the disk not being Since the
So then I added a new line right after the Now I'm getting the following
When I open up a shell on the box, I can't seem to find any information about the partitions at all. It just I added the ability to avoid recreating servers by taking a server id through an environment variable. This way I could log into the web interface, remove the extra 50G disk so that my VS1M was exactly 100G of storage. This allows it to boot up just fine. I then started it again from the web. Then I provided the server ID and ran the script and it worked almost entirely fine except it was unable to tag the image. I did that myself from the snapshot in the web interface and it seems to have actually worked! I can't find a good way to do this via the command line, but I did figure out that while we can't make it work with a single volume from the CLI for a VC1M server, we can make that secondary volume 1G. This means that if you use a VC1M, we need to make make our primary 99G (total of 100). Alternately, you can keep it at 100G if you bump up to a VC1L and make the secondary 51G. If you edit the shell script and add the secondary volume size Hope that helps! If I can figure out something even better I can send a patch. |
Found the source of the bug: https://github.com/scaleway/scaleway-cli/blob/fc7c0076a0241a42721dfd15f57025c3150fd765/pkg/api/helpers.go#L340 It appears that regardless of the total size of the primary volume, it will attempt to add a second volume of at least 50G for anything greater than the smallest sizes. This causes it to go over the max size. The workaround I have listed above will have to do until this is resolved or I can figure out why it won't work with bare metal. |
I just pushed a new branch for the cli that, if merged, should fix this. |
Hello,
What is the best approach to create a Xenial image with 100GB system volume for VS1M? To be honest, I don't understand why volumes need to be broken up in 50GB chunks to begin with. All I want is a VS1M with a 100GB SSD, in one piece, as advertised.
This is how far I get:
Can anyone share step-by-step instructions? It's proving to be quite a riddle.
The text was updated successfully, but these errors were encountered: