- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Raw devices in LVM
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
06-18-2003 09:14 AM
06-18-2003 09:14 AM
This may be a stupid question..but I'm a little unsure about using raw devices. When I created them both a block and character device were created as per usual. Normally I would just newfs the stand lvolx, but my question is should the database use the lvolx or the rlvolx?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:21 AM
06-18-2003 09:21 AM
Re: Raw devices in LVM
lvolx
No questions are stupid !!!
paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:23 AM
06-18-2003 09:23 AM
Re: Raw devices in LVM
The only stupid question is the one that isn't asked.
I didn't like her, but she had a point.
Even raw devices are associated with a volume group first then a disk within that volume group when you run lvextend.
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
06-18-2003 09:26 AM
06-18-2003 09:26 AM
Re: Raw devices in LVM
"Normally I would just newfs the stand lvolx"
What are you doing ?
stand is a system dir and created at install time!
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:28 AM
06-18-2003 09:28 AM
Re: Raw devices in LVM
I was just unsure as I got it in my head that the rlvolx was the raw device for a logical volume and thought maybe I should be using that, as lvolx would be for file systems only.
Thats just me getting mixed up, as the database will still read/write files in blocks and thus should use the lvolx block device not the rlvolx character device. I assume my database will dictate the block size used in the logical volume and not LVM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:29 AM
06-18-2003 09:29 AM
Re: Raw devices in LVM
You should use the character device (lvolX)
If you ask question it's not stupid it's
because you want to know, it's very smart!
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:30 AM
06-18-2003 09:30 AM
Re: Raw devices in LVM
That was a typo [standard], I may have mixed my lvols and rlvols up for a moment, but I'm not about to start newfsing /stand!!
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:31 AM
06-18-2003 09:31 AM
Re: Raw devices in LVM
rlvolx is used for certain commands, like:
diskinfo
newfs
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:32 AM
06-18-2003 09:32 AM
Re: Raw devices in LVM
used to store file system or swap space data.
Device files, also known as special files, represent the PHYSICAL device
(the actual disk drive space, in the case of a logical volume). There are
two types of device files: block or character (also known as raw). The block device is the used by hpux to create a file system. The raw device can then be used by the
application as needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 09:35 AM
06-18-2003 09:35 AM
Re: Raw devices in LVM
Working late?
Where are U based?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 10:10 AM
06-18-2003 10:10 AM
Re: Raw devices in LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2003 10:18 AM
06-18-2003 10:18 AM
Re: Raw devices in LVM
Using indirection like this will make it very easy to move data to another device (block or character) or even to a fully cooked file with absolutely no changes to the database itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:12 AM
06-19-2003 02:12 AM
Re: Raw devices in LVM
Thats very interesting and a little different from what other people have said.
We are going to use async/io and do not want to use the buffer cache - we want to use the raw volumes for our database accesses through aio.
Does the block device always use the buffer cache then?
Do you think we need the character or raw device (rlvolx)?
Cheers.
Paula - yes I was working late up here in sunny Liverpool..but I went home before I got your reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:34 AM
06-19-2003 02:34 AM
Re: Raw devices in LVM
Alan Shearer? Liverpool?
You wouldn't be in the Anfield area would you?
I understand that Beckham wants to become a SysAdmin too :)
No points please
Mike "Giggs is God" Fisher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:42 AM
06-19-2003 02:42 AM
Re: Raw devices in LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 02:54 AM
06-19-2003 02:54 AM
Re: Raw devices in LVM
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 03:32 AM
06-19-2003 03:32 AM
Re: Raw devices in LVM
Am I going bonkers?
Could've sworn he played for the 'pool at some point
Wasn't aware he was from the 'toon
Alan
You're right
PN is fit only for the knackers yard
If we sold him to a French team they'd eat him
Mike "PhD in International Diplomacy" Fisher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 03:32 AM
06-19-2003 03:32 AM
Re: Raw devices in LVM
Am I going bonkers?
Could've sworn he played for the 'pool at some point
Wasn't aware he was from the 'toon
Alan
You're right
PN is fit only for the knackers yard
If we sold him to a French team they'd eat him
Mike "PhD in International Diplomacy" Fisher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 06:23 AM
06-19-2003 06:23 AM
Re: Raw devices in LVM
If your database wants to access the information on the raw lvms you want to access through the "rlvol". I'm taking a guess that you are talking about Informix. If this is the case Informix prefers to control its own I/O to the tabels below. We are an Informix shop and A. Clays Stephensons answer is pretty much right on the mark.
We have symbolic links established to the rlvol that Informix follows to access the db.
ie..
sitting in
/informix/PRD/sapdata/physdev20
there is a link
data1 -> /dev/vg03/rPD32lvol1
which hits
crw-rw---- 1 informix informix 64 0x030013 Aug 4 2001 rPD32lvol01
BTW the PD is just the way we named the drives
so we could know they were PhysicalDisk32 etc..
Don't know if this helps or muddies the water.