Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I Hope this is a simple question.

What is the best practice to mount RAW drives on RHEL 5. I have found a couple of approaches but i'm not sure what the correct one is as i have found references to some being depreciated.

As an aside, i would also need to know how to assign ownership rights as they shouldn't be owned by root if its included in the mounting process.

share|improve this question
Which approaches have you found? – chmeee Jun 20 '09 at 17:23
The two that i did find were 1. rawdevice service (etc/sysconfig/rawdevices) 2. Adding rules and access rights to etc/udev/rules.d/60-raw.rules. BTW. My current setup is using the 2nd option. – OilyRag Jun 20 '09 at 17:39
up vote 1 down vote accepted

Using sysconfig/rawdevices is considered deprecated in RHEL5, use the udev method. As for ownership, use the following in /etc/udev/rules.d/60-raw.rules:

ACTION=="add", KERNEL=="raw*", OWNER=="root", GROUP=="disk", MODE=="0660"

Also, try checking out the following article

share|improve this answer

The raw device mapping is sloppy because applications have been encouraged to open with O_DIRECT for so long. Unfortunately vendors have been slow to react, and people have been left suffering with dangerously confusing raw device configuration.

Always ask the vendor when they expect to support O_DIRECT, if you're forced to use the /dev/raw stuff.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.