How to Attach Disks Using the mount Command in Linux

When you physically plug a massive USB array or a secondary NVMe drive into a Linux server, the kernel instantly detects the hardware, but the filesystem itself remains mathematically inaccessible. Unlike consumer operating systems that auto-attach external storage, a rigid Linux architecture requires you to manually and explicitly bridge the gap between the physical hardware and the operating system’s Virtual File System (VFS). To force this connection and make the data readable, you must use the mount command.

Understanding the Mounting Architecture

In the Linux matrix, everything is a file. The mount command takes a physical device block (e.g., /dev/sdb1) and algorithmically grafts it onto a specific, empty directory within your existing root filesystem. This directory acts as the portal to the physical drive. It is known as the “mount point.”

Executing the Filesystem Attachment

CRITICAL SYSTEM NOTE: Executing a secure mount operation requires absolute root privileges.

  1. First, you must create the mathematical portal (the empty directory). For example, to create a mount point in the /mnt directory for a backup drive, type:
    sudo mkdir /mnt/backup_drive
  2. Next, you must identify the exact physical device identifier using the lsblk command (e.g., /dev/sdc1).
  3. To violently attach the physical device to the portal, you execute the mount engine by providing the device first, followed by the directory:
    sudo mount /dev/sdc1 /mnt/backup_drive

The exact millisecond you press Enter, the kernel locks the filesystem. If you execute ls /mnt/backup_drive, you will instantly see the massive matrix of files and directories that physically exist on the external drive.

Volatile Architecture Warning: The mount command executes a volatile, temporary attachment. If you reboot the server, the connection is instantly severed. To execute a permanent, reboot-persistent attachment, you must forcefully hardcode the device UUID and mount point into the /etc/fstab configuration file.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.