The problem is that we create /dev/$VG/$LV , meaning that $VG name may not clash with any existing devices in /dev..... and hostnames sometimes do.
Hence we started doing "$hostname-vg" as the name. I wonder if we should switch to forexample "vg$hostname" or "vg_$hostname" which i think would be encoded without doubledash.
The problem is that we create /dev/$VG/$LV , meaning that $VG name may not clash with any existing devices in /dev..... and hostnames sometimes do.
Hence we started doing "$hostname-vg" as the name. I wonder if we should switch to forexample "vg$hostname" or "vg_$hostname" which i think would be encoded without doubledash.