You can display disk configuration information from the command
line. Output listings available include: available disks, Volume
Manager objects, and free space in disk groups.
Displaying Disk Listings |
 |
To display a list of available disks, use the following command:
The output of the vxdisk list command lists the device name, the type of disk,
the disk name, the disk group to which the disk belongs, and status
of the disk. The following is an example of vxdisk list command output:
DEVICE TYPE DISK GROUP STATUS c0t0d0 simple disk01 rootdg online c0t1d0 simple disk02 rootdg LVM c0t2d0 simple disk03 rootdg online invalid
|
Displaying Volume Manager Object Listings |
 |
The vxprint command displays detailed information on existing
Volume Manager objects. To display detailed output for all currently
existing objects, use the following command:
The following are examples of vxprint command output:
VDG NAME NCONFIG NLOG MINORS GROUP-ID DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK V NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOL PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg rootdg default default 0 962910960.1025.bass dm disk01 c0t10d0 simple 1024 4444228 - dm disk02 c0t11d0 simple 1024 4443310 - |
DG NAME NCONFIG NLOG MINORS GROUP-ID DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK V NAME RVG KSTATE STATE LENGTH USETYPE PREFPLEX RDPOL PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE dg newdg default default 4963000 963504895.1075.bass dm newdg01 c0t12d0 simple 1024 4443310 - dm newdg02 c0t13d0 simple 1024 4443310 -
|
In this output, dg is a disk group, dm is a disk, v is a volume, pl is a plex (mirror), and sd is a subdisk. The top few lines indicate the headers
that match each type of output line that follows. Each volume is
listed along with its associated plex(es) and subdisk(s).
Displaying Free Space in a Disk Group |
 |
Before you add volumes and file systems to your system, make
sure you have enough free disk space to meet your needs. Use the
Volume Manager to request a display of free space.
To display free space in the system, use the following command:
The following is an example of vxdg free command output:
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS rootdg disk01 c0t10d0 c0t10d0 0 4444228 - rootdg disk02 c0t11d0 c0t11d0 0 4443310 - newdg newdg01 c0t12d0 c0t12d0 0 4443310 - newdg newdg02 c0t13d0 c0t13d0 0 4443310 - oradg oradg01 c0t14d0 c0t14d0 0 4443310 - |
To display free space for a disk group, use the following
command:
where -g diskgroup optionally specifies a disk group.
For example, to display the free space in the default disk
group, rootdg, use the following command:
The following is an example of vxdg -g rootdg free command output:
DISK DEVICE TAG OFFSET LENGTH FLAGS disk01 c0t10d0 c0t10d0 0 4444228 - disk02 c0t11d0 c0t11d0 0 4443310 - |
The free space is measured in 1024-byte sectors.