All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: Stuart D Gathman <stuart@gathman.org>
Cc: Erwin van Londen <erwin@erwinvanlonden.net>,
	Zdenek Kabelac <zdenek.kabelac@gmail.com>,
	linux-lvm@lists.linux.dev
Subject: Re: Import duplicate VG from a read-only device
Date: Mon, 18 Nov 2024 21:44:58 +0100	[thread overview]
Message-ID: <3926950228f7dd0f8552aa53cc01c61c@assyoma.it> (raw)
In-Reply-To: <a3b56de0-848-5f7-ae6e-269d2a257cb8@gathman.org>

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.

      reply	other threads:[~2024-11-18 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15 20:07 Import duplicate VG from a read-only device Gionatan Danti
2024-11-18  9:53 ` Zdenek Kabelac
2024-11-18 13:38   ` Erwin van Londen
2024-11-18 15:04     ` Gionatan Danti
2024-11-18 18:25       ` Stuart D Gathman
2024-11-18 20:44         ` Gionatan Danti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3926950228f7dd0f8552aa53cc01c61c@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=erwin@erwinvanlonden.net \
    --cc=linux-lvm@lists.linux.dev \
    --cc=stuart@gathman.org \
    --cc=zdenek.kabelac@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.