GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvol Vs rlvol for Oralce raw device setup
Operating System - HP-UX
1855278
Members
6981
Online
104109
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-18-2004 01:19 AM
03-18-2004 01:19 AM
Hi forumers,
When we create the logical volume, say "lvol" by lvcreate, it creates two special files, /dev/vg##/lvol and /dev/vg##/rlvol.
We are provisioning an Oracle environment using raw devices.
Question: what will happen, in practice if someone defines the "lvol" instead of the "rlovol" as the Oracle datafile? I know Oracle suggests "rlovol" but I think both would work.
Any ideas?
Thanks,
Filipe.
When we create the logical volume, say "lvol" by lvcreate, it creates two special files, /dev/vg##/lvol and /dev/vg##/rlvol.
We are provisioning an Oracle environment using raw devices.
Question: what will happen, in practice if someone defines the "lvol" instead of the "rlovol" as the Oracle datafile? I know Oracle suggests "rlovol" but I think both would work.
Any ideas?
Thanks,
Filipe.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 01:23 AM
03-18-2004 01:23 AM
Re: lvol Vs rlvol for Oralce raw device setup
If you use lvol then you will not be using a raw device but a cooked device. In other words, there will be buffering and block writes and reads and stuff. I imagine if Oracle is expecting to handle all the writing and reading itself through a raw character device then I would think that using lvol instead of rlvol will not work and not work rather badly!
I would be surprised if Oracle allows you to use the lvol device.
I would be surprised if Oracle allows you to use the lvol device.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 06:40 PM
03-18-2004 06:40 PM
Re: lvol Vs rlvol for Oralce raw device setup
For Oracle RAW devices, you should use the rlvols, because that are the real raw, character based device files.
The lvols are block based device files to create filesystems on it. It's a different type of device file and the O.S. allows different type of use of these device files.
Remember to change the rlvol ownership to the user running the oracle database background processes, or at least, be sure thet oracle has read/write access to these rlvols.
The lvols are block based device files to create filesystems on it. It's a different type of device file and the O.S. allows different type of use of these device files.
Remember to change the rlvol ownership to the user running the oracle database background processes, or at least, be sure thet oracle has read/write access to these rlvols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 06:55 PM
03-18-2004 06:55 PM
Solution
If you do not use the Raw LVOL, then as was mentioned, the OS will queue and buffer the I/O requests as for a filesystem. This could cause data corruption after a crash, as the I/O would effectively be bypassing the VxFS intent log, but would still be sitting in disk I/O cache.
The Raw LVOL allows for the use of ASYNC drivers for the immediate writing of data, and therefore an ACK from a write operation means that the disk track/block has been updated. If you are going to use Raw LVOLs you therefore MUST activate the ASYNCDSK driver in the kernel. This includes creating a special file called /dev/async:
mknod /dev/async c 101 0x000000
(remember to give the DBMS user access to use this file)
Also set the MAX_ASYNC_PORTS to match the number of DBMS background server processes that will be performing write actions (default is 50).
The Raw LVOL allows for the use of ASYNC drivers for the immediate writing of data, and therefore an ACK from a write operation means that the disk track/block has been updated. If you are going to use Raw LVOLs you therefore MUST activate the ASYNCDSK driver in the kernel. This includes creating a special file called /dev/async:
mknod /dev/async c 101 0x000000
(remember to give the DBMS user access to use this file)
Also set the MAX_ASYNC_PORTS to match the number of DBMS background server processes that will be performing write actions (default is 50).
Trying is the first step to failure - Homer Simpson
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP