If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > How to define raw devices in upcoming RHEL 4?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-05, 17:18
babenj_dba babenj_dba is offline
Registered User
 
Join Date: Feb 2005
Posts: 5
How to define raw devices in upcoming RHEL 4?

I've been running Redhat Enterprise Linux-AS v3.95 (Nahant). In this release, "udev" is implemented (the static /dev dir is now replaced by a dynamic /dev). The "/dev/raw" directory no longer exist where one would normally link raw block device nodes to as defined in the /etc/sysconfig/rawdevices file. The rawdevices config file is still there, but "/dev/raw/raw*" is not (atleast not on my server). In Redhat Enterprise Linux - AS v3 Update 4, I created custom device names in /dev by creating symbolic links to /dev/raw/raw[1-9] that correspond to my raw device partitions. My question is: With "udev", what is now the proper way to create device nodes in /dev?

FWIW, /etc/init.d/rawdevices {start|stop|status|} does not do anything anymore. Any input is appreciated.
Reply With Quote
  #2 (permalink)  
Old 02-10-05, 12:02
babenj_dba babenj_dba is offline
Registered User
 
Join Date: Feb 2005
Posts: 5
Talking bump....!!

bump....!!
Reply With Quote
  #3 (permalink)  
Old 03-05-05, 12:09
babenj_dba babenj_dba is offline
Registered User
 
Join Date: Feb 2005
Posts: 5
anyone?

anyone...?
Reply With Quote
  #4 (permalink)  
Old 03-08-05, 07:41
Sandor Sandor is offline
Registered User
 
Join Date: Jul 2003
Location: Munich
Posts: 26
The OLD method is not used any more, the new way is
using the O_DIRECT flag when opening the chunks,

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.

IDS V10 detects automatically that it runs on Linux Kernel 2.6 and if KAIO
is enabled then it turns on the O_DIRECT flag!

To enable KAIO:

The libaio.so library is required, regardless of the distribution
or kernel level. IBM Informix Dynamic Server V10.0
requires a minimum of libaio 0.3.96-3.

Please also read the release notes for more information!
bye
Sandor
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On