Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 189

HP-UX LVM

Brijesh Kumar Singh

2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

Agenda
Day1: Introduction to Disk Space Management and LVM LVM Concepts and Structures Creating and Managing Volume Groups and Logical Volumes Configure and Managing Mirrored Logical Volumes Day2: Setting LVM mirroring Policies Creating and Managing Striped and Distributed logical volume. Moving Data in an LVM environment Recovering LVM disk and Structures Day3: Monitoring and Tuning LVM performance Configuring and Managing LVM Boot Disk on PA-RISC Server Configuring and Managing LVM Boot disks on Integrity Servers.

Module 1 Introduction to Disk Space Management and LVM

Objectives Upon completion of this module, you will be able to do the following: List the various uses of disk space in HP-UX. Describe the advantages and disadvantages of HP-UX hard partitioning. Describe the advantages and disadvantages of HP-UX whole disk partitioning. Describe the advantages and disadvantages of Logical Volume Manager. Choose an appropriate disk partitioning technology.

Module 2 LVM Concepts and Structures


Objectives Upon completion of this module, you will be able to do the following: Describe the role of Physical Volumes, Volume Groups, and Logical Volumes Describe the purpose of Physical and Logical Extents Describe the purpose of the PVRA, VGRA, and BBRA reserved areas

Describe the purpose of the /etc/lvmtab and /sbin/lvmrc configuration files


Describe the purpose and locations of the LVM device files Describe the purpose of the LVM kernel structures Describe the purpose of LVM activation Describe the meaning and significance of LVM quorum

Module 3 Creating and Managing Volume Groups and Logical Volumes


Objectives Upon completion of this module, you will be able to do the following: Use pvdisplay, vgdisplay, and lvdisplay to determine a hosts LVM configuration Create and remove physical volumes Create, modify, extend, reduce, and remove volume groups Create, modify, extend, reduce, and remove logical volumes Create, modify, extend, and reduce file systems within logical volumes

Activate and deactivate volume groups

Commands related to LVM


Pvcreate Pvdisplay Pvchange Pvmove Pvremove Vgcreate Vgdisplay Vgchange Vgreduce Vgremove Lvcreate Lvdisplay Lvextend Lvchange

Lvreduce Lvremove Mknod Chown Chmod Newfs Mkdir Mount Swapon Extendfs Bdf Fsadm Tar Rm

Module : 4- Configuring and Managing Mirrored Logical Volumes Objectives


Upon completion of this module, you will be able to do the following: Explain the advantages of LVM mirroring. Explain the concept of a mirrored extent. View the status of mirrored extents. Create, extend, and reduce logical volume mirrors. Split and merge mirrored logical volumes. Configure and manage Spare Physical Volumes.

Configuring and Managing Mirrored Logical Volumes

Day-2

You might also like