The full case is the following: a) I attach a LUN from a SAN box (iscsi configuration has been done correctly) b) As soon as I restart the open-iscsi daemon, the LUN is attached and its name appears under /dev/mapper is something like the following string: 360060e80104dac0004f349c800000001
Now I don'tt want to use this alphanumeric, I need a decent mnemonic. So, I use the dmsetup command as follows:
# dmsetup rename 360060e80104dac0004f349c800000001 datastore
datastore link to a dm device appears under /dev/mapper. Problem solved, until the next reboot. where the
datastore mnemonic is gone and the above alphanumeric appears again under /dev/mapper.
How do I make this change permanent?