Skip to contentSkip to conversation

Mounting a partition at boot time from /etc/fstab

DISCUSSION Victor Sterpu 2 participants 2 messages Aug 16, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I try to mount the /var partition at boot time.

I receive the following error at boot time:
statd: server localhost not responding, time out
lockd: cannot monitor 192.168.250.90
lockd: failed to monitor 192.168.250.90

This is my /etc/fstab :
proc /proc proc defaults 0 0
192.168.250.90:/var/nfs/mail2.ambra.ro /var nfs defaults 0 0

When I do "mount 192.168.250.90:/var/nfs/mail2.ambra.ro /var" the partition is mounted succesfuly.
I use kernel 2.6.20 with nfs and automount support.

Haw can I mount this nfs partition at boot time?
Thank you.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

Hi Victor-

Quoted 7 lines · Victor Sterpu

I try to mount the /var partition at boot time.

I receive the following error at boot time:
statd: server localhost not responding, time out
lockd: cannot monitor 192.168.250.90
lockd: failed to monitor 192.168.250.90

Quoted 8 lines

This is my /etc/fstab :
proc /proc proc defaults 0 0
192.168.250.90:/var/nfs/mail2.ambra.ro /var nfs defaults 0 0

When I do "mount 192.168.250.90:/var/nfs/mail2.ambra.ro /var" the partition is mounted succesfuly. I use kernel 2.6.20 with nfs and automount support.

Haw can I mount this nfs partition at boot time?

Since the NFS file locking manager uses files in /var, you need to mount /var with the "nolock" mount option. See nfs(5).

begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA email;internet:chuck dot lever at nospam oracle dot com title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs