From: Corey Carlson (corey.carlson_at_searchamerica.com)
Date: Fri Jun 01 2007 - 18:38:43 CEST
Date: Fri, 1 Jun 2007 11:38:43 -0500 Message-ID: <32898ACFFFB3ED4BB809A37F1928CB3001BB38D3@samail.msp.searchamerica.com> From: "Corey Carlson" <corey.carlson@searchamerica.com> Subject: RE: [suse-sles-e] Oracle on raw devices in SLES9
> I am installing Oracle 10gR2 on SLES9 SP3 raw volumes which
> is made by Linux LVM. As per the oracle documentation, all
> the raw devices should be owned by oracle user, for that we
> need to change the ownership on all raw devices where your
> installing database to oracle user.
>
> The problem is , after you create a mapping file in /etc/raw,
> and when you start the raw service (#rcraw start), the
> permission again set back to root.
>
> I have tried to solve this problem by modifying
> /etc/init.d/raw file , but still , always , when you start
> the raw services, the ownership on raw devices again go back to root.
>
> Anyone has any solution for this ?
>
While I don't have any experience with oracle, I have done the same
thing for sybase.
in /etc/udev/udev.rules you can replace
# raw devices
KERNEL="raw[0-9]*", NAME="raw/%k"
with
KERNEL="raw[0-9]*", NAME="raw/%k", OWNER="oracaluser",
GROUP="whatevergroup"
The next time the /dev/raw/rawXX devices are created they should have
the owner and group you have chosen. You can adjust the "raw[0-9]*" if
you need to only match specific raw devices.
-Corey-
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Fri Jun 01 2007 - 20:42:29 CEST