In Oracle 11 ASMCMD introduced md_backup and md_restore to help with managing ASM Metadata.
To script around this and make our scripts universal we used
asmcmd -v to detect version and then proceed with backups.
So in 18.104.22.168
oracle@abc:$ asmcmd -v asmcmd version 22.214.171.124.0
When i migrated to 11.2.0 for ASM my scripts for metadata backup Started failing
running the same command in 11.2.0 netted
oracle@abc:$ asmcmd -v WARNING: Tracing levelnot specified Default level of tracing is enabled. ASMCMD> exit
In 11.2.0 to get version from ASM is
oracle@abc:$ asmcmd -V asmcmd version 126.96.36.199.0
Not sure if this behaviour changed in 188.8.131.52 or 184.108.40.206 .
Although it would be nice if Oracle would not reuse the same flag for something else just makes our lives and scripts miserable.