Anda di halaman 1dari 2

Volume
Commands
Logical Volumes Physical Volumes
• cplv - copy contents of LV to LV • chpv - change the characteristics
• chlv - change attributes • redefinevg - determines which PV's belong
• mklv - create to the specified VG
• rmlv - remove • ipl_varyon - indicates which PV is BOOT
• lslv - list drive
• mklvcopy - create a copy • lspv - list

• putlvodm - reads LV data • migratepv - migrate


Volume Groups Other Utilities
• exportvg - export • bootinfo
• importvg - import • lsps - list paging space info
• lqueryvg or lsvg list • savebase - reads the base customized
• rmlvcopy - remove a copy information from the ODM and restores it
• varyonvg - activate to the boot device
• varyoffvg - turn off • restbase - reads the base customized
• chvg - turn quorum checking off information from the boot image and
restores it in the ODM
• sysdumpdev
• syncvg - sync VG's
• schedtune - detects when the system is
thrashing and suspends active processes
• getlvodm - determine whether the ODM or
VGDA has the correct copy

• synclvodm - read the VGDA from the


Physcial Volume specified and update the
ODM
Useful Information
• Definitions • How to perform mirroring
• Steps required to re-import VGs after a • How to move a PV to another SCSI
system re-install controller

• Steps required to replace a failing PV from • How to mirror a Boot LV


a non-root VG

top of page

Definitions

Examples What it means


PHYSICAL PARTITION (PP) Smallest unit a PV is divided into (4 MB partition size)
LOGICAL PARITITION (LP) One or more PPs. LP represents a mirrored copy of a PP. Up to two copies of
a PP can be mirrored resulting in a LP count of three (2 mirrors plus original).
LOGICAL VOLUME (LV) One or more PPs. A file system resides on top of an LV. Only one LV is
mapped to a file system. A LV can't span across a VG. Up to 255 LVs in a VG
VOLUME GROUP (VG) One or more PVs. A collection of PVs that users view as a single oversized
PV. A VG can consist of any mixture of physical disk types
(size=320,355,400,670,800,857 MB), though performance is most consistent
if devices of the same size are used in a single VG. Up to 32 VGs per system.
PHYSICAL VOLUME (PV) One or more LVs. Represents a hard disk (hdisk0).
AREA (VGDA) Information about all the LVs and PVs within a VG. First 64K of a PV is
reserved for this area - defined in <sys/bootrecord.h>. The VGDA consists of

• BOOTRECORD: - first 512 bytes. Allows the Read Only System


(ROS) to boot system
• BAD BLK DIRECTORY - found in <sys/bddir.h>

Anda mungkin juga menyukai