Re: Import duplicate VG from a read-only device

Stuart D Gathman <[email protected]> Mon, 18 Nov 2024 13:25:16 -0500 (EST)
Newsgroups dev.linux.lists.linux-lvm
Message-ID <[email protected]>
On Mon, 18 Nov 2024, Gionatan Danti wrote:

> Sure, I completely agree with both.
> I was just curious to know if I was missing something obvious.

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.