Home / LVM


Redhat Linux – LVM Volume Attributes

Logical volume manager attributes

Redhat Linux’s Logical volume Manager has many attributes which are available for controlling the behavior LVM objects or to changing the default values of LVM. We may not use those attributes very often in typical production environment but knowing is not a bad thing. As a Unix/Linux admin,we should have capability  to explain each and every field of commands output as most of …

Read More »

Linux LVM – How to take volume snapshot

LVM snapshot operation

In this LVM tutorial series, LVM snapshot topic is an important one and it’s one of the must know feature of Redhat Linux’s LVM. Volume snapshot is very useful to take database backup in consistent state without shutting down the database.If you take database backup without halting it,then that will be leading to an inconsistent DB backup.(Since DB files are keep …

Read More »

Redhat Linux – LVM Volumes Re-layout

Volume Relayout in LVM

In Linux, Logical volume’s layouts need to be changed according to the importance of data and performance of the volume. For example,If the current volume layout is  mirrored and  that volume’s data doesn’t update very frequently then daily backup may enough for the applications in case of disk failure.In these cases, you may get a request to remove the mirror …

Read More »

LVM- Linux Interview Questions

This article will share Redhat Linux’s  LVM Interview questions. LVM is one of the most important sub-system in Linux where you need  to provision multiple dynamic filesystems. If you attend any Linux interview, you can always expect more questions from LVM. I have intentionally posted this article for Interviewers who always search in internet for what to ask to the candidate.To select the right …

Read More »

Linux LVM – Re-sizing the Logical Volume

LVM volume resize

In LVM, logical volumes size can be increased or decreased depends on our needs. Logical volume can be shirked/reduced using “lvreduce” command but this will not reduce the filesystem. You need to reduce the filesystem before reducing the logical volume. Logical volume can be extended/increased using “lvextend” command.Once you have extended the logical volume ,then you need to increase the …

Read More »

Linux LVM – Volume Creation & Operations

As of now we have seen physical volume administration and volume group administration on this Linux’s LVM tutorial series.Logical volume is the top most virtual object in the LVM. Once you have constructed physical volume and volume group,the next step will creating the logical volume and mount the filesystem for storing the data.Here we will see how to create a …

Read More »

Linux – LVM – Volume Group Operations

We have already seen the basics of logical volume manager structure on the previous article.Here we are going to see about Logical volume manager’s  volume group operations and management. Volume group is high level container in LVM which contains one or more physical disk or LUNS. A volume group can span in to multiple disks, whether internal or external disks. External disks …

Read More »

How to Install LVM on Linux and Disk Operations

LVM will be installed by default on Redhat Linux installation.But sometimes if you select the minimum package installation method,LVM will not be installed.So you need to install LVM package separately .Here we will see the LVM installation method and if its already installed how to verify it .Logical volume manager has two versions and those are 1.LVM-1 2.LVM-2 . In …

Read More »

RedhatLinux SAN Migration using LVM

What would be best way to do the SAN Migration in Redhat Linux LVM? Would the pvmove will work ?I would recommend you to go for LVM mirroring since its a safest method and zero downtime to perform this activity.First you need to add the new SAN LUNS in volume group and mirror the volume using those new disks.Once the …

Read More »