{"id":6070,"date":"2018-07-31T15:18:31","date_gmt":"2018-07-31T18:18:31","guid":{"rendered":"http:\/\/wiki3.locaweb.com.br\/?post_type=ht_kb&#038;p=6070"},"modified":"2024-12-05T09:47:05","modified_gmt":"2024-12-05T12:47:05","slug":"upgrade-de-disco-cloud-server-pro","status":"publish","type":"ht_kb","link":"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/upgrade-de-disco-cloud-server-pro\/","title":{"rendered":"Upgrade de disco &#8211; Cloud Server PRO"},"content":{"rendered":"    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Informa\u00e7\u00e3o!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tProcedimentos em parti\u00e7\u00f5es podem causar perda de dados e corrompimento do S.O. Portanto indicamos que antes de seguir os passos abaixo, seja realizado um <a href=\"http:\/\/wiki3.locaweb.com.br\/wiki\/gerar-snapshot-do-servidor-cloud-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">Snapshot<\/a>.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Aten\u00e7\u00e3o!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tO intuito deste documento \u00e9 auxiliar na utiliza\u00e7\u00e3o do espa\u00e7o adicional na parti\u00e7\u00e3o j\u00e1 existente, a execu\u00e7\u00e3o dos procedimentos \u00e9 de total responsabilidade do Cliente.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h6>01 | Montando a imagem System Rescue<\/h6>\n<ul>\n<li>Primeiramente voc\u00ea teve montar uma imagem escolhendo a op\u00e7\u00e3o\u00a0<strong>System Rescue<\/strong>.<\/li>\n<li>Para montar a imagem, clique neste artigo <a href=\"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/montar-e-desmontar-imagem-cloud-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">Montando Imagem<\/a>.<\/li>\n<\/ul>\n<h6>02 | Configurando o espa\u00e7o<\/h6>\n<ul>\n<li>Depois de montar a imagem <strong>System Rescue<\/strong>, escolha a primeira op\u00e7\u00e3o: <strong>SystemRescueCD: default boot options<\/strong>.<\/li>\n<\/ul>\n<h6>Ativar os volumes l\u00f3gicos existentes no servidor<\/h6>\n<pre>$&gt; vgchange -ay<\/pre>\n<h3>Verificar erros no Disco<\/h3>\n<h6>Debian<\/h6>\n<pre>$ fsck -fy \/dev\/mapper\/debian-root<\/pre>\n<h6>Ubuntu<\/h6>\n<pre>$ fsck -fy \/dev\/mapper\/ubuntu-root<\/pre>\n<h6>CentOS 6<\/h6>\n<pre>$ fsck -fy \/dev\/mapper\/VolGroup-lv_root<\/pre>\n<h6>Atualizar o tamanho do disco f\u00edsico na LVM<\/h6>\n<pre>$ pvresize \/dev\/xvdb<\/pre>\n<h3>Estender o volume l\u00f3gico<\/h3>\n<h6>Debian<\/h6>\n<pre>$ lvextend -L +G \/dev\/mapper\/debian-root<\/pre>\n<ul>\n<li>Por exemplo, para aumentar 10 GB use o comando:<br \/>\n$ lvextend -L +10G \/dev\/mapper\/debian-root<\/li>\n<\/ul>\n<h6>Ubuntu<\/h6>\n<pre>$ lvextend -L +G \/dev\/mapper\/ubuntu-root<\/pre>\n<ul>\n<li>Por exemplo, para aumentar 10 GB use o comando:<br \/>\n$ lvextend -L +10G \/dev\/mapper\/ubuntu-root<\/li>\n<\/ul>\n<h6>CentOS 6<\/h6>\n<pre>$ lvextend -L +G \/dev\/mapper\/VolGroup-lv_root<\/pre>\n<ul>\n<li>Por exemplo, para aumentar 10 GB use o comando:<br \/>\n$ lvextend -L +10G \/dev\/mapper\/VolGroup-lv_root<\/li>\n<\/ul>\n<h3><b>Estender a Parti\u00e7\u00e3o<\/b><\/h3>\n<h6>Debian<\/h6>\n<pre>$ resize2fs \/dev\/mapper\/debian-root<\/pre>\n<h6>Ubuntu<\/h6>\n<pre>$ resize2fs \/dev\/mapper\/ubuntu-root<\/pre>\n<h6>CentOS 6<\/h6>\n<pre>$ resize2fs \/dev\/mapper\/VolGroup-lv_root<\/pre>\n<h6>Reiniciar o servidor<\/h6>\n<pre>$ reboot<\/pre>\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Conhe\u00e7a!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tAproveite e conhe\u00e7a outros produtos da Locaweb, como o Hospedagem de Sites, <a href=\"https:\/\/www.locaweb.com.br\/hospedagem-de-sites-com-dominio-gratis\/\" target=\"_blank\" rel=\"noopener noreferrer\">clique aqui<\/a> e saiba mais!    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>01 | Montando a imagem System Rescue Primeiramente voc\u00ea teve montar uma imagem escolhendo a op\u00e7\u00e3o\u00a0System Rescue. Para montar a imagem, clique neste artigo Montando Imagem. 02 | Configurando o espa\u00e7o Depois de montar a imagem System Rescue, escolha a primeira op\u00e7\u00e3o: SystemRescueCD: default boot options. Ativar os volumes l\u00f3gicos&#8230;<\/p>\n","protected":false},"author":6,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[106],"ht-kb-tag":[495],"class_list":["post-6070","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cloud-server-pro","ht_kb_tag-categoriacloud-e-dedicados"],"_links":{"self":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/6070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/comments?post=6070"}],"version-history":[{"count":7,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/6070\/revisions"}],"predecessor-version":[{"id":36928,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/6070\/revisions\/36928"}],"wp:attachment":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/media?parent=6070"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-category?post=6070"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-tag?post=6070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}