请教下各位大佬,同样环境12c能找到共享盘19c却不行,还需要做什么设置吗
crw------- 2 root system 15, 0 Nov 03 16:15 /dev/rhdisk0
crw-rw---- 1 grid asmadmin 15, 1 Nov 03 16:29 /dev/rhdisk1
crw-rw---- 1 grid asmadmin 15, 3 Nov 03 16:29 /dev/rhdisk2
crw-rw---- 1 grid asmadmin 15, 2 Nov 03 16:29 /dev/rhdisk3
iocp0 Available I/O Completion Ports
Launching Oracle Grid Infrastructure Setup Wizard...
[FATAL] [INS-30508] Invalid ASM disks.
CAUSE: The disks [/dev/rhdisk1, /dev/rhdisk2, /dev/rhdisk3] were not valid.
ACTION: Please choose or enter valid ASM disks.
[FATAL] [INS-30515] Insufficient space available in the selected disks.
CAUSE: Insufficient space available in the selected Disks. At least, 32 MB of free space is required.
ACTION: Choose additional disks such that the total size should be at least 32 MB.
log贴出来啊
共享存储是NAS还是FC?
看看
ls -l <$GRID_HOME>/bin/kfod
-rwxr-x--- 1 oracle dba 0 Aug 24 2013 <$GRID_HOME>/bin/kfod
如果为文件大小0,则
Copy kfod binary from $GRID_HOME/inventory/Scripts/ext/bin to $GRID_HOME/bin and run config.sh
再试试
如果文件大小不为0,则
$GRID_HOME/bin/kfod.bin nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/rdisk*'
如果是 ORA-27037: unable to obtain file status
则
dd if=/dev/zero of= /dev/rdisk3 bs=1M count=50
Modify permissions on parent folder to 700 and the disks should be 660
再
$GRID_HOME/bin/kfod.bin nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/rdisk* '
=========================================
看了下log
打补丁吧
This patch is first available in enterprise manager for oms plugins 13.2.2.0.171231 Patch 27242322
See the following document for information on the latest EM 13.2 System and Bundle Patches, which are cumulative:
Note 2219797.1 Enterprise Manager 13.2 Main Bundle Patch List (Includes Plugins: 13.2.1, 13.2.2, 13.2.3)
收起INFO: [Nov 14, 2022 8:28:38 PM] Executing initialize action at state CreateASMDiskGroup
INFO: [Nov 14, 2022 8:28:38 PM] Completed executing initialize action at state
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for completion of background operations
INFO: [Nov 14, 2022 8:28:38 PM] Completed background operations
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for completion of background operations
INFO: [Nov 14, 2022 8:28:38 PM] Completed background operations
INFO: [Nov 14, 2022 8:28:38 PM] Executing action at state CreateASMDiskGroup
INFO: [Nov 14, 2022 8:28:38 PM] Completed executing action at state
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for completion of background operations
INFO: [Nov 14, 2022 8:28:38 PM] Completed background operations
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for completion of background operations
INFO: [Nov 14, 2022 8:28:38 PM] Completed background operations
INFO: [Nov 14, 2022 8:28:38 PM] Moved to state
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for completion of background operations
INFO: [Nov 14, 2022 8:28:38 PM] Completed background operations
INFO: [Nov 14, 2022 8:28:38 PM] Validating state
INFO: [Nov 14, 2022 8:28:38 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false
INFO: [Nov 14, 2022 8:28:38 PM] oracle.install.library.crs.CRSInfo.isHAConfigured() returns value false
WARNING: [Nov 14, 2022 8:28:38 PM] SRVCTL not found as there is no Grid Infrastructure home on the box.
INFO: [Nov 14, 2022 8:28:38 PM] Executing [/u01/app/19.0.0/grid/bin/kfod.bin, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/rhdisk1']
INFO: [Nov 14, 2022 8:28:38 PM] Starting Output Reader Threads for process /u01/app/19.0.0/grid/bin/kfod.bin
INFO: [Nov 14, 2022 8:28:38 PM] The process /u01/app/19.0.0/grid/bin/kfod.bin exited with code 132
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for output processor threads to exit.
INFO: [Nov 14, 2022 8:28:38 PM] Output processor threads exited.
INFO: [Nov 14, 2022 8:28:38 PM] Executing [/u01/app/19.0.0/grid/bin/kfod.bin, nohdr=true, verbose=true, disks=all, op=disks, dscvgroup=TRUE, asm_diskstring='AFD:,/dev/rhdisk']
INFO: [Nov 14, 2022 8:28:38 PM] Starting Output Reader Threads for process /u01/app/19.0.0/grid/bin/kfod.bin
INFO: [Nov 14, 2022 8:28:38 PM] The process /u01/app/19.0.0/grid/bin/kfod.bin exited with code 132
INFO: [Nov 14, 2022 8:28:38 PM] Waiting for output processor threads to exit.
INFO: [Nov 14, 2022 8:28:38 PM] Output processor threads exited.
INFO: [Nov 14, 2022 8:28:39 PM] Disks for Free space check: [/dev/rhdisk1]
INFO: [Nov 14, 2022 8:28:39 PM] Additional space required: 0 for chosen redundancy: EXTERNAL
INFO: [Nov 14, 2022 8:28:39 PM] Executing [/u01/app/19.0.0/grid/bin/kfod.bin, nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/rhdisk1']
INFO: [Nov 14, 2022 8:28:39 PM] Starting Output Reader Threads for process /u01/app/19.0.0/grid/bin/kfod.bin
INFO: [Nov 14, 2022 8:28:39 PM] The process /u01/app/19.0.0/grid/bin/kfod.bin exited with code 132
INFO: [Nov 14, 2022 8:28:39 PM] Waiting for output processor threads to exit.
INFO: [Nov 14, 2022 8:28:39 PM] Output processor threads exited.
SEVERE: [Nov 14, 2022 8:28:39 PM] [FATAL] [INS-30508] Invalid ASM disks.
CAUSE: The disks [/dev/rhdisk1] were not valid.
ACTION: Please choose or enter valid ASM disks.
SEVERE: [Nov 14, 2022 8:28:39 PM] [FATAL] [INS-30515] Insufficient space available in the selected disks.
CAUSE: Insufficient space available in the selected Disks. At least, 32 MB of free space is required.
ACTION: Choose additional disks such that the total size should be at least 32 MB.
INFO: [Nov 14, 2022 8:28:39 PM] Advice is ABORT
INFO: [Nov 14, 2022 8:28:39 PM] Adding ExitStatus INVALID_USER_INPUT to the exit status set
INFO: [Nov 14, 2022 8:28:39 PM] Completed validating state
INFO: [Nov 14, 2022 8:28:39 PM] Terminating all background operations
INFO: [Nov 14, 2022 8:28:39 PM] Terminated all background operations
INFO: [Nov 14, 2022 8:28:39 PM] Finding the most appropriate exit status for the current application
INFO: [Nov 14, 2022 8:28:39 PM] The inventory does not exist, but the location of the inventory is known: /u01/app/oraInventory
INFO: [Nov 14, 2022 8:28:39 PM] Finding the most appropriate exit status for the current application
INFO: [Nov 14, 2022 8:28:39 PM] Exit Status is -2
INFO: [Nov 14, 2022 8:28:39 PM] Shutdown Oracle Grid Infrastructure 19c Installer
INFO: [Nov 14, 2022 8:28:39 PM] Unloading Setup Driver
受字数限制,节选重要部分
grid@dbsrv1:/home/grid> ls -l $ORACLE_HOME/bin/kfod
-rwxr-xr-x 1 grid oinstall 489 May 19 2019 /u01/app/19.0.0/grid/bin/kfod
grid@dbsrv1:/home/grid> $ORACLE_HOME/bin/kfod.bin nohdr=true, verbose=true, disks=all, status=true, op=disks, asm_diskstring='/dev/rdisk*'
exec(): 0509-036 Cannot load program /u01/app/19.0.0/grid/bin/kfod.bin because of the following errors:
0509-150 Dependent module libasmclntsh19.so could not be loaded.
0509-022 Cannot load module libasmclntsh19.so.
0509-026 System error: A file or directory in the path name does not exist.
我觉得像是Bug,官网上 Oracle Database 19c Grid Infrastructure (19.3) for IBM AIX放出来有忽悠人的意思,下载补丁要MetaLink 帐号,蛋疼
收起