Re: Import duplicate VG from a read-only device

Gionatan Danti <[email protected]> Mon, 18 Nov 2024 21:44:58 +0100
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
Il 2024-11-18 19:25 Stuart D Gathman ha scritto:
> I would use device mapper to create a writable overlay block device
> of the readonly block device (like Live media does) and rename that to
> import.  No monkeying about with namespaces.

Yes, it would probably be the only solution with a real read-only 
device.

Still, I remember the good old advice to not touch the dm table when 
using LVM (to avoid doing something wrong with the LVM-managed tables) - 
so I would probably be more comfortable using a live media to rename the 
duplicate VG.

Thanks.