﻿{"id":35,"date":"2016-05-08T07:34:17","date_gmt":"2016-05-07T23:34:17","guid":{"rendered":"http:\/\/simon.conley.mobi\/?p=35"},"modified":"2016-05-08T07:34:17","modified_gmt":"2016-05-07T23:34:17","slug":"proxmox-%e6%96%b0%e5%a2%9e%e7%ac%ac%e4%ba%8c%e9%a1%86%e7%a1%ac%e7%a2%9f","status":"publish","type":"post","link":"https:\/\/old.ice.com.tw\/?p=35","title":{"rendered":"PROXMOX \u65b0\u589e\u7b2c\u4e8c\u9846\u786c\u789f"},"content":{"rendered":"<p>SDA is the drive where the proxmox installation is running<br \/>\nSDB is the new drive that will be added to the proxmox.<\/p>\n<p>Open the Proxmox Shell<br \/>\nWith fdisk you can find your drives that you want to add, if you are not sure what the device name is for your hard drive that you want to add.<\/p>\n<p>Type:\u00a0<strong>fdisk -l<\/strong><\/p>\n<p>Find the \u201cDisk\" with no valid partition table. That will be probably your hard drive you want to add.<\/p>\n<p>\u201cDisk \/dev\/sdb doesn\u2019t contain a valid partition table\"<br \/>\nTo make a partion on the new drive type the following:<\/p>\n<p>Type:\u00a0<strong>cfdisk \/dev\/sdb<\/strong><\/p>\n<p>Choose the following options:<\/p>\n<p>New \u00a0\u2013&gt; \u00a0Primary \u00a0\u2013&gt; \u00a0Specify size in MB<br \/>\nWrite<br \/>\nQuit<\/p>\n<p>Now a physical volume has to be created.<\/p>\n<p>Type:\u00a0<strong>pvcreate \/dev\/sdb1<\/strong><\/p>\n<p>Create a volume group. The name \u201cData-Storage\" is an example. You can name it anyway you want. Consider a logical name, because this is the name that will be used in the proxmox web interface:<\/p>\n<p>Type:\u00a0<strong>vgcreate Data-Storage \/dev\/sdb1<\/strong><\/p>\n<p>Add the storage in ProxMox<br \/>\n\u2013\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0In the webinterface click on the directory Datacenter and then click on tab Storage.<\/p>\n<p>\u2013\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Click Add \u2013 LVM Group<\/p>\n<p>o\u00a0\u00a0\u00a0\u00a0Type an ID Name for example data-storage<\/p>\n<p>&nbsp;<\/p>\n<p>o\u00a0\u00a0\u00a0\u00a0Base Storage: Existing Volume Groups<\/p>\n<p>&nbsp;<\/p>\n<p>o\u00a0 \u00a0 Volume Group: Data-Storage<\/p>\n<p>&nbsp;<\/p>\n<p>o\u00a0 \u00a0 Enabled: Checked<br \/>\no\u00a0 \u00a0 Other options should be adjusted accordenly to what you want with it.<br \/>\nNow the extra storage has been added in Proxmox and ready for use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SDA is the drive where the proxmox installation is runn &hellip; <a href=\"https:\/\/old.ice.com.tw\/?p=35\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008PROXMOX \u65b0\u589e\u7b2c\u4e8c\u9846\u786c\u789f\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-proxmox"],"_links":{"self":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":1,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}