How To Set Device Name Using UDEV on Oracle Linux 7.X
Custom disk names can be used to make it easier to identify specific storage and how it is being used, such as for ASM storage. A udev rule needs to be created to set a custom name for a disk.
In order to create custom name (/dev/DISKNAME) for /dev/sdb set udev rules as below:
1. Find UUID of device
# /usr/lib/udev/scsi_id -g -u /dev/sdb
1IET_00020002
Save this UUID, as this ID will be used later.
2. Create new udev rule
Create new udev rule file in appropriate location as below:
# vi /etc/udev/rules.d/99-my-asmdevices.rules
Tagged:
0