- 最后登录
- 2015-5-8
- 在线时间
- 5 小时
- 威望
- 0
- 金钱
- 18
- 注册时间
- 2014-10-14
- 阅读权限
- 10
- 帖子
- 10
- 精华
- 0
- 积分
- 0
- UID
- 2073
|
1#
发表于 2015-2-15 09:11:12
|
查看: 4107 |
回复: 7
环境是10gRAC,ASM是基于raw的,使用udev rules映射裸设备。
现在要求在线添加asm disk
ACTION=="add", KERNEL=="sdb1",RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdb2",RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sdb3",RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sdb5",RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sdb6",RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add",KERNEL=="raw[1-5]", OWNER="oracle", GROUP="oinstall", MODE="660"
假设现在添加
ACTION=="add", KERNEL=="sdc1",RUN+="/bin/raw /dev/raw/raw6 %N"
ACTION=="add", KERNEL=="sdd2",RUN+="/bin/raw /dev/raw/raw7 %N"
ACTION=="add",KERNEL=="raw[1-7]", OWNER="oracle", GROUP="oinstall", MODE="660"
此时执行start_udev重新刷新udev rules的时候,raw1~5会不会瞬间无法访问?还是不受影响? |
|