Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

/dev/async owner and minor number reset!

SOLVED
Go to solution

/dev/async owner and minor number reset!

Hi all,

we have created /dev/async with the following commands, but it is being reset back to owner bin:bin minor number 0:

# rm /dev/async
# /etc/mknod /dev/async c 101 4
# ls -ld /dev/async
crw-r--r-- 1 root sys 101 0x000004 Oct 22 16:40 /dev/async
# /usr/bin/getprivgrp sybase
sybase: RTPRIO MLOCK CHOWN
# chmod 0660 /dev/async
# chown sybase:sybase /dev/async
# ls -ld /dev/async
crw-rw---- 1 sybase sybase 101 0x000004 Oct 22 16:40 /dev/async

I read the following thread which concludes that insf -e is resetting /dev/async. So I tried running insf -e on an HP-UX 11.00 server and it did not reset /dev/async attributes. The servers were we have the issue are HP-UX 11.23. I cannot test them at the moment.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1256668737693+28353475&threadId=1140105

I do not see anything in my environment that should reset this, not based on the creation time of the new /dev/async. Is this resetting of /dev/async only happening in with insf -e in HP-UX 11.23?
4 REPLIES
Julián Aimar
Frequent Advisor

Re: /dev/async owner and minor number reset!

Julián Aimar
Frequent Advisor

Re: /dev/async owner and minor number reset!

Tim Nelson
Honored Contributor
Solution

Re: /dev/async owner and minor number reset!

Do the same thing on HPUX as on Linux installations.

Create a boot script that corrects the ownership and perms during reboot.

e.g.

cp /sbin/init.d/template /sbin/init.d/ora_async

edit ora_asycn with chmod and chown commands in the "start" section

cd /sbin/rc1.d
ln -s ../init.d/ora_asyc S900ora_async

Eric Antunes
Honored Contributor

Re: /dev/async owner and minor number reset!

Hi James,

Do you have raw devices or file systems?

Best Regards,

Eric Antunes
Each and every day is a good day to learn.