Monday, September 15, 2014

Oracle ASM: ASMCMD Commands List with Description

ASMCMD (ASM Command Line UtilityReference


Commands List

1. cd:  It changes the current directory to the specified directory.

2. cp: It enables you to copy files between ASM disk groups on a local instance and remote instances.

3. du: It displays the total disk space occupied by ASM files in the specified ASM directory and all of its subdirectories, recursively.

4. exit: It exits ASMCMD.

5. find: It lists the paths of all occurrences of the specified name (with wildcards) under the specified directory.

6. help: It displays the syntax and description of ASMCMD commands.

7. ls: It lists the contents of an ASM directory, the attributes of the specified file, or the names and attributes of all disk groups.

8 lsct: It lists information about current ASM clients.

9. lsdg: It lists all disk groups and their attributes.

10. lsdsk: It lists disks visible to ASM.

11. md_backup: It creates a backup of all of the mounted disk groups.

12. md_restore: It restores disk groups from a backup.

13. mkalias: It creates an alias for system-generated filenames.

14. mkdir: It creates ASM directories.

15. pwd: It displays the path of the current ASM directory.

16. remap: It repairs a range of physical blocks on a disk.

17. rm: It deletes the specified ASM files or directories.

18. rmalias: It deletes the specified alias, retaining the file that the alias points to.

--------
-- kfed tool From Unix Prompt for reading ASM disk header.
kfed read /dev/vx/rdsk/fra1dg/fra1

No comments:

Post a Comment