Unix Technical Forum

raw devices in linux (O_DIRECT)

This is a discussion on raw devices in linux (O_DIRECT) within the Informix forums, part of the Database Server Software category; --> Hi, I just installed IDS 10 on linux and this is what I have found: - It required glibc ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:50 AM
Fernando Ortiz
 
Posts: n/a
Default raw devices in linux (O_DIRECT)


Hi,

I just installed IDS 10 on linux and this is what I have found:

- It required glibc 2.3.3 and I was using and old redhat 8, so I upgraded
linux to Fedora Core 3. Dependency fixed

- Required libstdc++.so.5, FC3 includes libstdc++.6[.0.3] so make a
symbolic link (yes I should downgrade but like with curses4 works fine)

- I can't use raw devices with FC3! it's depretacted, the new way is
using the O_DIRECT flag when opening the chunks, of course in a
close-source program like IDS the only hope is to open a feature request.

+ RHEL 4 has this deprecated options enabled so I don't think IBM
will be interested in this solution.

+ The advantage of O_DIRECT is you dont need to make the association
with the /dev/raw devices and rawio will be always in effect, also KAIO is
enabled by default with rawdevices.

+ The workaround is make a new linux-util and kernel package with raw
enabled.

I'll make my custom kernel and try.
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com