computer_science:linux:linux_mount_drive

This is an old revision of the document!


Mounting a Drive in Linux

Make a folder to mount the drive to:

mkdir -p /mnt/data

Edit the fstab file

nano /etc/fstab

With your information

LABEL=storageprox /mnt/data ext4 defaults 0 2

Mount the new drive. If you get an error, comment out (#) the fstab entry

mount -a
  • computer_science/linux/linux_mount_drive.1615139199.txt.gz
  • Last modified: 2023/12/01 12:07
  • (external edit)