Limitations of the new LVM-based proposal
This mail is targeted to all the yast-storage-ng developers and POs. I have been working in an approach for LVM-based proposal that offers quite some cool features, like proposing a VG with several PVs to optimize the space usage and similar stuff. But I have a problem with that approach. I'm starting to feel the logic is too hard to follow. So I wanted to go back to square one and define a more dumb LVM proposal. The resulting code will be easier to understand and will reuse many components with almost no modifications. I just wanted to make sure we all agree the following restrictions are acceptable. 1) A pre-existing VG will be reused for our purposes only if it's already big enough, i.e. we never grow existing VGs. 2) If we need to create a new VG, it will contain just one big PV. Potentially, that means we will need to destroy/resize more partitions, compared to a more flexible approach with the ability to propose a VG with several PVs. 2) Extra space freed while making space for the no-lvm partitions (EFI, PReP, /boot, etc.) will not be turned into PVs to grow our VG (no matter if it's created or reused). After all, it's just a proposal. Is everybody fine with the restrictions? -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-storage+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-storage+owner@opensuse.org
On Thu, Oct 27, 2016 at 02:51:21AM +0200, Ancor Gonzalez Sosa wrote:
I have been working in an approach for LVM-based proposal that offers quite some cool features, like proposing a VG with several PVs to optimize the space usage and similar stuff.
But I have a problem with that approach. I'm starting to feel the logic is too hard to follow.
So I wanted to go back to square one and define a more dumb LVM proposal. The resulting code will be easier to understand and will reuse many components with almost no modifications. I just wanted to make sure we all agree the following restrictions are acceptable.
2) If we need to create a new VG, it will contain just one big PV.
The old proposal can create a VG with several PVs. But in the end the PO has to decide. ciao Arvin -- Arvin Schnell, <aschnell@suse.com> Senior Software Engineer, Research & Development SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-storage+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-storage+owner@opensuse.org
participants (2)
-
Ancor Gonzalez Sosa
-
Arvin Schnell