- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Working with Oracle ASM disks mixed with VxFS
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
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
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
тАО08-26-2009 07:37 AM
тАО08-26-2009 07:37 AM
It seems that HP-UX will not automatically relaize if a disk is in use by ASM. Also, Oracle will not realize if a disk is in use by HP-UX, even with a mounted filesystem on it.
All feedback is appreciated!
Solved! Go to Solution.
- Tags:
- diskowner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 08:49 AM
тАО08-26-2009 08:49 AM
Re: Working with Oracle ASM disks mixed with VxFS
soft link the asm disks in a way that will make their use obvious.
That is what I used to do with raw disk areas. Works the same for ASM
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 09:00 AM
тАО08-26-2009 09:00 AM
Re: Working with Oracle ASM disks mixed with VxFS
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 09:36 AM
тАО08-26-2009 09:36 AM
SolutionWhat I *really* *really* hate about ASM is it gets DBAs involved in stuff they shouldn't be involved in - Storage admin is not a DBA task whatever they/oracle think - unfortunately Oracle sees the whole world as an Oracle database...
I wouldn't let ASM anywhere near the contents of /dev/rdsk or /dev/rdisk... If I want a disk to be used for ASM, then I'll identify its major and minor number using
ll /dev/rdisk/disk10
or whatever, and then create a new DSF specifically for Oracle ASM using mknod with the major/minor numbers I identiified:
mkdir /dev/asm
mknod /dev/asm/asmdisk1 c 23 0x000005
chown oracle:dba /dev/asm/asmdisk1
chmod 640 /dev/asm/asmdisk1
or whatever...
Then tell the DBAs to set the Oracle ASM parameter ASM_DISKSTRING to /dev/asm
This keeps ASM away from my disks, and has the added value of not resetting the ownership on the disk to bin:sys or root:sys every time insf is run...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 09:49 AM
тАО08-26-2009 09:49 AM
Re: Working with Oracle ASM disks mixed with VxFS
#od -c /dev/rdsk/c5t1d2| head -10
and check for "ORCLDISK" pattern.
Actually pvcreate command recognizes the ASM disk, check the man page of pvcreate.:
"Furthermore, when the -f option is not specified, the operation is denied if pv_path already belongs to another LVM volume group, or the pv_path refers to a disk device under the control of the VERITAS or Oracle ASM Volume Manager."
For easy administration you can create seperate directory for device files for ASM, and give easy names to them.
#mkdir /dev/oracle
#mknod /dev/oracle/raw_dbname_asm1_120g c 22 0x00001e (major/minor numbers belong to original disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 10:41 AM
тАО08-26-2009 10:41 AM
Re: Working with Oracle ASM disks mixed with VxFS
In my shop, I use a Volume Manager between ASM and my OS. I use VxVM as that "iterim" layer. That keeps tracking hugely easier.
There rules however. Carve out volumes using whole LUNs - do not stripe of concat.
for example:
/dev/vx/rdsk/asm_sapdg/asvmvol01
where asmvol01 is contained on a single EVA, XP, EMC or whatever disk.
Under Oracle -- the DBA will simply have their disksstring set to:
/dev/vx/rdsk/asm_sapdg/asm*
I beleieve the same can be done with LVM even as your volume manager.
I know there'll be others who will say -- the Volume Manager layer is an unnecessary overhead. So far though we're not "feeling" it and is GOOD to have the peace back in our ecosystems.
Since you obviously will have a tall time convincing to introduce a volume manager layer between HP-UX and Oracle, I suggest then you write a script (there should lots of examples out there) that will summarize what disks belong to what ASM diskgroup... it should be relatively easy.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2011 01:00 PM
тАО06-09-2011 01:00 PM
Re: Working with Oracle ASM disks mixed with VxFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2011 01:10 PM
тАО06-09-2011 01:10 PM
Re: Working with Oracle ASM disks mixed with VxFS
We did find a gotcha when setting up separate DSFs for ASM. Ignite does not support them, so they do not come back the way you want. It is something you can script around, but that is just another thing to do. Sorry, but I cannot recall the details of what it does.
Thank you all for your input. Sorry I did not assign points a LONG time ago.