How to mount and unmount a hard drive in Linux?
Techie, tutorials June 25th, 2010
I lease multiple Linux servers. One of them has multiple hard drives installed in it. After asking the data center to reload the OS on it, the staff only mounted one of the drives. Surprisingly it is extremely easy for anyone with a root access to mount a hard drive on a Linux-based system. Here I will show you the very basic ways to mount and unmount a hard drive.
For starters, you should first see what hard drives and partitions are available. A real quick way to see the available hard drives in your system is to run the command fdisk -l. The results will give you some helpful information about the drive(s), as well as information on the partitions.
I should point out that your hard drive or drives might be identified on your system as hd or sd. If you have multiple drives they will be identified by a letter, i.e. hda / hdb, or sda /sdb. The partitions on each drive will be identified numerically, i.e. hda1 /hda2, or sdb1 /sdb2. You can see this in the screenshot above.
Here is how to mount a hard drive in Linux.
First thing you should do is create a directory where the drive or partition will be mounted. In my case, I use the second hard drive for backups so I…



