What is the advantage of ASMCMD command? Managing FRA Disk Spaces?
The ASMCMD utility enables us to manage RMAN and database files when using ASM managed disks. It is a feature of oracle grid infrastructure standalone or cluster.
Some of the ASMCMD commands includes but not limited to:
ASMCMD > du :Displays the total disk space occupied by ASM files in the specified ASM directory and all its
subdirectories, recursively
ASMCMD > lsdg : Lists all disk groups and their attributes.
ASMCMD > lsdsk : Lists the ASM disks.
ASMCMD > mount : Mounts a disk group.
ASMCMD > online : Places online a disk or disk group.
ASMCMD > rebal : Rebalances a disk group.
ASMCMD> iostat : Displays I/O statistics.
ASMCMD > pwd : Displays the path of the current ASM directory.
ASMCMD > rm : Deletes the specified ASM files or directories.
ASMCMD > cp : Enables copying of files between disk groups, and between disk groups and the operating system.
ASMCMD > mkdir : Creates ASM directories.