Skip to main content
Support
0
Contact us
Nederlands
Deutsch
Español
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareers
Cloud Compute

With Cloud Compute, you have access anytime and anywhere to a portal through which you can configure your entire IT environment from wherever you are in the world.

Cloud Storage

Reliable access to your files, infrastructure, and applications at all times – with no interruptions or delays. At Worldstream, we offer a variety of storage solutions.

Flexible cloud icon
Flexible cloud
Private cloud icon
Private cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Object storage
Hollow cube icon
File storage
Block storage icon
Block storage
Backup storage icon
Backup storage
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

All Servers

Choose your Dedicated Server now. Custom or Instant Delivery. Powerhouse servers built for your use case.

Use Cases

Whatever your use case, we’re here to help you find the ideal solution.

Deal servers icon
Deals
AMD servers icon
AMD Processors
AI servers icon
Intel Processors
Hollow cube icon
Virtualisation, Containerisation and Orchestration
Hollow cube icon
Websites and Applications
Hollow cube icon
Gaming and Streaming Infrastructure

24/7/365 support with an average response time of just 7 minutes. Thanks to our own data centers, our engineers can go directly to your server for fast, hands-on assistance. Email or call us anytime.

Smart outsourcing

Some IT creates added value, while other types are supportive. Use that as a starting point for outsourcing.

Cost Efficiency

Complete IT packages may seem like the safe option, but when you consider the costs, other choices often make more sense.

IT flexibility & control

Outsourcing doesn’t mean losing control; it actually provides more flexibility and control.

Cloud repatriation

The cloud is not a final destination: You should continuously evaluate and adjust your cloud environment as needs evolve.

Financial services
Logistics & Transportation
Retail & E-commerce
Media & Entertainment
Tech & Software Development
Security
Managed Service Providers
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

Chat with usContact us
About WorldstreamAbout the technologyCasesKnowledge base
About usMeet the teamJobsBecome a resellerCertificationsOur data centersOur networkDDoS ProtectionAMD EPYC serversTechnology PartnersOperating SystemsAll casesEasyTerraDutch Drone CompanyPerfGridArticlesFAQNews and BlogsProducts and Services
Contact us

Call +31 (0) 174 – 712 117

Industriestraat 53, Naaldwijk

Nederlands
Deutsch
Español
0
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareersAbout WorldstreamAbout the technologyCasesKnowledge baseMy Worldstream
Contact
Support
NederlandsDeutschEspañol
  1. HomeHome
  2. Knowledge Base
  3. Linux
  4. Mounting a disk in Linux

Mounting a disk in Linux

Applies to Dedicated servers, Flexible VPS (Linux)Audience Server administratorsLast reviewed September 2026

Quick answer

Partition the disk with parted, format it with mkfs.ext4, mount it to a new, empty folder, then add its UUID to /etc/fstab so it survives a reboot.

On this page
  • Locate the disk
  • Create a partition and filesystem
  • Create a mount point and mount the disk
  • Make the mount persistent

An additional disk attached to your server needs a partition, a filesystem, and a mount point before you can use it. This walks through all four steps: finding the disk, partitioning and formatting it, mounting it, and making that mount persistent.

Locate the disk

1

List block devices

Run lsblk to see all disks and identify the one without partitions, this is the disk you need to prepare:

lsblk

Create a partition and filesystem

1

Partition the disk

Open the disk in parted, replacing /dev/sdb with your disk's device name:

sudo parted /dev/sdb

Inside the parted prompt, create a GPT partition table and a single partition spanning the whole disk:

mklabel gpt
mkpart primary ext4 0% 100%
quit
2

Format the partition

sudo mkfs.ext4 /dev/sdb1

Create a mount point and mount the disk

1

Create a folder to mount to

This example uses /home2, but any empty folder works. Make sure the folder doesn't already exist with files in it: mounting over an existing folder hides its contents and can make the system harder to work with until you unmount it again.

sudo mkdir /home2
2

Mount the partition

sudo mount /dev/sdb1 /home2

Confirm it's mounted:

lsblk
df -h

Make the mount persistent

1

Find the partition's UUID

sudo blkid
2

Add an entry to /etc/fstab

Open /etc/fstab and add a line for the new partition, following the format of the existing entries, using the UUID from the previous step:

UUID=your-uuid-here  /home2  ext4  defaults  0  2

The disk now mounts automatically at boot. Test it without rebooting by unmounting and remounting via fstab:

sudo umount /home2
sudo mount -a

If a step doesn't go as expected, especially around partitioning, stop and contact support before continuing. Partitioning mistakes on the wrong disk can cause data loss.

Related articles

  • How to add or remove a user on your Linux server
  • How to add additional static IPs
Was this article helpful?

Solid IT. No Surprises

Sparring partner for IT maturity
Eliminating barriers so you can run
Predictable and transparant costs

Contact

  • Industriestraat 53, Naaldwijk
  • Payment Methods
  • Abuse
  • Developers Resources
  • Network Operations Center
  • About us
  • Meet the team
  • Jobs
  • Become a reseller
  • Certifications
  • Our data centers
  • Our network
  • DDoS Protection
  • AMD EPYC servers
  • Technology Partners
  • Operating Systems
  • Overview
  • FAQ
  • Cases
  • News & Blogs
  • Use Cases
Nederlands
Deutsch
Español
Nederlands
Deutsch
Español
  • Legal
  • Disclosure