lsdg Command
Lists all disk groups and their attributes from the V$ASM_DISKGROUP_STAT
or V$ASM_DISKGROUP
view. The default view is V$ASM_DISKGROUP_STAT
. The output also includes notification of any current rebalance operation.
lsdg [-gcH] [
group
]
If group
is specified, then information about only that disk group is listed. Table 7-5 lists the flags for the lsdg
command.
Table 7-5 Flags for the lsdg command
Flag | Description |
---|---|
(none) | Displays the disk group attributes listed in Table 7-6. |
| Selects from |
| Selects from |
| Suppresses column headings. |
Table 7-6 shows the attributes for each disk group. To view the complete set of attributes for a disk group, use the V$ASM_DISKGROUP_STAT
view.
Table 7-6 Attribute descriptions for lsdg command output
Attribute Name | Description |
---|---|
State | Mounted/connected state of the disk group. |
Type | Disk group redundancy ( |
Rebal | |
Sector | Sector size in bytes. |
Block | Block size in bytes. |
AU | Allocation unit size in bytes. |
Total_MB | Size of the disk group in MB. |
Free_MB | Free space in the disk group in MB, without regard to redundancy. From the |
Req_mir_free_MB | Amount of space that must be available in the disk group to restore full redundancy after the most severe failure that can be tolerated by the disk group. This is the |
Usable_file_MB | Amount of free space, adjusted for mirroring, that is available for new files. From the |
Offline_disks | Number of offline disks in the disk group. Offline disks are eventually dropped. |
Name | Disk group name. |
The following example lists the attributes of the dgroup2
disk group.
ASMCMD [+] > lsdg dgroup2
FROM:http://docs.oracle.com/cd/B28359_01/server.111/b31107/asm_util.htm#BABHHCBH