[CentOS] Raw device gone after reboot (Centos 5.2)!!!

nate centos at linuxpowered.net
Thu Jul 17 21:41:47 UTC 2008

mcclnx mcc wrote:
> We are set up CENTOS 5.2 (X86) as our database server.  I created raw
> partitions and also put definition on /etc/sysconfig/rawdevices.
> I can use "raw -qa" see raw partitions.  The wield things is after reboot
> /dev/raw is not exist any more.
> Â
> Does anyone know how to fix it?

Are you sure you want to do that? from the raw manpage:

       Although  Linux  includes support for rawio, it is now a
deprecated interface. If your application performs device access
using this interface, Red Hat encourages you to modify your
application to open the block device with the O_DIRECT flag.
The rawio interface will exist for the life  of  Red Hat Enterprise
Linux 4, but is a candidate for removal from future releases.

What database server are you using that your wanting to use raw for?

My only experience with raw devices and databases is with Oracle 10G
and Automatic Storage Management(ASM). In that case Oracle's stuff
handles all of the direct I/O without needing anything to do with
/dev/raw, infact I've explicitly disabled the raw service on all of
my servers because I've never needed it.


More information about the CentOS mailing list