On RHEL 6 or 7, in a guest OS in the VMWare environment, not using multipaths, 
is there a danger to specify the udev rule as follows?

KERNEL=="sdb1", OWNER="oracle", GROUP="dba",...

Currently we use this rule:

KERNEL=="sd?1", SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id -g -u -d 
/dev/$parent", RESULT=="<UUID returned by scsi_id>", OWNER="oracle", 
GROUP="dba",...

VM may be relevant here. You have to set disk.enableUUID=true in vSphere to get 
the UUID.

The concern is that the label sdb for this specific disk may change under 
certain conditions, maybe after inserting a new hard disk which happens to be 
scanned earlier than this one on next reboot. I think that would be true if 
this was not a VM. How about on a VM? Thanks.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-requ...@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to