Re: Raw device gone after reboot (Centos 5.2)!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxx> 寫道:

寄件者: nate <centos@xxxxxxxxxxxxxxxx>
主旨: Re: Raw device gone after reboot (Centos 5.2)!!!
收件者: centos@xxxxxxxxxx
日期: 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

總會在某些時刻,突然想起舊情人?他 現在過得還好嗎?- 馬上搜尋
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux