如果您阅读“ man oracleasm-scandisks”的手册页,则会注意到下面的内容。oracleasm使用/ proc / partitions作为其执行的所有扫描的源。必须先在/ proc / partitions中列出原始设备,然后才能进行磁盘扫描。您在/ etc / sysconfig / oracleasm中放置的Scanorder和Scanexclude参数与在/ proc / partitions(!!!!)中找到的名称相关。
---------- man oracleasm-scandisks ------ ...
扫描如何进行扫描分为四个基本阶段。
First, the list of disks to scan is created. If disks were specified on the command line, this is the list.
If not, /proc/partitions is read, and each block device is added, subject to the -o and -x options.
Second, the partition tables of each disk in the scan are reloaded unless the -s option was specified. Any
disks that no longer exist are dropped.
Third, the list of disks is recreated based on the new partition tables.
Finally, each disk in the list is checked to see if it is marked for ASM use. Disks that are marked are
instantiated.