Professional Documents
Culture Documents
Complete Guide For Mounting Drives in RHEL CentOS
Complete Guide For Mounting Drives in RHEL CentOS
LinuxTechLab.com
Originally published on
LinuxTechLab.com
In this tutorial, we are going to discuss how we can mount various devices on a
RHEL/CentOS system using command line interface.
To unmount a device
To unmount an already mounted device, run
$ umount mount_point
For example, if a device is mounted at /newdrive & needs to be unmounted, run
$ $ umount /newdrive
Mounting a CD/DVD
To mount a CD/DVD onto the system, run
$ mount -t iso9660 -o ro /dev/cdrom /mnt
Here, /mnt is mount point for CD-Rom. To permanently mount a CD/DVD-rom on the
system, open /etc/fstab file & add
$ vi /etc/fstab
/dev/cdrom /mnt iso9660 defaults 0 0
(Recommended Read: Creating SWAP partition using Fdisk & Fallocate commands)
Thats it guys, this was our tutorial on mounting various devices on RHEL/CentOS
machines. I hope this was informative article, please leave any queries/suggestion down
below in the comment box.
If you think we have helped you or just want to support us, please consider these :-
Connect to us: Facebook | Twitter | Google Plus
LinuxTechLab.com