You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How To Set Device Name Using UDEV on Oracle Linux 7.X

edited Jun 30, 2022 1:56PM in Linux

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


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

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!