I'm in a funny situation where I have a disc hanging about after the VM has been removed. The disc exists because I had 2 copies of the VM, one running the other on standby. The standby was removed.
When I try to remove the errant disc the message reported is
Now the errant disc had the same partition and filesystem UUIDs so there's a reason there might be confusion. I've changed all the UUIDs, GUIDs etc of the errant disc so I can see no commonality anymore. I've shutdown the working clone but still can't remove the unwanted disc.
I'm not sure it's interesting but blockid reports this where 503 is an "unknown guest":
What might I have to do to remove this disc?
Thanks
When I try to remove the errant disc the message reported is
Logical volume local-nvme/vm-503-disk-1 is used by another device
and I can find nothing to to tell me what other device that might be. I'm guessing it's the clone but I can't see any evidence. Now the errant disc had the same partition and filesystem UUIDs so there's a reason there might be confusion. I've changed all the UUIDs, GUIDs etc of the errant disc so I can see no commonality anymore. I've shutdown the working clone but still can't remove the unwanted disc.
I'm not sure it's interesting but blockid reports this where 503 is an "unknown guest":
Code:
/dev/mapper/local--nvme-vm--503--disk--1p1: PARTLABEL="BIOS boot partition" PARTUUID="522314ee-ff43-4716-b5f5-fd325ade77fb"
/dev/mapper/local--nvme-vm--503--disk--1p2: SEC_TYPE="msdos" UUID="EBD4-FFBA" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI-System" PARTUUID="0299c47a-68c2-4388-9178-70ae8d858576"
/dev/mapper/local--nvme-vm--503--disk--1p3: LABEL="archroot" UUID="5b9ef62e-6647-44f7-9312-b79c1dcc8049" UUID_SUB="450ac9fe-7cfc-49ac-8038-d22e2b537515" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="Linux filesystem" PARTUUID="f0362a50-848d-414e-8eee-c331dd8f503e"
/dev/mapper/local--nvme-vm--503--disk--1: PTUUID="2e9ee93f-e17d-4c65-901d-e549b93ab139" PTTYPE="gpt"
and for the working clone:
/dev/mapper/local--nvme-vm--530--disk--1p1: PARTLABEL="BIOS boot partition" PARTUUID="8ac02d1c-55d5-49d3-a111-4ef0a605288c"
/dev/mapper/local--nvme-vm--530--disk--1p2: SEC_TYPE="msdos" UUID="6175-A842" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI-System" PARTUUID="51390813-aa3f-4d67-b388-890e6019ac3f"
/dev/mapper/local--nvme-vm--530--disk--1p3: LABEL="archroot" UUID="8dcfda61-cdd3-432b-a8a6-98c334b63783" UUID_SUB="450ac9fe-7cfc-49ac-8038-d22e2b537515" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="Linux filesystem" PARTUUID="44370db4-c951-446f-8dc9-537de5e1ffd0"
/dev/mapper/local--nvme-vm--530--disk--1: PTUUID="c5cf109d-d8bd-4577-84a0-06c4c36c0147" PTTYPE="gpt"
What might I have to do to remove this disc?
Thanks