Need Assistance?

In only two hours, with an average response time of 15 minutes, our expert will have your problem sorted out.

Server Trouble?

For a single, all-inclusive fee, we guarantee the continuous reliability, safety, and blazing speed of your servers.

How to Set Up Linode Block Storage for Additional Disk Capacity

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

  • Once logged in, navigate to the Linode Dashboard. Here, you’ll see an overview of your existing resources, including your Linodes and any current storage.

3: Create Block Storage

  1. Select the Block Storage Option: On the dashboard, click on the “Block Storage” tab in the sidebar.
  2. Create a New Volume: Click the “Create Block Storage” button.
  3. Configure the Volume:
    • Label: Enter a descriptive label for your new volume.
    • Size: Specify the size of the Block Storage volume (up to 10TB).
    • Region: Choose the region where you want the Block Storage to be located. It’s best to select the same region as your Linode for optimal performance.
  4. Create Volume: After configuring the settings, click the “Create” button. This will provision your new Block Storage volume.

4: Attach Block Storage to Your Linode

  1. Select Your Linode: Navigate back to the “Linodes” tab and select the Linode you want to attach the Block Storage to.
  2. Access the Volumes Section: In the Linode details, scroll down to the “Volumes” section.
  3. Attach Volume: Click the “Attach Volume” button, then select the Block Storage volume you just created.
  4. Confirm Attachment: Click the “Attach” button to confirm. Your Block Storage is now linked to your Linode.

5: Format and Mount the Volume

To utilize the Block Storage, you’ll need to format and mount it on your Linode:

Connect via SSH: Use SSH to connect to your Linode.

List Block Devices: Run lsblk to view available block devices and identify your new volume (it will typically be listed as /dev/sdX).

Format the Volume: Use the following command given to format the volume (replace /dev/sdX with your volume’s device name):

sudo mkfs.ext4 /dev/sdX

Create a Mount Point: Create a directory where you want to mount the volume:

sudo mkdir /mnt/myblockstorage

Mount the Volume: Mount the new volume to the directory:

sudo mount /dev/sdX /mnt/myblockstorage

Add to fstab: To ensure the volume mounts automatically on boot, edit the fstab file:

sudo nano /etc/fstab

As a result, add the following line:

/dev/sdX /mnt/myblockstorage ext4 defaults 0 0

6: Verify the Setup

  • Check Mounted Volumes: Run df -h to verify that your Block Storage is mounted correctly and is accessible.

Conclusion

Setting up Linode Block Storage is a straightforward process that enhances your server’s disk capacity. With this additional storage, you can manage more data without compromising performance.

If you encounter any issues or need further assistance, then consider leveraging Linode Cloud Support Services for expert help. Furthermore, if you have additional questions, you might also explore the comprehensive resources available. Moreover, don’t hesitate to reach out directly for personalised support.

Liked!! Share the post.

Get Support right now!

Start server management with our 24x7 monitoring and active support team

Can't get what you are looking for?

Available 24x7 for emergency support.