Welcome to Halil Demirezen's Tips Page
Categories

LinuxNetworkComputer VisionDatabasesProgrammingvmware


RAW: Adding raw disks to Linux System [Centos 6] 2019-07-09 11:38:20

Edit /etc/udev/rules.d/60-raw.rules file.

Map sda1 to raw1
Map sda2 to raw2

ACTION=="add", KERNEL=="sda1", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sda2", RUN+="/bin/raw /dev/raw/raw2 %N"

KERNEL=="raw[1-2]", MODE="0660", GROUP="asmadmin", OWNER="grid"


After saving, run

udevadm trigger