On Mon, 2019-12-02 at 18:12 +0000, Alasdair G Kergon wrote:
> On Mon, Dec 02, 2019 at 12:46:57PM +0000, Patrick O'Callaghan wrote:
> > Anyway, I cloned each partition using dd, but of course that also
> > cloned the LVM stuff, including the LVM identifiers
> > How can I blow away LVM on the cloned drive without having to start
> > again from scratch?
> 
> Maybe vgimportclone would help?
> 
> DESCRIPTION
>        vgimportclone  is  used  to import a duplicated VG (e.g. hardware snap-
>        shot).  Duplicate VG(s) and PV(s) are not able to be  used  until  they
>        are  made  to  coexist  with the origin VG(s) and PV(s).  vgimportclone
>        renames the VG associated with the  specified  PV(s)  and  changes  the
>        associated VG and PV UUIDs.

Could be. I'll have a look.

> (But if you already used 'dd' to create the problem you should be willing to
> use 'dd' again to revert it).

'dd' of /dev/zero is an option.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to