Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2000 > 0008

Logical Volume Manager for Linux

Rafeeq Ur Rehman

The Logical Volume Manager, or LVM, is widely used on commercial UNIX systems for online disk storage management. It adds an extra layer between kernel I/O and physical disk devices. In the traditional disk storage schemes, the disk is partitioned into fixed size segments. The LVM considers all installed disks as pools of data storage. Each disk is called a Physical Volume (PV) and is part of one pool of data storage known as a Volume Group (VG). A volume group may consist of multiple physical disks and is represented as one large storage space. The volume group is then divided into partitions called Logical Volumes (LV). A logical volume acts as one logical disk partition, although it can span multiple physical disks. Its size can be increased/decreased without any loss of data. A disk may be added to a volume group at any time when there is a need to increase data storage capacity. This provides a great flexibility for changing storage space demands and is useful for combining multiple small capacity disks into one large logical storage space.

HP-UX and Digital UNIX use the OSF version of LVM, while Solaris uses Veritas. Linux LVM was recently released and is similar to the LVM used on HP-UX. As Linux penetrates into business, use of LVM is inevitable in Linux systems. The LVM support has been included in new kernel versions. This article describes how to install, configure, and use the Linux version of LVM. I'll begin with a brief introduction for those who have not used LVM with other platforms. If you're familiar with LVM, you may wish to skip this introduction. All steps from download to installation and management of LVM will be presented in the article. For example configurations in this article, I have used a PC with three IDE disks. The first disk contains a traditional Linux installation, while the other two disks, each of 200-MB capacity, are used with LVM.




MarketPlace

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Wanna see your ad here?