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

mcclnx mcc mcclnx at yahoo.com.tw
Fri Jul 18 12:24:26 UTC 2008


Since CENTOS 5 does not have "rawdevices" service any more.  Raw device can not automatic mount on boot time.
 
Does there has way to work around?


--- 08/7/17 (星期四),nate <centos at linuxpowered.net> 寫道:

寄件者: nate <centos at linuxpowered.net>
主旨: Re: [CentOS] Raw device gone after reboot (Centos 5.2)!!!
收件者: centos at centos.org
日期: 2008 7 17 星期四 下午 5:41

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:

WARNING
       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.

nate

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


      _______________________________________________________________________________________________________
總會在某些時刻,突然想起舊情人?他 現在過得還好嗎? 
http://sev.search.yahoo.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20080718/2058380d/attachment.htm


More information about the CentOS mailing list