Re: [pve-devel] [PATCH installer 3/3] low-level: install: check for already-existing `rpool` on install

2024-07-08 Thread Christoph Heiss
On Mon, Jul 08, 2024 at 04:16:23PM GMT, Aaron Lauterer wrote: > On 2024-05-16 12:28, Christoph Heiss wrote: > > [..] > > +sub zfs_ask_existing_zpool_rename { > > +my ($pool_name) = @_; > > + > > +# At this point, no pools should be imported/active > > +my $exported_pools = Proxmox::Sy

Re: [pve-devel] [PATCH installer 3/3] low-level: install: check for already-existing `rpool` on install

2024-07-08 Thread Aaron Lauterer
On 2024-05-16 12:28, Christoph Heiss wrote: .. in the same manner as the detection for LVM works. zpools can only be renamed by importing them with a new name, so unfortunaly the import-export dance is needed. Signed-off-by: Christoph Heiss --- Proxmox/Install.pm | 33 ++

[pve-devel] [PATCH installer 3/3] low-level: install: check for already-existing `rpool` on install

2024-05-16 Thread Christoph Heiss
.. in the same manner as the detection for LVM works. zpools can only be renamed by importing them with a new name, so unfortunaly the import-export dance is needed. Signed-off-by: Christoph Heiss --- Proxmox/Install.pm | 33 + 1 file changed, 33 insertions(+) d