博客首页 » Oracle udev and rawdevice
发布于 09 Mar 2015 01:14
标签 blog
from linux kernel 2.6, i.e. centos/rhel 4, udev is supported.
With the following config, we can add rawdevice with udev.
[root@demo oracle]# cat /etc/udev/rules.d/60-raw.rules # Enter raw device bindings here. # # An example would be: # ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N" # to bind /dev/raw/raw1 to /dev/sda, or # ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m" # to bind /dev/raw/raw2 to the device with major 8, minor 1. ACTION=="add",KERNEL=="sdb5",RUN+="/bin/raw /dev/raw/raw1 %N" ACTION=="add",KERNEL=="raw1",OWNER="oracle",GROUP="oinstall",MODE="0640" [root@demo oracle]# start_udev
http://zhidao.baidu.com/link?url=qYzZBKVKrcTh2W5plpNlq-eDAQuVY2c5X7cIG5WY66Sy0yJfD_NQMC9qs40hywc6u490LnGFGyO8b5CNJt24Qv8ooaOfn-kpomaXldo0lsW
http://www.oracle.com/technetwork/database/device-mapper-udev-crs-asm.pdf
http://www.oracledatabase12g.com/?s=udev
http://t.askmaclean.com/thread-1297-1-1.html
本页面的文字允许在知识共享 署名-相同方式共享 3.0协议和GNU自由文档许可证下修改和再使用,仅有一个特殊要求,请用链接方式注明文章引用出处及作者。请协助维护作者合法权益。
系列文章
文章列表
- Oracle udev and rawdevice
这篇文章对你有帮助吗,投个票吧?
留下你的评论