[linux-lvm] Using Oracle with lvm AND rawio: read(512) from
Jorg de Jong
j.e.s.de.jong at freeler.nl
Mon Dec 4 19:35:02 UTC 2000
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 at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
--
Jorg de Jong
Work : mailto:jorg.de.jong at ict.nl
Play : mailto:j.e.s.de.jong at freeler.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trc.gz
Type: application/x-gzip
Size: 2679 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20001204/93eb3bcf/attachment.bin>
More information about the linux-lvm
mailing list