RE: udev rules error

From: Chitale, Hemant K <Hemant-K.Chitale_at_sc.com>
Date: Fri, 1 Aug 2014 14:30:50 +0800
Message-ID: <0BDF2A25A09ADD40908745EEFC0A0FB60217E827_at_HKJUMXMB103B.zone1.scb.net>



There is just one single line about udev which goes :

“You can also set udev rules, in addition to or instead of Oracle ASMFD and Oracle ASMLIB, for device persistence.”  

Hemant K Chitale    

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Radoulov, Dimitre Sent: Friday, August 01, 2014 12:20 PM
Cc: ORACLE-L
Subject: Re: udev rules error  

>> I know it is a bit of religious war betwen udev and asmlib

And now we could add AFD to the list :-)

http://docs.oracle.com/database/121/OSTMG/asminst.htm#OSTMG95910

Dimitre

Il 01/ago/2014 04:50 "Andrew Kerber" <andrew.kerber_at_gmail.com> ha scritto:

So, I have managed to get OEL 7 installed, but now for an additional complication I have decided to teach myself something about udev rules instead of using ASMLIB. I know it is a bit of religious war betwen udev and asmlib, but anyway, here is my line from 99-oracle-asmdevices.rules:

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"  

The error message out of 'udevadm test /block/sdb/sdb1'

is 'unknown key 'BUS' in /etc/udev/rules.d/99-oracle-asmdevices.rules:1 invalid rule '/etc/udev/rules.d/99-oracle-asmdevices.rules:1'

Any ideas from the linux gurus?  

-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.' 


This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at https://www.sc.com/en/incorporation-details.html.
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 01 2014 - 08:30:50 CEST

Original text of this message