-
Notifications
You must be signed in to change notification settings - Fork 0
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
Question: expand pool after extending underlying md device #50
Comments
I'm afraid not yet. The plan is to allow the user to tell Stratis to accept and use the additional space. There is a previous issue, but it is not terribly specific. The old idea was to have a command to tell stratisd that it should use all the new space available on the blockdev that it can find. It seems reasonable to require specifying the blockdev that has been enlarged. However, the idea was that the engine would discover the new size rather than that the user should specify it. |
By any chance, even to do it now manually(edit some files or something likes this), to tell stratis it has more space available? Had the mdraid expanding done a few times in the past on plain lvm based setup. That was one of the main reasons, to go this way, and not in the ZFS or btrfs direktions for raid handling. So i thougth, i had more flexibility with stratis in this way. If there is currently no way, i had to go with new disks and create a new pool, than copy over the data. |
Migrating to project, since this will involve the CLI as well. |
There should be a way to edit the metadata that should work, at least in your constrained situation, with only one device. I expect to be able to take a closer look on Thursday. |
@mulkieran ping |
Just a preliminary note: The size of the device when it was claimed is part of the signature buffer data. If the new size is less than the old size, there is an error on setup. If the new size is greater, the extra space is just ignored. |
question about this. By any chance, to see here within the next weeks any improvement? Even as spoken before, a manual process would be ok, until a final implementation is finished. |
@ingothierack Thanks for the ping. I understand about the manual process, and I hope I'll be able to come up with something soon, but I'm not at all certain that this will happen. |
Ping on this feature/Issue. Maybe some progress on this for october? |
Any news on this topic? In the current stage this means, i had to replace the current pool with a new one with bigger drives. |
Now blocked by start/stop pools work. |
@ingothierack I apologize for the delay. If you take a look at stratis-storage/stratisd#3035, development work has been started! |
Is it possible to expand a pool if the underlaying device has changed?
I have added a new disk to an mdraid to expand it.
device md127 was expanded to 10.9 TB but this is currently not reflected in the stratis pool
Is there a way to make the additional space visible to stratis?
The text was updated successfully, but these errors were encountered: