{"id":6014,"date":"2023-12-28T09:08:58","date_gmt":"2023-12-28T06:08:58","guid":{"rendered":"https:\/\/sunucucozumleri.com\/?p=6014"},"modified":"2023-12-28T09:08:58","modified_gmt":"2023-12-28T06:08:58","slug":"solusvm2de-planlarda-storage-tipini-degistirmek-how-to-change-solusvm2-plan-storage-type-file-based-to-lvm","status":"publish","type":"post","link":"https:\/\/sunucucozumleri.com\/blog\/solusvm2de-planlarda-storage-tipini-degistirmek-how-to-change-solusvm2-plan-storage-type-file-based-to-lvm\/","title":{"rendered":"SolusVM2&#8217;de Planlarda Storage Tipini De\u011fi\u015ftirmek &#8211; How to change solusvm2 plan storage type? File Based To LVM"},"content":{"rendered":"<p>Selamlar,<\/p>\n<p>Bug\u00fcn itibariyle art\u0131k sitemizde solusvm2&#8217;ye y\u00f6nelik daha fazla i\u00e7erik payla\u015faca\u011f\u0131z. \u0130lk kurulumda \u00f6nemsiz gibi g\u00f6r\u00fcnen ancak daha sonra \u00f6nem arz eden bir durum var.<\/p>\n<p>Bu konu SolusVM2&#8217;de plan olu\u015ftururken disk tipini file based olarak kalmas\u0131ndan kaynakl\u0131 ve e\u011fer LVM&#8217;e ge\u00e7i\u015f yapacaksan\u0131z bunu paketleri d\u00fczenleyerek yapam\u0131yorsunuz.<\/p>\n<p>Solusvm2&#8217;de planlarda bulunan disk tipini de\u011fi\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131rabilirsiniz. How to change solusvm2 plan storage type? File Based To LVM der gibisiniz.<\/p>\n<p>1. Resize VPSes to custom plans without changing anything. (\u00d6ncelikle mevcut sanal sunucular\u0131n\u0131z\u0131 resize men\u00fcs\u00fcne gelerek hi\u00e7bir\u015fey de\u011fi\u015fmeden \u00f6zel plan se\u00e7ip uygula diyoruz.)<br \/>\nThis way the existing VPSes will be bound to custom plans as oppose to precreated plans.<br \/>\n2. access SolusVM 2 Management node via SSH (Solusvm2 Master sunucuya terminal ile login oluyoruz.)<br \/>\n3. Create Management node backup: (SolusVM2 master sunucunun sql backup al\u0131yoruz.)<\/p>\n<pre><code>\/usr\/local\/solus\/bin\/installer -backup<\/code>\r\n4. Access SolusVM 2 database: (SolusVM2 veritaban\u0131na ba\u011flan\u0131yoruz.)<\/pre>\n<pre><code><a href=\"https:\/\/sunucucozumleri.com\/blog\/docker-nedir\/\">docker<\/a> exec -it $(docker ps -q -f name=solus_postgres | head -n1) psql -U$(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_USER | awk -F \"=\" {'print $2'}) $(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_DB | awk -F \"=\" {'print $2'})<\/code><\/pre>\n<pre>5. Run the query: (Son olarak a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131r\u0131yoruz.)<\/pre>\n<pre><code>update plans set storage_type='lvm',image_format='raw' where is_custom=false;<\/code><\/pre>\n<pre>This query will change  the storage type for all the non-custom plans. (Bu sorgu \u00f6zel olmayan t\u00fcm depolama t\u00fcr\u00fcn\u00fc de\u011fi\u015ftirecektir.)\r\n\r\n\u0130yi \u00e7al\u0131\u015fmalar,\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Selamlar, Bug\u00fcn itibariyle art\u0131k sitemizde solusvm2&#8217;ye y\u00f6nelik daha fazla i\u00e7erik payla\u015faca\u011f\u0131z. \u0130lk kurulumda \u00f6nemsiz gibi g\u00f6r\u00fcnen ancak daha sonra \u00f6nem arz eden bir durum var. Bu konu SolusVM2&#8217;de plan olu\u015ftururken disk tipini file based olarak kalmas\u0131ndan kaynakl\u0131 ve e\u011fer LVM&#8217;e ge\u00e7i\u015f yapacaksan\u0131z bunu paketleri d\u00fczenleyerek yapam\u0131yorsunuz. Solusvm2&#8217;de planlarda bulunan disk tipini de\u011fi\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki komutu &hellip;<\/p>\n","protected":false},"author":1,"featured_media":6015,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[84],"tags":[],"class_list":["post-6014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genel-tr"],"acf":[],"_links":{"self":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/6014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/comments?post=6014"}],"version-history":[{"count":0,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/6014\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media\/6015"}],"wp:attachment":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media?parent=6014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/categories?post=6014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/tags?post=6014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}