Why do I see double hyphens (dashes) in my Logical volume name ?

Solution Verified - Updated -

Issue

Creating a "VG" named volume-group and "LV" named logical-volume, ends up with with this entry:

# ls -al /dev/mapper/
[...]
lrwxrwxrwx.  1 root root      7 Apr 21 12:16 volume--group-logical--volume

The names contain double hyphens instead of one .

Environment

  • Red Hat Enterprise Linux
  • device-mapper managed Logical volumes

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.