VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Chapter 2, Administering Disks
Displaying Disk Information
83
Displaying Disk Information
Before you use a disk, you need to know if it has been initialized and placed under VxVM
control.You alsoneed to knowif the diskis part ofa disk groupbecause youcannotcreate
volumes on a disk that is not part of a disk group. The vxdisk list command displays
device names for all recognized disks, the disk names, the disk group names associated
with each disk, and the status of each disk.
To display information on all disksthat are known toVxVM, usethe following command:
# vxdisk list
VxVM returns a display similar to the following:
DEVICE TYPE DISK GROUP STATUS
c0t0d0 sliced disk04 rootdg online
c1t0d0 sliced disk03 rootdg online
c1t1d0 sliced - - online invalid
enc0_2 sliced disk02 rootdg online
enc0_3 sliced disk05 rootdg online
enc0_0 sliced - - online
enc0_1 sliced - - online
Note The phrase online invalid in the STATUS line indicates that a disk has not yet
been added to VxVM control. These disks may or may not have been initialized by
VxVM previously. Disks thatare listedas online are already under VxVM control.
To display details on a particular disk defined to VxVM, use the following command:
# vxdisk list diskname