Why do I see double hyphens (dashes) in my Logical volume name ?
Issue
-
Creating a "VG" named
volume-group
and "LV" namedlogical-volume
, ends up with with this entry under/dev/mapper
and/dev/disk/by-id
asvolume--group
andlogical--volume
(double dash):# ls -al /dev/mapper/ [...] lrwxrwxrwx. 1 root root 7 Apr 21 12:16 volume--group-logical--volume -> ../dm-2 # ls -al /dev/disk/by-id/ [...] lrwxrwxrwx. 1 root root 7 Apr 21 12:16 dm-name-volume--group-logical--volume -> ../../dm-2
-
The names contain double hyphens instead of one as expected.
- The lvm names contain double dashes instead of one as expected.
- Is the
-
character a dash or a hyphen?
Environment
- Red Hat Enterprise Linux
- device-mapper managed Logical volumes
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.