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

183
Administering Volumes
8
Introduction
This chapter describes how to perform common maintenance tasks on volumes in
VERITAS Volume Manager (VxVM). This includes displaying volume information,
monitoring tasks, adding and removing logs, resizing volumes, removing mirrors,
removing volumes, backing up volumes using mirrors and snapshots, and changing the
layout of volumes without taking them offline.
Note Most VxVM commands require superuser or equivalent privileges.
Displaying Volume Information
You can use the vxprint command to display information about how a volume is
configured.
To display the volume, plex, and subdisk record information for all volumes in the
system, use the following command:
# vxprint -ht
The following is example output from the vxprint command:
Disk group: rootdg
DG NAME NCONFIG NLOG MINORS GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
dm disk11 c1t0d0 sliced 559 1044400 -
dm disk12 c1t1d0 sliced 559 1044400 -
v pubs fsgen ENABLED ACTIVE 2288 SELECT -
pl pubs-01 pubs ENABLED ACTIVE 2288 CONCAT - RW
sd disk11-01 pubs-01 disk11 0 2288 0 c1t0d0 ENA