- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RAW device
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
05-22-2005 11:14 PM
05-22-2005 11:14 PM
RAW device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 11:21 PM
05-22-2005 11:21 PM
Re: RAW device
Raw device is the raw partition on the disk. System communicate with this partition using character device which is faster than block device.
Raw devices are normally used for configuring SWAP Space and Database files on the Systems.
When you format the partition or create PV,LV and then create FileSystem on the top of it then it becomes a block device and follow the filesystem architecture.
Due to FS overhead it becomes bit slower as compared to RAW device.
For more details you may visit http://docs.hp.com
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 11:27 PM
05-22-2005 11:27 PM
Re: RAW device
When a process sends requests to a dsk type special file, it is talking to high level os routines. A read or write goes to or from the buffer cache. If needed, the os will read new data into the buffer cache. There are no alignment restrictions. You can read or write any collection of bytes anywhere on the device. The os will send aligned requests to the driver, but this is hidden from the process. I/O requests that arise from accesses to a dsk type special file enter the driver via its strategy entry point, not the read and write entry points. The driver may resequence the requests to optimize overall performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 11:30 PM
05-22-2005 11:30 PM
Re: RAW device
If you are using raw device file for data transfer, ur data will be directly written to the disk device. It won't use buffer cache for data transfer, while the block device files use buffer cache for data transfer. The data transfer will be byte by byte in raw, while the block device file is block by block....
If the power fails while the data transfer is taking place, in the case of block device the data that are in buffer(the data that are modified) will be lost.. But, in case of raw device, there is no loss of modified data since it's not using buffer for writing.. That's why most of the databases are using raw device file for data manipulation...
Hope this will give you an idea about raw devices...
Regards,
Saravanan M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 11:35 PM
05-22-2005 11:35 PM
Re: RAW device
However I have since found at that LVM volumes can be mounted with caching turned off (one of the -o options I believe).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 11:40 PM
05-22-2005 11:40 PM
Re: RAW device
All low level operations on disk devices has to be done using the raw device files. for example, we've to use raw devices for creating PV and filesystems. For Ex:
To Initialize PV
#pvcreate /dev/rdsk/c0t2d0
To create a filesystem on lvol1 of vg02
#newfs -F vxfs /dev/vg02/rlovl1
Regards,
Saravanan M