NFS mounting issue


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NFS mounting issue
# 1  
Old 08-28-2014
Linux NFS mounting issue

The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports
i have added the following line
Code:
 /home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash)

i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using the following command
Code:
mkdir /mnt/nfs
mount -t 10.2.2.24:/home /mnt/nfs

but it is not mounting nfs sharing please guide me to rectify that

Last edited by Don Cragun; 08-30-2014 at 01:41 AM.. Reason: Add CODE tags.
# 2  
Old 08-28-2014
Hi,

Your command is missing the fstype operand as in;

Code:
mount -t nfs 10.2.2.24:/home /mnt/nfs

Also, could you please use code tags it makes things much easier to read.

Regards

Dave

Last edited by gull04; 08-28-2014 at 09:00 AM.. Reason: Additional info.
# 3  
Old 08-28-2014
Please use code tags as required by forum rules!

What IP is your client? That nfs- export is visible to subnet 10.0.0 only, with a 24 bit subnetmask, so a router will be needed between server and allowed clients. Unfortunately, I don't have any experience with nfs across routers.
# 4  
Old 08-28-2014
NFS mounting error

i have used the following command also it is not working
Code:
mount -t nfs 10.2.2.24:/home /mnt/nfs


Last edited by Don Cragun; 08-30-2014 at 01:42 AM.. Reason: Add CODE tags.
# 5  
Old 08-28-2014
Hi,

Also having read this again, I doubt if you'll be able to do this easilly without changes to the networking as well - there may even be a need to have static routes set up by the network team if you have one.

Abain could you please use code tags.

Regards

Dave
# 6  
Old 09-02-2014
Check if your firewall blocked the ports
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mounting NFS

Hi, I am having some issues mounting NFS files. for some reason the mount -F nfs is not being recognized.. bash-3.2# mount -F nfs -o rw 192.168.245.129:/mnt/nfs1/ /mnt UX:vxfs mount: ERROR: V-3-20135: FSType nfs not recognized UX:vxfs mount: INFO: V-3-20147: Usage: mount {special |... (5 Replies)
Discussion started by: br1an
5 Replies

2. Red Hat

NFS mounting from client pc

The server ip is 10.2.2.24. I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home 10.2.2.0/24(rw,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (1 Reply)
Discussion started by: ainstin
1 Replies

3. UNIX for Advanced & Expert Users

Mounting a directory using nfs version4

Hi, I would like to know how can we mount a directory using nfs v4 ? When I use the below command, I am not sure what nfs version am using to mount the directory. mount -t <server_name>:<shared_directory> <shared_directory>. eg: mount -t 10.50.0.8:/home/arun/mount/share_dir... (7 Replies)
Discussion started by: arunsriniv
7 Replies

4. Red Hat

Mounting NFS (CentOS5.6 x64bit) issue on CentOS6.4 x64bit

Hello, We have NFS server setup on CentOS5.6 x64bit with nfs 3 version. Now we have setup a another server CentOS6.4 x64 bit and going to mount nfs location (Which setup on CentOS5.6 x64bit). Now when i am mounting this location on CentOS6.4 x63 bit, below error is displaying. # mount -o... (2 Replies)
Discussion started by: sunnysthakur
2 Replies

5. UNIX for Dummies Questions & Answers

Mounting NFS filesystem

Hi All, I need to mount an nfs filesystem as below. xxx.xx.xx.xxx:/media/nss/Rocky Catherine/logs For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work? mount "xxx.xx.xx.xxx:/media/nss/Rocky... (2 Replies)
Discussion started by: Rockyc3400
2 Replies

6. Solaris

Help mounting nfs on boot on Solaris 11

Hello, I am looking for some assistance in mounting an nfs drive on boot, on a Solaris 11 machine. On my Solaris 9/10 machines, I have an entry for my nfs mount in /etc/vfstab, however when I add the same entry to my vfstab on Solaris 11, the drive will not mount on boot. After booting up, I... (5 Replies)
Discussion started by: bstring
5 Replies

7. UNIX for Advanced & Expert Users

NFS : Invalid argument (Remote share mounting issue)

Hi Guru's, I am unable to mount NFS share on unix system (DG/UX) which is nfs client. Error: mount: /nfsshare: Invalid argument mount: giving up on: /mountpoint i tried following command mount -t nfs remotehost:/nfsshare /mountpoint Error: (5 Replies)
Discussion started by: Justin John
5 Replies

8. Solaris

problem NFS mounting onto Solaris 10

On my Solaris 10 server, I want to share out the directory /export/home/data, so in the /etc/dfs/dfstab file, I have this line: share -F nfs -o rw /export/home/data In the /etc/hosts.equiv file, I have this: + When I do a "ps -ef" command, I see that the "nfsd' daemon is started. ... (2 Replies)
Discussion started by: serendipity1276
2 Replies

9. Linux

NFS not mounting during kickstart

Hi, Re-building linux server from a kickstart image on cdrom. We have a kickstart server. the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and other files needed during the kickstart (re-build) Now for some reason the kickstart stops and... (2 Replies)
Discussion started by: Andrek
2 Replies

10. OS X (Apple)

Mounting an NFS drive in OSX 10.3

Hi all ! I am looking for a command in the terminal or GUI to mount an NFS drive. Second , is there any solution to get rid of / " * in old files names I know it can be done i just dont know how ! Hope that some one can help Best R. Yovel (2 Replies)
Discussion started by: yoveln
2 Replies
Login or Register to Ask a Question