Mount NFS Share Oracle Linux 6

Mount NFS Share Oracle Linux 6

Mount NFS Share Oracle Linux 6

This post covers the basic on mounting a NFS mount point onto an Oracle Linux Server. At this point we are assuming you already have a NFS mount point, and you just need to mount it on your brand new Oracle box. Let’s get started!

Login, and su to root

Root shell on Oracle Linux

the very first thing we need to do (if not yet done) is install nfs-utils

Running yum -y install nfs-utils on Oracle Linux 6 to install the NFS client tools

done! Now we need to make a folder to mount our NFS Share to, we will use /mnt (the directory specifically for mounts)

Running mkdir /mnt/NFSTEST on Oracle Linux 6 to create the NFS mount point

let’s mount! Open up fstab

Opening /etc/fstab in vi on Oracle Linux 6 to add the NFS share as a permanent mount

here’s a look at our present fstab

/etc/fstab with the NFS share line added

as you can see we have added the info for the mount point, at this point it’s up to you to fill out the correct information, all you really need is the NFS server IP, and the full path to the mount

save + quit

ONLY DO THIS NEXT COMMAND IN OFF-BUSINESS HOURS, ALL FILESYSTEMS WILL BE RE-MOUNTED. NOT RESPONSIBLE FOR ANY DAMAGES!!!

Running mount -a on Oracle Linux 6 to mount the NFS share from fstab

you should be returned to the # sign after the mount -a command

mount -a returning to the prompt with no errors

now let’s verify our NFS mount worked with df -h

df -h showing the NFS share mounted on /mnt/NFSTEST

as you can see there is a new filesystem, and it’s mounted to /mnt/NFSTEST

That’s it! You have mounted a NFS share on Oracle Linux 6

Hosted Oracle Linux boxes at www.zwiegnet.com/go

Related guides: Mount NFS Share on CentOS 6 | input/output error from NFS client on CentOS

Leave a Reply

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