Skip to Content

Raw Revices in OpenSuse 12.1 and the udev-mechanism

Every time Suse comes with a new version of its operating system we must carefully have a look on how they handle raw devices resp. logical volumes. This week i  upgraded from Suse 11.4 to Suse 12.1, IDS remains unchanged on version 11.70. There is no substantial change in handling raw-devices by Suse 12.1, but it is very important to use the correct udev-file. otherwise you can get a surprise - may be that mouse and keyboard does not work....

So what do we need in order to install correct working raw-devices?

First, go to directory /lib/udev/rules.d. Then edit the file 50-udev-default.rules and insert the following row:  

            KERNEL=="dm-[0-9]*", GROUP="informix", OWNER="informix", MODE="0660"

Save the file and change the owner and group of the logical volumes:

           chown informix:informix /dev/dm*

After this owner and group of the raw-devices will NOT change, even if you reboot your system.That's all.

 

P.S. Please do not copy the old 50-udev-default.rules- File from your 11.4-System (or older) because its not compatible with the new version.

Copyrightblog |