- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Raw device block size
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
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
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-04-2002 09:27 AM
тАО06-04-2002 09:27 AM
We are using Oracle OPS, SG/OPS and an EMC symm device for shared storage. We have used logical volumes manage the raw devices.
My question is, how can we tell what the header block size of the raw device is?
The dba wants to copy the raw device files with the dd command, and needs to know what to offset the copy by.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 09:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 09:56 AM
тАО06-04-2002 09:56 AM
Re: Raw device block size
In HP Unix the raw device doesnt ahve any block size n for reading or writing it is just a area and the bs will be either assumed the default if not specified or inherit the one which has been issued in the command , ther are definaltey performance related issues in case of large files and large blcok sizes visa vis the smaller ones.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 11:46 PM
тАО06-04-2002 11:46 PM
Re: Raw device block size
Redo log block sizes and IOs are more difficult to determine.
To find the block size of your redo logs:
sqlplus /nolog
connect / as sysdba
select distinct lebsz "LGWR block size (Bytes)"
from X$KCCLE;
To find the IO sizes of the LGWR:
select (a.value*(select lebsz from X$KCCLE where rownum < 2))/b.value as "LGWR Average IO Size (Bytes)"
from v$sysstat a, v$sysstat b
where a.name = 'redo blocks written'
and b.name = 'redo writes';
In some versions of Oracle, _log_io_size can be used to influence the size of the LGWR IO.
This parameter specifies the number of redo blocks to write as determined via the first query above. This is generally not necessary to set as it is automatically determined by Oracle when left set to 0 (default).
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2002 12:03 AM
тАО06-05-2002 12:03 AM
Re: Raw device block size
However, you must specify the correct blocksize in the dd command.
eg when db_block_size=4096:
dd if=/u02/oradata/RAC/users01.dbf of=/dev/vgData1/rlvUsers01 bs=4096 seek=0
Steve