{"id":525,"date":"2011-01-28T00:30:38","date_gmt":"2011-12-13T21:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/create-lvm-structures\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-12-13T21:51:50","slug":"create-lvm-structures","status":"publish","type":"post","link":"\/blog\/index.php\/create-lvm-structures\/","title":{"rendered":"Create LVM structures"},"content":{"rendered":"<p>for eaach disk to include in a volume group, initialize it as a LVM disk:<br \/>\npvcreate \/dev\/sdX<br \/>\ncreate a volume group with that disk:<br \/>\nvgcreate myvg \/dev\/sdX<br \/>\nCreate a 20gb volume called &#8220;myvol&#8221; inside the &#8220;myvg&#8221; volume group:<br \/>\nlvcreate -L 20g -n myvol myvg<br \/>\nMake a filesystem in the new volume:<br \/>\nmkfs.ext3 \/dev\/mapper\/myvg-myvol<br \/>\n26\/433<\/p>\n","protected":false},"excerpt":{"rendered":"<p>for eaach disk to include in a volume group, initialize it as a LVM disk: pvcreate \/dev\/sdX create a volume group with that disk: vgcreate myvg \/dev\/sdX Create a 20gb volume called &#8220;myvol&#8221; inside the &#8220;myvg&#8221; volume group: lvcreate -L 20g -n myvol myvg Make a filesystem in the new volume: mkfs.ext3 \/dev\/mapper\/myvg-myvol 26\/433<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=525"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/525\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}