[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Using Oracle with lvm AND rawio: read(512) from



Michael Tokarev wrote:
> 
> And -- Jorg de Jong, can you please strace the ts creation
> process?  I'm very interested on i/o buffer sizes used there.
> 
....
>   # strace -o trc -v -p 14344 ($PID of that process)
> 
>   [ sqlplus window ]
>   SQL> create tablespace ... ;
> 
>   [ other window ]
>   ^C
>   # _
> 
> Then examine `trc' file made by strace.  I'm interested in:
>  1) st_blksize of /dev/raw/rawNN device
>  2) read/write sizes requested by oracle on that device.
> 
I successfully created a tabelspace on a raw device.
See the attachment... 

> And also try:
>   dd of=/dev/null if=/dev/raw/raw100 bs=512
>    and the same with bs=1024
>   (this will not destroy data)
>  (/dev/raw/raw100 bound to one of LVs).
> 

[root] /tmp > dd of=/dev/null if=/dev/raw/raw1 bs=512
1024000+0 records in
1024000+0 records out
[root] /tmp > dd of=/dev/null if=/dev/raw/raw1 bs=1024
512000+0 records in
512000+0 records out

Also no problems here !

> If you successefully created the tablespace, then
> either oracle uses only 1024*n i/o (my 8.1.6 uses 512
> sometimes) or your kernel allows to use 512 bytes...
> 
> Thank you!
> 
> Regards,
>  Michael.
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 
Jorg de Jong
Work : mailto:jorg de jong ict nl 
Play : mailto:j e s de jong freeler nl

Attachment: trc.gz
Description: GNU Zip compressed data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]