ASM - Raw devices owner's matter [message #247147] |
Sun, 24 June 2007 12:57 |
Dipali Vithalani
Messages: 278 Registered: March 2007 Location: India
|
Senior Member |
|
|
Hello Friendz
Oracle 10.0.3.0
RHEL 4.0
I have configured raw devices and then use then in ASM diskgroup.
The owner of these raw device was root. Group was Disk
I have changed the owner to Oracle user.
But whenever i reboot the system, the owner aging changed to Root and the group to Disk. Because of this, Asm is not able to mount the diskgroup (because , no rights on those raw disks)
So friends, i don't know how should i solve this matter..
Is that any file where i have to make entry?
Please guide me if you know...
Thanks..
Dipali
|
|
|
Re: ASM - Raw devices owner's matter [message #247363 is a reply to message #247147] |
Mon, 25 June 2007 12:19 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Try it.
Edit the /etc/sysconfig/rawdevices file, adding the following lines.
/dev/raw/raw1 /dev/sdb1
/dev/raw/raw2 /dev/sdc1
/dev/raw/raw3 /dev/sdd1
Restart the rawdevices service using the following command.
service rawdevices restart
Run the following commands and add them the /etc/rc.local file.
chown oracle:oinstall /dev/raw/raw1
chown oracle:oinstall /dev/raw/raw2
chown oracle:oinstall /dev/raw/raw3
chmod 600 /dev/raw/raw1
chmod 600 /dev/raw/raw2
chmod 600 /dev/raw/raw3
The ASM raw device disks are now configured.
[Updated on: Mon, 25 June 2007 12:19] Report message to a moderator
|
|
|
|
|
Re: ASM - Raw devices owner's matter [message #248786 is a reply to message #247147] |
Mon, 02 July 2007 00:23 |
Dipali Vithalani
Messages: 278 Registered: March 2007 Location: India
|
Senior Member |
|
|
Actually , i tried a lot for solving many issues regarding asm.
Spent lots of days...
So i put the solution here, so that it can be helpfule other fellows..
It's my pleasure to share my experiance with other friends, because whenever possible, i get help from them...
|
|
|