- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP UX 11.2 ,RAW device (SAN) permission getting re...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:21 PM
04-28-2008 09:21 PM
RX 2660 installed with HPUX 11.2 and Oracle. After ioscan the permission set for RAW devices from the SAN getting reset to default.
for example if permission set to c4t0d0 oracle:dba , after ioscan it will be bin:sys,
any idea how to make it permanent.
thanks,
bestin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:32 PM
04-28-2008 09:32 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
chown oracle:dba /dev/vgrac3/r*
where vgrac3 is the volume group name
r is raw device
ok
thanks and regards
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:35 PM
04-28-2008 09:35 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
dear bestinm
for u clarification
for example if permission set to c4t0d0 oracle:dba?
this is not permission set
u are changing ownership
owner is oracle now and group is dba
thanks and regards
pls revert back
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:37 PM
04-28-2008 09:37 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
go to that directory
for example
/dev/vgrac3
give file permission chmod 660 r*
ok
oracle file permission here u have to give
660
thanks and regards
sajjad
please assign points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:00 PM
04-28-2008 10:00 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
We have done both chown and chmod ,, it will be ok till you do a ioscan . but if u do ioscan the ownership and permission will go, and oracle will not start and gives error permission denied.
we have to set the ownership and permission permanent . so that if u do a ioscan it should disturb the permission and ownership.
tnx
bm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:25 PM
04-28-2008 10:25 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
change the block device files permission to 640 and character(raw) files to 660
and then set the ownership of raw file system to oracle:dba.
Try then and revert back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:51 PM
04-28-2008 10:51 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
what do u mean after ioscan it will be bin:sys
please send me complete output of u volume group i mean where u raw devices ok?
please very sooooooooooooon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:53 PM
04-28-2008 10:53 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
ls -l /dev/vgrac3( i don't u volume group)
please give me out put of u volume group
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:02 PM
04-28-2008 11:02 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
You problem is not due to ioscan. I guess that after "ioscan" you have issued the command "insf -e".
insf, when used with -e option, will reset all owners and permissions of device files.
Some workarounds :
- don't use "-e" option with insf. In this case it will only create new device files and will not modify properties of existing device files.
- instead of using "official" device names, like c4t0d0, use non standard names. "insf -e" will not modify properties of not standard special files. Create the non standard special special file with command "mknod", with same major and minor than original one. For one device, don't forget to create the raw device in /dev/rdsk and the bloc device in /dev/dsk. For exemple for c4t0d0, :
# mknod /dev/dsk/ora_dbs1 b 31 0x040000
# mknod /dev/rdsk/ora_dbs1 c 31 0x040000
# chown oracle:dba /dev/rdsk/ora_dbs1 /dev/dsk/ora_dbs1
- instead of using "insf -e", write a script that will do the "insf -e" and will revert back special files to oracle ownership and the permissions you need.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:16 PM
04-28-2008 11:16 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
I am waiting for u reply
please speed up
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:17 PM
04-28-2008 11:17 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
if u want to see the permission u can use
just ls -l then u volume group
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:27 PM
04-28-2008 11:27 PM
Re: HP UX 11.2 ,RAW device (SAN) permission getting reset after ioscan
I have forgotten to mention "insf -e" bcz after attacing a Tape drive we have done ioscan and insf -e which created the issue, so let me try the option u have mentione.
tnx
bm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:32 PM