--Use the following syntax to show the configuration of an ASM instance:srvctl config asm -n node_name

--Use the following syntax to obtain the status of an ASM instance:srvctl status asm -n node_name

--P.S.:--For all of the SRVCTL commands in this section for which the--option is not required, if you do not specify an instance name, then -i--the command applies to all of the ASM instances on the node.

--Check the Num of Extents in use per Disk inside one Disk Group.select max(substr(name,1,30)) group_name, count(PXN_KFFXP) extents_per_disk,DISK_KFFXP, GROUP_KFFXP from x$kffxp, v$ASM_DISKGROUP grwhere GROUP_KFFXP=&group_nr and GROUP_KFFXP=GROUP_NUMBERgroup by GROUP_KFFXP, DISK_KFFXP order by GROUP_KFFXP, DISK_KFFXP;

--Find The File distribution Between DisksSELECT * FROM v$asm_alias WHERE name='PWX_DATA.272.669293645';

--How to DROP the entire DiskGroup when it is in NOMOUNT Status--Generate the dd command which will reset the header of all the--disks belong the GROUP_NUMBER=0!!!!select 'dd if=/dev/zero of=''' ||PATH||''' bs=8192 count=100' from v$asm_diskwhere GROUP_NUMBER=0;

--When a new diskgroup is created, it is only mounted on the local instance,--and only the instance-specific entry for the asm_diskgroups parameter is updated. --By manually mounting the diskgroup on other instances, the asm_diskgroups parameter--on those instances are updated.

Command Description--------------------- cd Command Changes the current directory to the specified directory.- cp Command Enables you to copy files between ASM disk groups on a local instance and remote instances.- du Command Displays the total disk space occupied by ASM files in the specified- ASM directory and all of its subdirectories, recursively.- exit Command Exits ASMCMD.- find Command Lists the paths of all occurrences of the specified name (with wildcards) under the specified directory.- help Command Displays the syntax and description of ASMCMD commands.- ls Command Lists the contents of an ASM directory, the attributes of the specified- file, or the names and attributes of all disk groups.- lsct Command Lists information about current ASM clients.- lsdg Command Lists all disk groups and their attributes.- lsdsk Command Lists disks visible to ASM.- md_backup Command Creates a backup of all of the mounted disk groups.- md_restore Command Restores disk groups from a backup.- mkalias Command Creates an alias for system-generated filenames.- mkdir Command Creates ASM directories.- pwd Command Displays the path of the current ASM directory.- remap Command Repairs a range of physical blocks on a disk.- rm Command Deletes the specified ASM files or directories.- rmalias Command Deletes the specified alias, retaining the file that the alias points to.