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

Fri Jul 18 12:21:57 UTC 2008
mcclnx mcc <mcclnx at yahoo.com.tw>

Thank you for answer.   CENTOS 5.2 does not have "rawdevices" services and also NO "/etc/udev/permissions.d" file any more.


--- 08/7/17 (星期四),Jeff <jlar310 at gmail.com> 寫道:

寄件者: Jeff <jlar310 at gmail.com>
主旨: Re: [CentOS] Raw device gone after reboot (Centos 5.2)!!!
收件者: "CentOS mailing list" <centos at centos.org>
日期: 2008 7 17 星期四 下午 5:45

2008/7/17 mcclnx mcc <mcclnx at yahoo.com.tw>:
> 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?

Raw partitions are deprecated. I recall from prior posts that you are
using Informix, is that right? Recent versions of Informix implement
the O_DIRECT flag for disk I/O so raw devices are not needed

For our Informix installation, we point the server directly at the
/dev/sd* devices. The one trick is to create a file in
/etc/udev/permissions.d that sets the permissions for the disk devices
at boot.

# cat /etc/udev/permissions.d/40-informix.permissions
sdb5:informix:informix:0660
sdb6:informix:informix:0660
sdb7:informix:informix:0660
#

-- 
Jeff
_______________________________________________
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/05c5d5d6/attachment-0005.html>