Re: udev rules error

From: Hans Forbrich <fuzzy.graybeard_at_gmail.com>
Date: Fri, 01 Aug 2014 09:45:47 -0600
Message-ID: <53DBB62B.7050900_at_gmail.com>



You are in undiscovered - and unsupported - country.

I try to stay far away from combinations like you are trying to go toward. I personally have found that there are enough challenges in keeping supported environments going.

Documentation, and Google, are your friends. Perhaps some other listers are willing to jump in ...

/Hans

On 01/08/2014 8:46 AM, Andrew Kerber wrote:
> Hans, you nailed it. That fixed the error. The /dev/sd?1 devices are
> now showing up with the proper owner. However, its not putting in the
> name, the devices only show up /dev/sd...
>
> Any further ideas?
>
> udev rules line:
>
> KERNEL=="sd?1", SUBSYSTEM="block", PROGRAM=="/sbin/scsi_id -g -u -d
> /dev/$parent",
> RESULT=="14f504e46494c45524856447a376e2d7871364a2d654b4272",
> NAME="asm-disk1", OWNER="oracle", GROUP="dba", MODE="0660"
>
>
> [root_at_oel764 rules.d]# ls -la /dev/asm*
> ls: cannot access /dev/asm*: No such file or directory
>
> [root_at_oel764 rules.d]# ls -la /dev/sd?1
> brw-rw---- 1 root disk 8, 1 Aug 1 09:30 /dev/sda1
> brw-rw---- 1 oracle dba 8, 17 Aug 1 09:30 /dev/sdb1
> brw-rw---- 1 oracle dba 8, 33 Aug 1 09:30 /dev/sdc1
> brw-rw---- 1 oracle dba 8, 49 Aug 1 09:30 /dev/sdd1
> brw-rw---- 1 oracle dba 8, 65 Aug 1 09:30 /dev/sde1
> brw-rw---- 1 oracle dba 8, 81 Aug 1 09:30 /dev/sdf1
> brw-rw---- 1 oracle dba 8, 97 Aug 1 09:30 /dev/sdg1
> brw-rw---- 1 oracle dba 8, 113 Aug 1 09:30 /dev/sdh1
> brw-rw---- 1 oracle dba 8, 129 Aug 1 09:30 /dev/sdi1
> brw-rw---- 1 oracle dba 8, 145 Aug 1 09:30 /dev/sdj1
> brw-rw---- 1 oracle dba 8, 161 Aug 1 09:30 /dev/sdk1
> brw-rw---- 1 oracle dba 8, 177 Aug 1 09:30 /dev/sdl1
> brw-rw---- 1 oracle dba 8, 193 Aug 1 09:30 /dev/sdm1
>
>
>
>
>
> On Thu, Jul 31, 2014 at 10:49 PM, Hans Forbrich
> <fuzzy.graybeard_at_gmail.com <mailto:fuzzy.graybeard_at_gmail.com>> wrote:
>
> On 31/07/2014 8:48 PM, Andrew Kerber wrote:
>> KERNEL=="sd?1", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d
>> /dev/$parent",
>> RESULT=="14f504e46494c45524856447a376e2d7871364a2d654b4272",
>> NAME="asm-disk1", OWNER="oracle", GROUP="dba", MODE="0660"
> You appear to be using OLD Udev rules. (We should ask Tim to
> update his Oracle-Base UDev pages, right?)
>
> BUS has been 'replaced' by SubSystem (from what I can tell, this
> happened in RH6.x) - the quotes to mean these are not exactly
> equivalent and you need to look carefully through the Man page to
> determine how to build the new rules.
>
> Adventuring into the unknown without a machete is always a
> challenge. Good luck.
>
> /Hans
>
>
>
>
> --
> Andrew W. Kerber
>
> 'If at first you dont succeed, dont take up skydiving.'

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 01 2014 - 17:45:47 CEST

Original text of this message