VG and LV volumn
In my Redhat server ( run on VM ), they are created by previous colleague , the df -ah is as below .
filesystem Size Mounted on /dev/sda2 9.9G / proc /proc " /dev/sda1 388M /boot /dev/mapper/VG01-LV00 /dev/mapper/VG00-LV01 /dev/mapper/VG00-LV02 /dev/mapper/VG00-LV00 I would like to ask what is the difference of sda and VG , why use VG , LV but not use sda1 , ada2 , ada3 .... isn't it more easy to maintence ? Thanks |
I can try formulating it myself, but these links might be a better read:
- Logical Volume Manager - LVM (wiki) - Logical volume management Quote:
LVM gives you extra flexibility which cannot be done using the standard partition scheme's (sda -> sda1 / sda2 / ...) Using LVM isn't a "must", I think that most home-users don't really need to implement LVM. |
Quote:
If you run out of space on an LVM volume, you just extend the volume with free space from the underlying Volume Group. And if there's no free space in the VG, you can simply add another drive or partition to that group. You can do all this while the system is running. So LVM is in fact much easier to maintain. And I haven't even mentioned snapshots or thin provisioning. Take a look at the links provided by druuna; I think you'll find LVM to be an incredibly flexible and useful technology. |
In my old redhat server , the path is mount on /dev/sda1 , /dev/sda2 .... , in this server , the path is mount on VG , LV , can advise what is difference of it ? which one is better ?
thanks |
Quote:
Quote:
Here's one exception I can come up with: If you have a single hard disk and all you need is one partition (no separate swap, /boot etc) there's no need to use LVM. |
Quote:
An administrator with over ten years experience should, by now, easily be able to know the difference between physical disks and logical volumes....especially since this isn't your first thread about LVM's, and you were given links that TELL YOU these things, since you didn't bother to look them up on your own. Very simply, logical volumes are made up of physical volumes. Without a great deal of effort, physical volumes cannot be resized, logical ones can easily be resized. Which is 'better' depends on your server, your hardware, your requirements, and your ability to manage the server. |
The /boot partition cannot be part of LVM, if that is what you are asking.
Also, LVM is far easier to maintain and more flexible to changes. |
All times are GMT -5. The time now is 03:18 PM. |