Home » RDBMS Server » Server Administration » ASM - Raw devices owner's matter
ASM - Raw devices owner's matter [message #247147] Sun, 24 June 2007 12:57 Go to next message
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 Go to previous messageGo to next message
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 #248743 is a reply to message #247363] Sun, 01 July 2007 08:00 Go to previous messageGo to next message
Dipali Vithalani
Messages: 278
Registered: March 2007
Location: India
Senior Member
Hi,

Thanks Dreamz..
I had done these steps.. Actually i was asking for the other thing. Any ways..
Now i have done asm successfully.

I change the file /var/lock/subsys/local to add the permission related commands, which will be run after all other init scrips..
Now every thing is fine..

[Updated on: Sun, 01 July 2007 08:01]

Report message to a moderator

Re: ASM - Raw devices owner's matter [message #248768 is a reply to message #248743] Sun, 01 July 2007 17:07 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
NICE TO POST SOLUTION Wink
Re: ASM - Raw devices owner's matter [message #248786 is a reply to message #247147] Mon, 02 July 2007 00:23 Go to previous message
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...
Previous Topic: track queries executed by the user/applictions
Next Topic: Confusion with initial extent in Uniform LMT
Goto Forum:
  


Current Time: Mon Dec 02 09:14:19 CST 2024