[oracle@solgle-1 bin]$ ./asmcmd
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD>
-----查看asmSID名称
[oracle@solgle-1 dbs]$ ls
ab_+ASM1.dat hc_+ASM1.dat init.ora orapw+ASM
[oracle@solgle-1 dbs]$
[oracle@solgle-1 bin]$ export ORACLE_SID=+ASM1
[oracle@solgle-1 bin]$ ./asmcmd
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD> startup
ERROR:
ORA-01031: insufficient privileges ----看来是权限的问题
ERROR:
ORA-01005: null password given; logon denied
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD>
[oracle@solgle-1 bin]$ su - grid
Password:
[grid@solgle-1 ~]$ cd /u01/app/grid/11.2.0/bin/
[grid@solgle-1 bin]$ ./asmcmd
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 2097152 137708 51994 0 51994 0 Y DATA1/
MOUNTED EXTERN N 512 4096 1048576 41239 22984 0 22984 0 N DATA2/
ASMCMD>