I have 2 identical Dell R720 servers running identical Oracle Enterprise Linux
(RHEL
)6.4.
Both servers (supposedly) configured in exactly the same way. However, one of the servers is behaving differently.
Every other reboot its local HDD name(and related partitions) flip from /dev/sda
to /dev/sdj
.
This is problematic because this server is configured with multipathd
, and if this flip happens this config does not match other server and Oracle DB(or its clusterware) complains that nodes are not configured identically.
Why does one server has a consistent device names while the other server keeps flipping back and forth?
How can I make local hdd to consistently be /dev/sda
?
edit:
I created a rules file in /etc/udev/rules.d
with the following rule, but it doesn't seem to be working
KERNEL=="sd*" , PROGRAM="scsi_id --page=0x83 -–whitelisted --device=/dev/%k",RESULT=="36b8ca3a0e58a3f00195c25c8117a6822", NAME="sda"
KERNEL=="sd*", PROGRAM="scsi_id --page=0x83 -–whitelisted --device=/dev/%k", RESULT=="36b8ca3a0e58a3f00195c25c8117a6822", NAME="foo%n"