LVM, or logical volume management, this is the term LVM you probably have heard many times, but let's
look over how exactly this functions.
LVM allows disc to be combined together and it is a software based.
So again, picture speaks thousand words.
And that's why I have laid out in this picture and will go forward one by one.
If you see if you look at the first disk, this is one disk.
And out of this this lets say if it's 100 gig out of this 100 gig disk, we create a group and that
group is called Whatever.
The group that you wanted to be called it is that group, Aso's is associated with one disk.
Once that group is created, that group is created out of LVM software, then you could have as many
petition out of it as you want.
And if you look at it on the right side, you have petitions for system swap home.
Or you could have more like water or temp, as many petitions as you want, just like in windows.
You will have C, you have D and you have E or at four zero all the way to the.
So this is how you petition a desk, right.
You have one desk and you petition that desk.
But in this case you create one volume group.
Now in the next section you will see at the bottom exactly why we do need to create volume groups.
You have three desks now.
Each desk is 100 gig, hundreds and hundreds.
So that makes it 300 gig.
And instead of you take one, get one desk and assign it to one petition or one moun point, you take
all three desk combined together and make it a volume Kupe and call it whatever that you want to call.
Let's say in this example is Data VTG, which is volume group.
You combine them together.
This group, the size of this group becomes 300 gig because all three disks that you have on the left
hand side, each has a size 100.
So that becomes 300 gig.
Then you create.
So then you create on the right hand side, you create data one, two, three and four and different
partitions.
Now, the advantage of LVM, the main advantage of Elby LVM is what if you run out of 300 gig that you
have created blue?
And you could add a fourth disk and without breaking your petitions or your file system, you could
add that disk to your group, your volume group, which is at this point is data Viji.
You can add that extend that group and the group size becomes 400 gig and then you associate that size
to data one if data one disk space is run out of space.
So this is a logical volume is for it is very useful in a corporate environment because you have to
extend the disk space or petition's of your mom points all the time, because if you have given a server
to a developer and the size of your root is shrinking and the and the developer runs application programs
and it fills up the root partition really fast and it becomes 99 gig.
So you're 99 percent full, right.
So what options do you have left?
Well, the only options you have left, if you have physical servers, pop to try out and take add another
disk.
But what if there is no capacity to add another disk out of luck?
Right.
So in virtual environment pacifically, you could add another deathcore, extend a disk and virtual
machine.
Once is extended, you could extend your group, which is right here, and then you could petition that
or extend your data one or route from 100 gig to 200.