Which statement is true regarding the outcome of this command?

You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is
down. To know the details of the disks in the DATA disk group , you issued the following
ASMCMD command:
ASMCMD> lsdsk -I -d DATA
Which statement is true regarding the outcome of this command?

You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is
down. To know the details of the disks in the DATA disk group , you issued the following
ASMCMD command:
ASMCMD> lsdsk -I -d DATA
Which statement is true regarding the outcome of this command?

A.
The command succeeds but it retrieves only the disk names.

B.
The command produces an error because the ASM instance is down.

C.
The command succeeds but it shows only the status of the ASM instance.

D.
The command succeeds and retrieves information by scanning the disk headers based on an
ASM_DISKSTRING value.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Helcio

Helcio

Option -d ?

ASMCMD> lsdsk -I -G DATA

lsdsk [-kptgMHI][-G diskgroup ] [ –member|–candidate]
[–discovery][–statistics][pattern]

Table 12-36 lists the options for the lsdsk command.

Option Description
(none)
Displays the PATH column of the V$ASM_DISK_STAT view.
-k
Displays the TOTAL_MB, FREE_MB, OS_MB,NAME, FAILGROUP, LIBRARY, LABEL, UDID, PRODUCT, REDUNDANCY, and PATH columns of the V$ASM_DISK view.
–statistics
Displays the READS, WRITES, READ_ERRS, WRITE_ERRS, READ_TIME, WRITE_TIME, BYTES_READ, BYTES_WRITTEN, and the PATH columns of the V$ASM_DISK view.
-p
Displays the GROUP_NUMBER, DISK_NUMBER, INCARNATION, MOUNT_STATUS, HEADER_STATUS, MODE_STATUS, STATE, and the PATH columns of the V$ASM_DISK view.
-t
Displays the CREATE_DATE, MOUNT_DATE, REPAIR_TIMER, and the PATH columns of the V$ASM_DISK view.
-g
Selects from GV$ASM_DISK_STAT, or from GV$ASM_DISK if the –discovery flag is also specified. GV$ASM_DISK.INST_ID is included in the output.
–discovery
Selects from V$ASM_DISK, or from GV$ASM_DISK if the -g flag is also specified. This option is always enabled if the Oracle ASM instance is version 10.1 or earlier. This flag is disregarded if lsdsk is running in non-connected mode.
-H
Suppresses column headings.
-I
Scans disk headers for information rather than extracting the information from an Oracle ASM instance. This option forces non-connected mode.
-G
Restricts results to only those disks that belong to the group specified by diskgroup.
-M
Displays the disks that are visible to some but not all active instances. These are disks that, if included in a disk group, cause the mount of that disk group to fail on the instances where the disks are not visible.
–candidate
Restricts results to only disks having membership status equal to CANDIDATE.
–member
Restricts results to only disks having membership status equal to MEMBER.
pattern
Returns only information about the specified disks that match the supplied pattern.

dbr

dbr

If ASM instance is down nothing will show up

ASMCMD> lsdsk -d DATA
WARNING:option ‘d’ is deprecated for ‘lsdsk’
please use ‘G’

ASMCMD> lsdsk -G DATA
ASMCMD>