To mount a shared folder Samba (Samba) is necessary to install the package cifs-utils , in the command console:
yum -y install cifs-utils
Manual mounts (console)
mount -t cifs //192.168.ххх.ххх/shared folder -o username=Your user,iocharset=utf8,password=хххххх
The same can be repeated through the /etc/fstab, open it
nano /etc/fstab
and add to the end
//192.168..ххх.ххх/shared folder cifs username=Your user,iocharset=utf8,password=хххххх
Write and exit Ctrl+O Ctrl+X, now the ball after a system restart will be installed automatically.
Unmounting shared folder team
umount /mnt/shared folder
To install the necessary NFS mount nfs-utils package libraries
yum install nfs-utils nfs-utils-lib
Create a directory in the directory share
mkdir -p /mnt/share
И цепляем ее
mount 192.168.ххх.ххх:/shared folder in NFS /mnt/share
To automatically mount when you restart in the /etc/fstab list the line
192.168.ххх.ххх:/shared folder in NFS /mnt/share nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0
You can not split hairs
192.168.ххх.ххх:/shared folder in NFS /mnt/share nfs auto,nfsvers=3,tcp 0 0
Unmounting the same, see the command above.
Like this.