Purpose
Lists the open Oracle ASM disks.
Syntax and Description
lsod [--suppressheader] [-G diskgroup] [--process process] [pattern]
Table 10-51 lists the syntax options for the lsod
command.
Table 10-51 Options for the lsod command
Option | Description |
---|---|
|
Suppresses column header information from the output. |
|
Specifies the disk group that contains the open disks. |
|
Specifies a pattern to filter the list of processes. |
|
Specifies a pattern to filter the list of disks. |
The rebalance operation (RBAL
) opens a disk both globally and locally so the same disk may be listed twice in the output for the RBAL
process.
Example
The following are examples of the lsod
command. The first example lists the open devices associated with the data
disk group and the LGWR
process. The second example lists the open devices associated with the LGWR
process for disks that match the diska
pattern.
Example 10-60 Using the ASMCMD lsod command
ASMCMD [+] > lsod -G data --process *LGWR* Instance Process OSPID Path 1 oracle@myserver02 (LGWR) 26593 /devices/diska1 1 oracle@myserver02 (LGWR) 26593 /devices/diska2 1 oracle@myserver02 (LGWR) 26593 /devices/diska3 1 oracle@myserver02 (LGWR) 26593 /devices/diskb1 1 oracle@myserver02 (LGWR) 26593 /devices/diskb2 1 oracle@myserver02 (LGWR) 26593 /devices/diskb3 1 oracle@myserver02 (LGWR) 26593 /devices/diskd1 ASMCMD [+] > lsod --process *LGWR* *diska* Instance Process OSPID Path 1 oracle@myserver02 (LGWR) 26593 /devices/diska1 1 oracle@myserver02 (LGWR) 26593 /devices/diska2 1 oracle@myserver02 (LGWR) 26593 /devices/diska3
For another example of the lsod
command, see Example 10-2.