On 13.4.2016 14:01, Ancor Gonzalez Sosa wrote:
On 04/12/2016 01:48 PM, Steffen Winterfeldt wrote:
On Tuesday 2016-04-12 10:04, Ancor Gonzalez Sosa wrote:
Right now the mechanism to reuse existing partitions is not 100% clear.
Case 1 - EFI partition
If there is already an EFI partition in the system, the VolumesGenerator will not include an EFI partition in the list of volumes (since we don't need to create it). It's not clear to me who/when will do the actual work of reusing the existing partition.
Case 2 - Swap
Right now, VolumesGenerator always includes a swap volume, even if there is one in the system. This PBI suggests that deciding between creating a new partition or resizing an existing one would be a task for SpaceMaker and PartitionCreator.
We need a more consistent approach. Ideas?
Maybe having something like vol.reuse_device = "/dev/sdc3" so the VolumesGenerator already decides that? Something for settings? Like reuse_efi_system_partition, reuse_swap? I'm pretty sure we will have cases in which we will need to reuse the EFI partition (installing alongside Windows, for example).
What prevents us from having two EFI partitions? Jiri
The case of swap is more complex. I'm not even sure it's generally a good idea to share swap.
In any case, we need some mechanism to implement reusing of partitions... and to define what reusing means.
See my thoughts (with a final important question) here: https://public.pad.fsfe.org/p/libstorage-ng-reusing
Cheers
-- Regards, Jiri Srain Project Manager --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.com Lihovarska 1060/12 tel: +420 284 084 659 190 00 Praha 9 fax: +420 284 084 001 Czech Republic http://www.suse.com -- To unsubscribe, e-mail: opensuse-storage+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-storage+owner@opensuse.org