Unfortunately since dmraid offers _at least_ two different ways of creating partition names, there is never a guarantee that the dmraid default will match the device names chosen for use.
For example:
A) Persons wanting the default behaviour might use:
sudo dmraid -ay -v
to create partition names such as /dev/mapper/isw_efjbbijhh_Vol0p1 (new default)
or /dev/mapper/isw_efjbbijhh_Vol01 (old default)
B) Persons wanting to maintain backward compatibility might use:
sudo dmraid -dmraid -ay -P "" -v
to create partition names such as /dev/mapper/isw_efjbbijhh_Vol01
C) Persons wishing to be able to easily parse partition names might use a unique character, such as 'Z':
sudo dmraid -dmraid -ay -P "Z" -v
to create partition names such as /dev/mapper/isw_efjbbijhh_Vol0Z1
In my mind the whole problem of partition name duplicates arises because dmraid does not follow the normal convention for naming partition, and now offers more than one way to choose partition names.
Unfortunately since dmraid offers _at least_ two different ways of creating partition names, there is never a guarantee that the dmraid default will match the device names chosen for use.
For example:
A) Persons wanting the default behaviour might use:
sudo dmraid -ay -v
to create partition names such as /dev/mapper/ isw_efjbbijhh_ Vol0p1 (new default) isw_efjbbijhh_ Vol01 (old default)
or /dev/mapper/
B) Persons wanting to maintain backward compatibility might use:
sudo dmraid -dmraid -ay -P "" -v
to create partition names such as /dev/mapper/ isw_efjbbijhh_ Vol01
C) Persons wishing to be able to easily parse partition names might use a unique character, such as 'Z':
sudo dmraid -dmraid -ay -P "Z" -v
to create partition names such as /dev/mapper/ isw_efjbbijhh_ Vol0Z1
In my mind the whole problem of partition name duplicates arises because dmraid does not follow the normal convention for naming partition, and now offers more than one way to choose partition names.