With gparted you can expand and shrink partitions, but only if they are not in use. You also often run into the limits of the msdos partition table format with gparted, including only 4 primary partitions, and all logical partitions must be contained within one contiguous extended partition. Most operations that you can do with gparted require that the partitions you are trying to manipulate are not in use at the time, so you have to boot from the livecd to perform them. One of the biggest advantages LVM has is that most operations can be done on the fly, while the system is running. Unlike partitions though, logical volumes get names rather than numbers, they can span across multiple disks, and do not have to be physically contiguous. Logical volumes correspond to partitions: they hold a filesystem. Physical Volumes correspond to disks they are block devices that provide the space to store logical volumes. Typical systems only need one Volume Group to contain all of the physical and logical volumes on the system, and I like to name mine after the name of the machine. First you should understand the basics of lvm.Ī Volume Group is a named collection of physical and logical volumes. I will explain several tasks that lvm can do and why it does so better than other tools, then how to do them. The answer is that lvm can do these things better, and some nifty new things that you just can't do otherwise. It is a system of managing logical volumes, or filesystems, that is much more advanced and flexible than the traditional method of partitioning a disk into one or more segments and formatting that partition with a filesystem.įor a long time I wondered why anyone would want to use LVM when you can use gparted to resize and move partitions just fine. LVM stands for Logical Volume Management.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |