Visit Our UNIX and Linux User Community


Problem to auto mount on NFS server


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Problem to auto mount on NFS server
# 1  
Old 11-10-2007
Problem to auto mount on NFS server

I am new in Ubuntu and i use Ubuntu 7.10, and have problem to mount automatic when i reboot computer,

Here is my /etc/fstab

192.168.0.91:/home/DATA/it /home/USER/usertest/Documents/Z nfs defaults 0 0

I try many option in that line, but the result is same, I cannot automatic mounting the NFS server when i reboot the computer.
I Read ubuntu documentation, seems that i dont miss any steps.

Is there any mistake? because usually I use other distro(redhat, fedora) has no problem with same configuration.

Thank you.
# 2  
Old 11-10-2007
What happens when you type

Code:
mount /home/USER/usertest/Documents/Z

# 3  
Old 11-10-2007
Quote:
Originally Posted by porter
What happens when you type

Code:
mount /home/USER/usertest/Documents/Z

I can mount the NFS server, everything fine, i can read and write too.
The problem is when i restart my computer, seems that fstab cannot read my line.
# 4  
Old 11-10-2007
Quote:
Originally Posted by blesets
The problem is when i restart my computer, seems that fstab cannot read my line.
Or, it can read your line, else mount would not work, but the nfs services required may not be ready.

Do you have an initialisation script that runs towards the end of booting up that you could add a "mount -a" or "mountall" or equivalent?
# 5  
Old 11-10-2007
Quote:
Originally Posted by porter
Or, it can read your line, else mount would not work, but the nfs services required may not be ready.

Do you have an initialisation script that runs towards the end of booting up that you could add a "mount -a" or "mountall" or equivalent?
NFS server, is running well. Any system mount to NFS server without problems.

Good idea, I try to add "mount -a" in rc.local, like your suggestion, it's work.
But i think this solution is little bit strange. In other disro, even in BSD everything fine, when I just add line NFS mounting in fstab.
Can you explain to me? why it could happen.

Thank you @porter.
# 6  
Old 11-10-2007
Quote:
Originally Posted by blesets
Can you explain to me? why it could happen.
You would need to analyse your system boot up, I suggest start with the system message log.

Previous Thread | Next Thread
Test Your Knowledge in Computers #231
Difficulty: Easy
The TCP/IP communications protocols were developed for the ARPANET by Robert Kahn, Vint Cerf and Don Henley of the Eagles.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

2. AIX

can not mount from aix client to linux nfs server

Hi, I am trying to mount a nfs folder from AIX client to Linux NFS Server, but I got the following error: # mount 128.127.11.121:/aix /to_be_del mount: 1831-010 server 128.127.11.121 not responding: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out mount: retrying... (1 Reply)
Discussion started by: victorcheung
1 Replies

3. Web Development

NFS Share & Mount problem

Hi, I want to mount an NFS Shared folder on Windows XP to vxWorks. There doesnt seem to be a problem with the sharing. Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term: hostAdd... (0 Replies)
Discussion started by: chinmayzen
0 Replies

4. Solaris

NFS VS Auto Mount problem

Dear All, Struck with a peculiar problem a) /opt/a is auto mounted to /home/a for User:a When the User logs in to the server his home directory is getting mounted from the autofs i.e /home/a (/opt/a), Instead is has to mount the User home dir from NIS which is /home/a (from NIS). ... (2 Replies)
Discussion started by: saiprashant
2 Replies

5. Red Hat

NFS mount point problem

Hi Forum I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ). After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the... (15 Replies)
Discussion started by: rajdasuwal
15 Replies

6. UNIX for Advanced & Expert Users

can i mount nfs share on windows 2003 server

this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies

7. UNIX for Advanced & Expert Users

Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3

This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies

8. UNIX for Dummies Questions & Answers

Remote server mount slow - NFS

Hi, Following my last post I've mounted the remote server on my local server. However copying files from this mounted server is increadbily slow. If I copy files using rcp it's very fast so I assume there must be a setting somewhere? Any help appreicated. Thanks (2 Replies)
Discussion started by: AngryBunny
2 Replies

9. UNIX for Dummies Questions & Answers

NFS mount problem

Hello, I'm trying to create an NFS mount on server1 to server2. From the man pages I think I'm doing it right: mount server2:/dev/vg60/lvol607 /net1 nfs mount: server1:/dev/vg60/lvol607: Permission denied Do I need to provide login credentials to server 2 somehow? What am I missing? ... (1 Reply)
Discussion started by: FredSmith
1 Replies

10. Solaris

nfs mount problem

I have a NFS share on a Linux server. When I try to mount it on a Solaris 9 server, I get the following message: nfs mount: <nfs-server-name>: : RPC: Program not registered I have a few other Sun boxes and I can mount the share on them without any problems. (2 Replies)
Discussion started by: soliberus
2 Replies

Featured Tech Videos