Purpose
Lists mounted disk groups and their information. lsdg
queries V$ASM_DISKGROUP_STAT
by default. If the --discovery
flag is specified, the V$ASM_DISKGROUP
is queried instead. The output also includes notification of any current rebalance operation for a disk group. If a disk group is specified, then lsdg
returns only information about that disk group.
Syntax and Description
lsdg [--suppressheader] [-g] [--discovery] [pattern]
Table 10-48 lists the options for the lsdg
command.
Table 10-48 Options for the lsdg command
Option | Description |
---|---|
(none) |
Displays the disk group attributes listed in Table 10-49. |
|
Selects from |
|
Selects from |
|
Suppresses column headings. |
|
Returns only information about the specified disk group or disk groups that match the supplied pattern. See "Wildcard Characters". |
Table 10-49 shows the attributes for each disk group. To view the complete set of attributes for a disk group, use the V$ASM_DISKGROUP_STAT
or V$ASM_DISKGROUP
view.
Oracle Database Reference for descriptions of disk group information displayed in the V$ASM_DISKGROUP
view
Table 10-49 Attribute descriptions for lsdg command output
Attribute Name | Description |
---|---|
State |
State of the disk group. Values include |
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 megabytes. |
Free_MB |
Free space in the disk group in megabytes, 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. |
Voting_files |
Specifies whether the disk group contains voting files ( |
Name |
Disk group name. |
Example
The following example lists the attributes of the data
disk group.