Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
DocumentaryTube
Admit one · Blog

How to Format and Mount a Disk on a Linux VPS

A safe, provider-neutral workflow for identifying, formatting, mounting, and persistently mounting a new Linux VPS data disk.
Opened Runtime5 min Written byDocumentaryTube Team

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make a newly attached VPS disk usable, first identify it from Linux’s live device information, then create a filesystem only if needed, mount it at a directory, and add a UUID-based entry to /etc/fstab if it should return after reboot. The provider-specific attachment step comes first; the commands below are generic Linux guidance. Never assume a device such as /dev/sdb is the new disk without verifying it.

Before you start: attach and identify the disk

Attach the volume through your VPS provider’s control panel or CLI, following that provider’s current instructions. Linux cannot mount a volume the host does not yet see, and providers may require particular attachment steps or device handling.

On the VPS, inspect the devices and filesystem identifiers:

lsblk -o NAME,SIZE,TYPE,FSTYPE,LABEL,UUID,MOUNTPOINTS
sudo blkid

Compare the device tree, capacity, filesystem type, UUID, and mount points. Confirm that the candidate is not the boot or root device, swap, an existing data volume, or otherwise in use. The TYPE column and parent/child relationships help distinguish a whole disk from its partitions. If a volume was just attached and does not appear, device information may not have caught up; follow the discovery steps for your distribution and provider rather than guessing a device name. The lsblk manual notes that udev information can lag recently added or changed devices.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Choose the filesystem target and type

A simple data disk may use a filesystem directly on the whole device, or a partition table with a filesystem on a partition. Neither layout is universally right: consider whether you need multiple partitions, whether the provider or organization requires a layout, whether a filesystem already exists, and whether the volume must work with another operating system. The mkfs manual describes a partition as the usual target while allowing a block device; inspect your actual layout before choosing.

For a straightforward Linux-only data volume, ext4 is a reasonable general-purpose choice when provider rules and workload do not point elsewhere. It is not automatically the best filesystem for every workload or cross-platform requirement. See the ext4 manual and mke2fs manual.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Create a filesystem only if the target is confirmed

Formatting writes a filesystem to the selected device or partition and can destroy existing data. Stop if the target contains anything you need. If your confirmed layout uses a new partition for ext4, the command form is:

sudo mkfs.ext4 /dev/CONFIRMED_PARTITION

Replace /dev/CONFIRMED_PARTITION with the exact partition you verified. If the confirmed layout deliberately uses the whole disk, use that verified device instead. Do not copy a guessed name such as /dev/sdb or assume every disk has a partition named /dev/sdb1. Prefer the filesystem-specific mkfs.ext4 utility to the generic mkfs frontend.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Mount the filesystem for immediate use

Create the intended mount-point directory, then mount the confirmed device there. This example uses /mnt/data; choose a path that fits your system and application layout.

sudo mkdir -p /mnt/data
sudo mount /dev/CONFIRMED_DEVICE /mnt/data
findmnt /mnt/data

Substitute the verified device or partition. Check that findmnt shows the expected source at /mnt/data, then check available space before directing applications to it. A mount attaches the filesystem at that point in Linux’s unified file tree; while mounted, the directory view underneath is covered. Plan the target path and any existing contents before mounting. To detach it later, use sudo umount /mnt/data after ensuring applications are no longer using it. See the mount manual.

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Make the mount persistent with /etc/fstab

A manual mount is not a boot-time configuration. Get the new filesystem’s UUID with lsblk -f or sudo blkid, and confirm it belongs to this volume. Back up the existing /etc/fstab before editing; preserve its current entries.

Add an entry using the real UUID, mount point, filesystem type, options, dump field, and pass field. For a typical ext4 data volume, the pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.
UUID=REPLACE_WITH_REAL_UUID  /mnt/data  ext4  defaults  0  2

This is a template, not a literal UUID or universal option set. Use the actual filesystem type and the options appropriate for your system. UUID or LABEL identifiers are preferable to kernel names such as /dev/sdX, which can change as devices are added or removed. If filesystems have been cloned or copied, check that the UUID is unique. The fstab manual documents the entry fields and identifier tags; Red Hat’s RHEL 10 documentation also describes persistent UUID-based mounts.

Validate before rebooting:

sudo mount -a
findmnt /mnt/data
lsblk -f

If mount -a reports an error or findmnt does not show the expected mount, correct the entry before rebooting. Mount options and boot handling can depend on the distribution and the installed systemd and util-linux versions. For special or network-backed volumes, check the host’s manual and provider instructions; do not assume the generic example handles every boot scenario.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Common mistakes and fixes

  • Formatting the system disk: stop before running mkfs unless the target has been positively identified. Use the device tree and mounted paths to distinguish root and boot storage from the new volume.
  • Formatting the wrong layer: check whether the intended target is the whole disk or a partition. Match the command to the observed parent/child layout.
  • Putting /dev/sdX in fstab: replace it with the confirmed filesystem UUID or LABEL to avoid relying on device enumeration order.
  • Rebooting with a broken entry: run sudo mount -a and inspect the result first. Be especially careful with devices that may not always be present and verify any provider- or distribution-specific options.
  • Expecting old directory contents to remain visible: mounting covers the directory’s previous view while the filesystem is mounted there. Choose the path deliberately and account for existing files before mounting.
  • The volume is missing from lsblk: confirm attachment in the provider environment and follow its current device-discovery procedure for your distribution. Do not try random device names.

Or let it run in the cloud

If your goal is a 24/7 YouTube channel built from uploaded videos, disk administration is separate from keeping the stream online. StreamNeo is a cloud service for looping uploaded videos and playlists to YouTube: upload a recording, add your YouTube stream key, and go live. Nothing has to stay on at home; it streams the file as uploaded up to 4K 60fps at one price per slot, and it automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly: $9.99 per month. See StreamNeo or start your free day.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$229.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$151.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Screening Room

  1. Mexico’s Drug War BBC DocumentaryAdmit one · CrimeMexico's Drug War BBC DocumentaryOpened05 OCT 2026Runtime2 min
  2. Vincent Moon and Naná Vasconcelos: The World’s Hidden Music RitualsAdmit one · Personal TriumphsVincent Moon and Naná Vasconcelos: The World's Hidden Music RitualsOpened05 OCT 2026Runtime2 min
  3. 100 Greatest Discoveries – Origins And EvolutionAdmit one · Science100 Greatest Discoveries - Origins And EvolutionOpened05 OCT 2026Runtime3 min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.