{"id":13282,"date":"2024-10-12T10:53:23","date_gmt":"2024-10-12T05:23:23","guid":{"rendered":"https:\/\/www.skynats.com\/?p=13282"},"modified":"2025-01-08T20:35:20","modified_gmt":"2025-01-08T15:05:20","slug":"how-to-set-up-linode-block-storage-for-additional-disk-capacity","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-set-up-linode-block-storage-for-additional-disk-capacity\/","title":{"rendered":"How to Set Up Linode Block Storage for Additional Disk Capacity"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When you need more disk space for your applications or data, setting up Block Storage on Linode is an effective solution. This step-by-step guide will help you navigate the process seamlessly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-1-log-in-to-linode-account\"><strong>1: Log in to Linode Account<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit the<a href=\"https:\/\/www.linode.com\" target=\"_blank\" rel=\"noopener\"> Linode Cloud<\/a> website and log in to your account.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-2-access-the-dashboard\"><strong>2: Access the Dashboard<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once logged in, navigate to the Linode Dashboard. Here, you\u2019ll see an overview of your existing resources, including your Linodes and any current storage.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-3-create-block-storage\"><strong>3: Create Block Storage<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Select the Block Storage Option<\/strong>: On the dashboard, click on the &#8220;Block Storage&#8221; tab in the sidebar.<\/li>\n\n\n\n<li><strong>Create a New Volume<\/strong>: Click the &#8220;Create Block Storage&#8221; button.<\/li>\n\n\n\n<li><strong>Configure the Volume<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Label<\/strong>: Enter a descriptive label for your new volume.<\/li>\n\n\n\n<li><strong>Size<\/strong>: Specify the size of the Block Storage volume (up to 10TB).<\/li>\n\n\n\n<li><strong>Region<\/strong>: Choose the region where you want the Block Storage to be located. It\u2019s best to select the same region as your Linode for optimal performance.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Create Volume<\/strong>: After configuring the settings, click the &#8220;Create&#8221; button. This will provision your new Block Storage volume.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-4-attach-block-storage-to-your-linode\"><strong>4: Attach Block Storage to Your Linode<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Select Your Linode<\/strong>: Navigate back to the &#8220;Linodes&#8221; tab and select the Linode you want to attach the Block Storage to.<\/li>\n\n\n\n<li><strong>Access the Volumes Section<\/strong>: In the Linode details, scroll down to the \u201cVolumes\u201d section.<\/li>\n\n\n\n<li><strong>Attach Volume<\/strong>: Click the \u201cAttach Volume\u201d button, then select the Block Storage volume you just created.<\/li>\n\n\n\n<li><strong>Confirm Attachment<\/strong>: Click the \u201cAttach\u201d button to confirm. Your Block Storage is now linked to your Linode.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-5-format-and-mount-the-volume\"><strong>5: Format and Mount the Volume<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To utilize the Block Storage, you\u2019ll need to format and mount it on your Linode:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Connect via SSH<\/strong>: Use SSH to connect to your Linode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>List Block Devices<\/strong>: Run lsblk to view available block devices and identify your new volume (it will typically be listed as \/dev\/sdX).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Format the Volume<\/strong>: Use the following command given to format the volume (replace \/dev\/sdX with your volume\u2019s device name):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkfs.ext4 \/dev\/sdX<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Create a Mount Point<\/strong>: Create a directory where you want to mount the volume:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir \/mnt\/myblockstorage<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Mount the Volume<\/strong>: Mount the new volume to the directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mount \/dev\/sdX \/mnt\/myblockstorage<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Add to fstab<\/strong>: To ensure the volume mounts automatically on boot, edit the fstab file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/fstab<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As a result, add the following line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/dev\/sdX \/mnt\/myblockstorage ext4 defaults 0 0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-6-verify-the-setup\"><strong>6: Verify the Setup<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Check Mounted Volumes<\/strong>: Run df -h to verify that your Block Storage is mounted correctly and is accessible.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading has-normal-font-size\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up Linode Block Storage is a straightforward process that enhances your server\u2019s disk capacity. With this additional storage, you can manage more data without compromising performance. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you encounter any issues or need further assistance, then consider leveraging <a href=\"https:\/\/www.skynats.com\/linode-cloud-management\/\">Linode Cloud Support Services<\/a> for expert help. Furthermore, if you have additional questions, you might also explore the comprehensive resources available. Moreover, don\u2019t hesitate to reach out directly for personalised support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you need more disk space for your applications or data, setting up Block Storage on Linode is an effective solution. This step-by-step guide will help you navigate the process seamlessly. 1: Log in to Linode Account 2: Access the Dashboard 3: Create Block Storage 4: Attach Block Storage to Your Linode 5: Format and [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[914,913,915],"class_list":["post-13282","post","type-post","status-publish","format-standard","hentry","category-blog","tag-disk-capacity","tag-linode-block-storage","tag-linode-cloud-support"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/13282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=13282"}],"version-history":[{"count":0,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/13282\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=13282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=13282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=13282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}