-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Feature Request] option to create loop device when installing fast-vm #54
Comments
Hi @jrjeon Jaram, As of now it looks something like this:
I still need to give it a bit more testing and prepare change in documentation to describe it and also provide procedure for extending the size of it if it will become needed - I prefer to start with smaller size and allow ability to extend it instead of having huge file. For location I plan to store it in Once I have some code that can be tested I will let you know here. |
"truncate" creates a sparse file, hence it does not reserve space unless you actually have "real" data in it.
Ability to extend will be great, as you need to extend the size at some point. |
👍 Good point, that can be easily done during setup. |
Hi @jrjeon , I have finally some code that can be tested if interested. Once new fast-vm packages are available they will contain the On documentation side there are 2 new parts related to:
As you are already running on top of loop device provided by other service you may consider if you want to migrate to this new service provided here or stay on one created by you - I have done some changes to unit file (mostly removing things that seems to not have impact on functionality in general). I have done only limited testing (EL8 platform) for the changes so far. Once I do more testing I will provide here the test RPMs if interested to try out the changes. Otherwise I will keep this issue open until next version release of fast-vm (1.8) which may happen next month. If you have any questions or feedback to above feel free to comment and once again thank you for your contribution! |
Hi Ondrej, This looks great and I will try it out when the new version got released. Note that the step below looks very dangerous...:)
How about guide steps that create an extra file for a new pv and add it to vg? Thanks for accepting new feature. |
Hi Ja Ram, I haven't found anything substantially better than truncate, but I have noticed that it supports syntax with I find it much more convenient/easy to make existing file bigger than to instruct editing of the systemd unit file which could be more dangerous. Does this new approach makes more sense to you? |
Hi Ondrej, This looks great, I didn't know to truncate has a prefix option that always increases the size of file. |
When installing fast-vm, it requires extra LVM to create lvm thinpool.
If there is no extra space left on your local disk, this could be an issue.
It would be great when installing fast-vm it has the option to create a loop device, instead of asking for lvm to create lvm thinpool.
Please refer to the step below that I used.
The text was updated successfully, but these errors were encountered: