- 最后登录
- 2016-4-13
- 在线时间
- 49 小时
- 威望
- 65
- 金钱
- 751
- 注册时间
- 2012-3-13
- 阅读权限
- 50
- 帖子
- 95
- 精华
- 1
- 积分
- 65
- UID
- 293
|
8#
发表于 2015-2-9 09:54:33
Liu Maclean(刘相兵 发表于 2015-2-8 13:12
但是用v$datafile不也是可以查到吗?==> 那是因为有控制文件啊
我思考了一下,与其说我不理解ASM_DISKSTRING
不如说我不理解 ASM disk discovery这个机制
按照 这个文档
http://docs.oracle.com/cd/B28359_01/server.111/b31107/asmdiskgrps.htm#CHDHDDBE
的说法
“
While an ASM instance is initialized, ASM discovers and examines the contents of all of the disks that are in the paths that you designated with values in the ASM_DISKSTRING initialization parameter. Disk discovery also occurs when you:
•
Run the ALTER DISKGROUP...ADD DISK and ALTER DISKGROUP...RESIZE DISK commands
•
Query the V$ASM_DISKGROUP and V$ASM_DISK views
After ASM successfully discovers a disk, the disk appears in the V$ASM_DISK view. Disks that belong to a disk group, that is, disks that have a disk group name in the disk header, show a status of MEMBER. Disks that were discovered, but that have not yet been assigned to a disk group, have a status of either CANDIDATE or PROVISIONED.
”
这就是我一直疑惑的地方
就是开始我说
用命令 直接 指定“ALTER DISKGROUP DATA5 ADD DISK /dev/diskgroup/dg_testXXX” 这样就好了
/dev/diskgroup/dg_testXXX这就是一个完整路径,何必还要用
ASM_DISKSTRING=/dev/diskgroup/dg* 这样的参数来约束一把 呢? |
|