Symantec logo

Displaying subdisk information

The vxprint command displays information about VxVM objects. To display general information for all subdisks, use this command:

# vxprint -st

The -s option specifies information about subdisks. The -t option prints a single-line output record that depends on the type of object being listed.

The following is example output:

SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE

SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE

sd mydg01-01 vol1-01 mydg01  0 102400 0  sdc ENA

sd mydg02-01 vol2-01 mydg02  0 102400 0  sdd ENA

You can display complete information about a particular subdisk by using this command:

# vxprint [-g diskgroup] -l subdisk

For example, the following command displays all information for subdisk mydg02-01 in the disk group, mydg:

# vxprint -g mydg -l mydg02-01

This command provides the following output:

Disk group: mydg

Subdisk: mydg02-01

info: disk=mydg02 offset=0 len=205632

assoc: vol=mvol plex=mvol-02 (offset=0)

flags: enabled

device: device=sdd path=/dev/vx/dmp/sdd diskdev=32/68