On Mon, Dec 2, 2019, 20:47 Patrick O'Callaghan <pocallag...@gmail.com> wrote:
> I'm in the process of trying to clone an existing drive to a new SSD. > The existing drive was created by a fresh F31 install, which used LVM > for root and swap. I normally turn this off when installing but didn't > this time, either because it's not possible or because I couldn't find > the magic button. > > Anyway, I cloned each partition using dd, but of course that also > cloned the LVM stuff, including the LVM identifiers. Now I'd like to > roll back the clone of root and just format the partition as ext4, plus > an extra swap partition, but gparted won't let me, as it thinks the > cloned LVM stuff is part of an active LVM setup. The specific error is: > > WARNING: Not using device /dev/sdc3 for PV > VKT04D-m4CK-6n7L-vSMI-vohC-W8bt-zPVCxS. > WARNING: PV VKT04D-m4CK-6n7L-vSMI-vohC-W8bt-zPVCxS prefers device > /dev/sda3 because device is used by LV. > Device /dev/sdc3 excluded by a filter. > > Same thing happens if I try to delete the partition. > > How can I blow away LVM on the cloned drive without having to start > again from scratch? > Are you looking for commands like lvremove and pvremove? >
_______________________________________________ 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