I created a thinpool LV using the following command:

lvcreate --type thin-pool -l 100%VG -n lv-thinpool vg-test

Now /dev/mapper has the following entries:


Why do the double hyphens appear, and how can I prevent them?


If either the volume group or the logical volume name contains a hyphen, then LVM doubles the hyphen when a device path file is created.

Use underscores (_) in lieu of hyphens in VG and LV names to avoid double hyphens in the composite device path name.

  • You have the single and double hyphens mixed up. – Tom Hale Oct 30 '16 at 16:58
  • @TomHale - Corrected – JRFerguson Oct 30 '16 at 23:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.