{"id":170,"date":"2011-06-03T05:02:46","date_gmt":"2011-06-03T12:02:46","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=170"},"modified":"2011-06-03T05:02:46","modified_gmt":"2011-06-03T12:02:46","slug":"using-parted-on-2tb-drives-to-create-new-partitions-for-lvm","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=170","title":{"rendered":"Using parted on > 2TB drives to create new partitions for LVM"},"content":{"rendered":"<p>On your Linux based hardware with &#8220;large&#8221; disks (>> 2TB drives to Linux) you may want to use the GNU &#8216;parted&#8217; disk partition utility to create storage that&#8217;s available to the kernel &#038; LVM.<\/p>\n<p>As root run &#8216;parted \/dev\/sdX&#8217; where X is the SAS\/SATA\/whatever controller&#8217;s drive as presented to the Linux kernel.<\/p>\n<p>At the &#8216;(parted)&#8217; prompt, enter:<\/p>\n<p>mkpart primary ext3 0 -1<br \/>\nset 1 lvm on<\/p>\n<p>Then &#8216;quit&#8217; Parted to save your changes to the partition table on the relevant drive.<\/p>\n<p>This creates a new partition assigned the whole drive capacity and gives it the LVM partition type, then saves those changes &#038; exits parted.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On your Linux based hardware with &#8220;large&#8221; disks (>> 2TB drives to Linux) you may want to use the GNU &#8216;parted&#8217; disk partition utility to create storage that&#8217;s available to the kernel &#038; LVM. As root run &#8216;parted \/dev\/sdX&#8217; where &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=170\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18,32],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-network-presence","tag-linux","tag-parted"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=170"}],"version-history":[{"count":1,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/170\/revisions"}],"predecessor-version":[{"id":171,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/170\/revisions\/171"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}