How do you stop partition names from changing after reboot
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
After reboot (Now Oracle can not see the device). lsdasd
0.0.0153 active dasdk 94:44 ECKD 4096 7042MB 1802880 cat /etc/raw
You can not use the device uuid because there is not a uuid in /dev/disk/by-uuid for the device
lrwxrwxrwx 1 root root 12 May 13 12:16 dd5dcede-3cad-46c6-85aa-c834b6af0931 -> ../../dasda1