[CentOS] RHEL-6 vs. CentOS-5.5 (was: Static assignment of SCSI device names?)

Sun Jan 30 20:37:47 UTC 2011
Les Mikesell <lesmikesell at gmail.com>

On 1/30/11 1:37 PM, Chuck Munro wrote:
> Hello list members,
>
> My adventure into udev rules has taken an interesting turn.  I did
> discover a stupid error in the way I was attempting to assign static
> disk device names on CentOS-5.5, so that's out of the way.
>
> But in the process of exploring, I installed a trial copy of RHEL-6 on
> the new machine to see if anything had changed (since I intend this box
> to run CentOS-6 anyway).
>
> Lots of differences, and it's obvious that RedHat does things a bit
> differently here and there.  My focus has been on figuring out how best
> to solve my udev challenge, and I found that tools like 'scsi_id' and
> udev admin/test commands have changed.  The udev rules themselves seem
> to be the same.

Do any of the names under /dev/disk/* work for your static identifiers?  You 
should be able to use them directly instead of using udev to map them to 
something else, making it more obvious what you are doing.  And are these names 
the same under RHEL6?

-- 
   Les Mikesell
    lesmikesell at gmail.com