manjaro-architect
manjaro-architect copied to clipboard
Cannot name Logical Volume "root"
If I try to create a Logical Volume and use "root" as label, the following error occurs:
Error
Invalid Name Entered. The Logical Volume (LV)
name may be alpha-numeric, but may not contain
spaces or be preceeded with a '/'.

As you've spotted correctly in your forum-post currently everything found in the output of lsblk is assumed to be an already used name. Not ideal. We should find a way to get actual group names...
Btw, the error message is already different than in the version you are displaying. It now additionally includes a hint that the group name may already be in use:
Invalid Name Entered. The Volume Group name may be alpha-numeric, but may not contain spaces, start with a '/', or already be in use.
Just realizing that the text is rubbish! Probably a result of changing it midway 😆 I'll change it again... 😉
We could use awk to search only specific fields of the lsblk output instead of the whole lines.