-
Notifications
You must be signed in to change notification settings - Fork 77
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 trying to use all free space for DATA #169
Comments
Hmm.., looks like So short answer, is no, 100% data space will not work. Try 90% and that should work. |
For more information do "man lvmthin" and look at section |
Should d-s-s fail if the user specified 100%. And do we need to update docs. |
TBH I would think the underlying lvm tools could accept |
That works also if we can figure this out. But the bottom line is we don't let the user end up in the state that you got into. |
problem is lvm determines internally size of spare lv at lvconvert time. So it does not tell us in advance what should be size of spare logical volume. If we don't want lvm internal magic, then we could think of creating spare logical volume ourselves and pass it to lvm during lvm convert time (The way we do for metadata lv). So we will first create metadata lv, then spare lv and then rest of the free space is used for data lv and then we call lvconvert. Issue here is what should be the size of spare lv. It is not clear to me. I will check with lvm folks and see if they have guidelines on how to select size of spare lv. |
May be there is no way to pass in spare volume to lvconvert. Atleast I don't get that sense from reading |
After a long discussion on IRC with zkabelac and vgoyal we now understand the problem more clearly: In d-s-s we are creating the metalv and datalv separately and then converting them into a thinpool. Something like this from the
The problem is that the @rhvgoyal and I propose that we start just passing in the size directly to |
On Fedora 25 atomic host I'm able to get errors from docker storage setup if I specify to use all free space in the VG.
I end up with a half set up system:
The text was updated successfully, but these errors were encountered: