How do you stop partition names from changing after reboot

Hi,

I am configuring CKD devices as raw devices for oracle db’s on SLES 11SP2 (IBM system Z). It works great but sometimes something very irritating happens. After reboot the partitions names can either stay the same or some of them may change. Ths cauases the Oracle db’s not to start. I must then go in manually and change the raw devices to the new partition names.

Before reboot
lsdasd
0.0.0153 active dasdl 94:44 ECKD 4096 7042MB 1802880
cat /etc/raw
raw1:dasdl1

After reboot (Now Oracle can not see the device).
lsdasd
0.0.0153 active dasdk 94:44 ECKD 4096 7042MB 1802880
cat /etc/raw
raw1:dasdl1

You can not use the device uuid because there is not a uuid in /dev/disk/by-uuid for the device

l /dev/disk/by-uuid
lrwxrwxrwx 1 root root 12 May 13 12:16 dd5dcede-3cad-46c6-85aa-c834b6af0931 → …/…/dasda1

Any ideas how to bypass this problem?

Regards,
Kobus

Got an answer from the clever guys at SUSE Tech support (Good service :)) Use disk by path. Tested it, works like a charm :slight_smile: