On 6/3/23 21:02, Mike Wright wrote:
On 6/3/23 19:42, Eyal Lebedinsky wrote:
I am on f38, but I had this problem before with f36.

I attach an external USB disk that has CentOS.
I see that beyond the basic device and partitions, three other devices /dev/dm-{0,1,2} show up. Without doing anything else I want to remove the disk safely. I could not do it, see below.

The question at the end is: how do I cleanly remove the external USB disk. It is an SSD in a USB3.0 caddy.

Clarification:

Note: the VG/LVs still exist and can be remounted by referring to them with their physical names: /dev/cl/{root,home} or added to swap with swapon /dev/cl/swap.

I need to clarify the dual meaning of "physical" in the above paragraph.

When a logical volume is created there is an entry created for it in /dev/mapper of the form VGName--LVName, in effect a pseudo physical device. When you need to refer to the LV using non-lvm tools you have to use the full path: /dev/VG/LV. When using the lvm tools you need only refer to its LVM style name: VG/LV.
_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to