{"id":922,"date":"2009-06-11T15:52:14","date_gmt":"2009-06-11T19:52:14","guid":{"rendered":"http:\/\/www.databook.bz\/?page_id=922"},"modified":"2017-04-19T12:46:34","modified_gmt":"2017-04-19T16:46:34","slug":"lvm-structure","status":"publish","type":"page","link":"http:\/\/www.linux-databook.info\/?page_id=922","title":{"rendered":"LVM Structure"},"content":{"rendered":"<p>The structure of a Logical Volume Manager (LVM) disk environment is illustrated by Figure 1, below. Logical Volume Management enables the combining of multiple individual hard drives and\/or disk partitions into a single volume group. That volume group can then be subdivided into logical volumes or used as a single large volume. Regular file systems, such as EXT3 or EXT4, can then be created on a logical volume.<\/p>\n<div id=\"attachment_923\" style=\"width: 628px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.linux-databook.info\/wp-content\/uploads\/2009\/06\/LVMStructure.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-923\" class=\"size-full wp-image-923 \" style=\"border: 1px solid black; margin: 5px;\" title=\"LVMStructure\" src=\"http:\/\/www.linux-databook.info\/wp-content\/uploads\/2009\/06\/LVMStructure.png\" alt=\"Logical Volume Management allows combining partitions and entire hard drives into Volume Groups.\" width=\"618\" height=\"264\" \/><\/a><p id=\"caption-attachment-923\" class=\"wp-caption-text\">Figure 1: Logical Volume Management allows combining partitions and entire hard drives into Volume Groups.<\/p><\/div>\n<p>In Figure 1, two complete physical hard drives and one partition from a third hard drive have been combined into a single volume group. Two logical volumes have been created from the space in the volume group, and a filesystem, such as an EXT3 filesystem has been created on each of the two logical volumes.<\/p>\n<p>The steps required to do this are fairly simple but, in my experience, are done infrequently so it is somewhat difficult to remember the syntax of the commands required.<\/p>\n<ol>\n<li>Create a physical volume of a complete hard drive or a partition on a hard drive.<\/li>\n<li>Create a volume group consisting of one or more physical volumes.<\/li>\n<li>Create one or more logical volumes from the space in a volume group.<\/li>\n<li>Create a filesystem on the logical volume.<\/li>\n<li>Add appropriate entries to \/etc\/fstab for mounting the filesystem.<\/li>\n<li>Mount the filesystem.<\/li>\n<\/ol>\n<p>Each of these specific steps will be discussed in more detail on the following pages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The structure of a Logical Volume Manager (LVM) disk environment is illustrated by Figure 1, below. Logical Volume Management enables the combining of multiple individual hard drives and\/or disk partitions into a single volume group. That volume group can then&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.linux-databook.info\/?page_id=922\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":913,"menu_order":3,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-922","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=922"}],"version-history":[{"count":13,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/922\/revisions"}],"predecessor-version":[{"id":4939,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/922\/revisions\/4939"}],"up":[{"embeddable":true,"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=\/wp\/v2\/pages\/913"}],"wp:attachment":[{"href":"http:\/\/www.linux-databook.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}