{"id":468,"date":"2024-10-13T08:41:59","date_gmt":"2024-10-13T06:41:59","guid":{"rendered":"https:\/\/hostup.se\/en\/support\/?p=468"},"modified":"2025-11-27T20:26:10","modified_gmt":"2025-11-27T18:26:10","slug":"lagring-separata-diskar-utoka-lagringsutrymme","status":"publish","type":"post","link":"https:\/\/hostup.se\/en\/support\/lagring-separata-diskar-utoka-lagringsutrymme\/","title":{"rendered":"Storage: separate drives &#038; expand storage space"},"content":{"rendered":"\n<p>With us, you can upgrade the storage capacity of your VPS. Since we rely on block storage, there\u2019s no upper limit to how much you can add\u2014you can purchase anywhere from 5 GB to 100 TB of NVMe storage per VPS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Log_in_to_the_customer_portal\"><\/span>Step 1: Log in to the customer portal<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit our <a href=\"https:\/\/cloud.hostup.se\/login\/en\">customer portal<\/a> and log in with your login details.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Navigate_to_%E2%80%9CBilling%E2%80%9D_for_the_selected_Virtual_Server\"><\/span>Step 2: Navigate to \u201cBilling\u201d for the selected Virtual Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After logging in, navigate to your VPS and open the billing tab.<\/li>\n\n\n\n<li>Scroll down until you see &#8220;Upgrade\/Downgrade Service&#8221; as shown in the image below<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/hostup.se\/support\/wp-content\/uploads\/2024\/10\/lagring-vps-1-1024x592.png\" alt=\"\" class=\"wp-image-1091\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Purchase_additional_storage_space\"><\/span>Purchase additional storage space<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On this page you have two options, &#8220;Separate Block Storage&#8221; and &#8220;Block Storage&#8221;.<\/li>\n\n\n\n<li>The difference between these is that if you purchase Block Storage, your VM main disk will automatically be expanded with the amount of storage you choose.<\/li>\n\n\n\n<li>If you instead choose Separate Block Storage, you will have the opportunity to decide how much your disk should be expanded by but also the opportunity to add additional separate disks.<\/li>\n\n\n\n<li>By separate disks we mean \/dev\/sda , \/dev\/sdb , \/dev\/sdc , etc.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Separate_Block_Storage_%E2%80%93_manage_disk_devices\"><\/span>Separate Block Storage &#8211; manage disk devices<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Navigate_to_the_Storage_Overview\"><\/span>Step 1: Navigate to the Storage Overview<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tap the &#8220;Storage&#8221; tab<\/li>\n\n\n\n<li>If you have purchased &#8220;Separate Block Storage&#8221; you will see options to add a new disk:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/hostup.se\/support\/wp-content\/uploads\/2024\/10\/separat-lagring-1024x451.png\" alt=\"\" class=\"wp-image-1092\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Add_new_disk\"><\/span>Add new disk<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To add a new disk, press the &#8220;Add New Disk&#8221; button.<\/li>\n\n\n\n<li>Select how much storage space you want the disk to have and then press the &#8220;Add New Disk&#8221; button.<\/li>\n\n\n\n<li>Your VM will not restart and everything will usually be ready to use right away. If you don&#8217;t see the new disk when you type the &#8220;lsblk&#8221; command in your VPS, you will usually need to restart it manually.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/hostup.se\/support\/wp-content\/uploads\/2024\/10\/lagg-till-disk.png\" alt=\"\" class=\"wp-image-1093\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the example above I added a 15GB disk. If you log in to your VPS and then run the command &#8220;lsblk&#8221; you will see your new disk, sdb.<\/li>\n\n\n\n<li>On Windows Server you will be able to format the new disk under Disk Management.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/hostup.se\/support\/wp-content\/uploads\/2024\/10\/linux-terminal-lsblk-1024x198.png\" alt=\"\" class=\"wp-image-429\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Increase_the_amount_of_storage\"><\/span>Increase the amount of storage<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Once you\u2019ve purchased additional storage space, the final step is to expand your partition. It\u2019s very easy and takes just three steps.<\/p>\n\n\n\n<p>First, run the following command to make the system recognize that the storage size has changed:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dd iflag=direct if=\/dev\/sda of=\/dev\/null count=1\necho \"1\" | sudo tee \/sys\/class\/block\/sda\/device\/rescan<\/code><\/pre>\n\n\n\n<p>After that, we need to find out which partition \/ is mounted on.<br>Run the lsblk command to do this. In the example below, we can see that it\u2019s on sda3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"240\" src=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2024\/10\/Skarmavbild-2025-01-11-kl.-13.45.47.png\" alt=\"\" class=\"wp-image-516\" srcset=\"https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2024\/10\/Skarmavbild-2025-01-11-kl.-13.45.47.png 706w, https:\/\/hostup.se\/en\/support\/wp-content\/uploads\/2024\/10\/Skarmavbild-2025-01-11-kl.-13.45.47-300x102.png 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p>If lsblk indicates that \/ is on sda3, run these two commands to expand the partition:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>growpart \/dev\/sda 3\nxfs_growfs \/<\/code><\/pre>\n\n\n\n<p>Getting the error message <em>xfs_growfs: \/ is not a mounted XFS filesystem<\/em>? If so, your file system might be using ext4 instead of xfs. Run the following command instead. Replace sda3, just as before, with the partition you actually want to expand<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>resize2fs \/dev\/sda3<\/code><\/pre>\n\r\n\t\t\t<div id=\"daexthefu-container\"\r\n\t\t\t\tclass=\"daexthefu-container daexthefu-layout-side-by-side daexthefu-alignment-left\"\r\n\t\t\t\tdata-post-id=\"468\">\r\n\r\n\t\t\t\t<div class=\"daexthefu-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefu-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefu-title\">Was this article helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefu-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefu-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-yes daexthefu-button daexthefu-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.happy-face-cls-1{fill:#c9c9c9;}.happy-face-cls-2{fill:#e1e1e1;}.happy-face-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"happy_face\">\r\n                        <circle class=\"happy-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"happy-face-cls-2 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"happy-face-cls-3 daexthefu-icon-secondary-color\" d=\"m16.79,29c-1.19,0-1.89,1.31-1.25,2.32,1.77,2.81,4.9,4.68,8.47,4.68s6.7-1.87,8.47-4.68c.63-1.01-.06-2.32-1.25-2.32-3.67,0-10.76,0-14.43,0Z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefu-no daexthefu-button daexthefu-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>\r\n                            .sad-face-cls-1{fill:#c9c9c9;}.sad-face-cls-2{fill:#676767;}.sad-face-cls-3{fill:#e1e1e1;}.sad-face-cls-4{fill:#676767;}\r\n                        <\/style>\r\n                    <\/defs>\r\n                    <g id=\"sad_face\">\r\n                        <circle class=\"sad-face-cls-1 daexthefu-icon-primary-color\" cx=\"24\" cy=\"24\" r=\"17\" \/>\r\n                        <path class=\"sad-face-cls-3 daexthefu-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"18\" cy=\"22\" r=\"2\" \/>\r\n                        <circle class=\"sad-face-cls-4 daexthefu-icon-secondary-color\" cx=\"30\" cy=\"22\" r=\"2\" \/>\r\n                        <path class=\"sad-face-cls-2 daexthefu-icon-secondary-color\" d=\"M16.9,34.5c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1c2.2-2.2,5.1-3.4,8.1-3.4c3.1,0,6,1.2,8.1,3.4\r\n                        c0.6,0.6,0.6,1.5,0,2.1s-1.5,0.6-2.1,0c-1.6-1.6-3.7-2.5-6-2.5s-4.4,0.9-6,2.5C17.7,34.4,17.3,34.5,16.9,34.5z\" \/>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-comment\">\r\n\t\t\t\t\t<div class=\"daexthefu-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefu-comment-label\" class=\"daexthefu-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefu-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefu-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefu-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefu-comment-textarea\" class=\"daexthefu-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Skriv ditt meddelande\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefu-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-submit daexthefu-button\">Skicka in<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefu-comment-cancel daexthefu-button\">Avbryt<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefu-successful-submission-text\">Tack f\u00f6r din feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>This guide explains how to expand the storage space on your VPS and add separate storage devices.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-468","post","type-post","status-publish","format-standard","hentry","category-vps"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":4,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":604,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/posts\/468\/revisions\/604"}],"wp:attachment":[{"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostup.se\/en\/support\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}