nfs shares not mounted on boot

2010-10-26 Thread Denis Laxalde
Hello,

Recently nfs shares stopped being automatically mounted on 2 of my
machines. These are up-to-date squeeze systems and the nfs server runs
lenny. This used to work fine until one or two months ago.
I cannot see any relevant message in logs.

Any help would be appreciated

Cheers,

Denis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026104112.56217...@gmail.com



Re: nfs shares not mounted on boot

2010-10-26 Thread Erwan David
On Tue, Oct 26, 2010 at 04:41:12PM CEST, Denis Laxalde dlaxa...@gmail.com 
said:
 Hello,
 
 Recently nfs shares stopped being automatically mounted on 2 of my
 machines. These are up-to-date squeeze systems and the nfs server runs
 lenny. This used to work fine until one or two months ago.
 I cannot see any relevant message in logs.
 
 Any help would be appreciated
 
 Cheers,
 
 Denis

Are you sure they speak the same version of nfs ? squeeze is nfsv4 by
default, and I think lenny is nfsv3,  so a nfsvers option might help.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026153234.gg31...@rail.eu.org



Re: nfs shares not mounted on boot

2010-10-26 Thread Denis Laxalde
Le mardi 26 octobre 2010, Erwan David a écrit :
 Are you sure they speak the same version of nfs ? squeeze is nfsv4 by
 default, and I think lenny is nfsv3,  so a nfsvers option might help.

I don't know, but from nfs manual says that if this option (nfsvers) is
not specified, the client attempts to use version 3.
By the way, shares are mounted correctly invoking 'mount -a' after
boot.


Denis




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026115716.1e2be...@gmail.com



Re: nfs shares not mounted on boot

2010-10-26 Thread Tom H
On Tue, Oct 26, 2010 at 11:57 AM, Denis Laxalde dlaxa...@gmail.com wrote:
 Le mardi 26 octobre 2010, Erwan David a écrit :
 Are you sure they speak the same version of nfs ? squeeze is nfsv4 by
 default, and I think lenny is nfsv3,  so a nfsvers option might help.

 I don't know, but from nfs manual says that if this option (nfsvers) is
 not specified, the client attempts to use version 3.
 By the way, shares are mounted correctly invoking 'mount -a' after
 boot.

Since mount -a mounts them, you might need to add _netdev to your
fstab mount options.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=q82imu-aro2zmxe_cjoy3rppo-paezp7wo...@mail.gmail.com



Re: nfs shares not mounted on boot

2010-10-26 Thread Dirk Weber
Denis Laxalde schreef:

 Hello,
 
 Recently nfs shares stopped being automatically mounted on 2 of my
 machines. These are up-to-date squeeze systems and the nfs server runs
 lenny. This used to work fine until one or two months ago.
 I cannot see any relevant message in logs.
 
 Any help would be appreciated
 
 Cheers,
 
 Denis
 
 
I have a similar effect. My system is a squeeze, the server runs under ipfire.

In my fstab is a line

hubbywoop:/mnt/doedoe /home/dirk/IPFIRE nfs 
vers=3,defaults,users,rsize=8192,wsize=8192 0 0

but my system does not mount the nfs share when started, have to mount 
seperately.

I remember that in former times, when my system was with nfs3 that was no 
problem.

I cannot change ipfire to nfs4, so what can I do?

Groetjes uit Arft,

Dirk


-- 
D. Weber
Arft, Germany (50°23'N  7°5'E)
If possible, no html mails please


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2025049.p6gw7io...@dirkweber.eternal.september.org



Re: nfs shares not mounted on boot

2010-10-26 Thread Simon Brandmair
On Tue, 26 Oct 2010 17:00:03 +0200 Denis Laxalde wrote:
 Recently nfs shares stopped being automatically mounted on 2 of my
 machines. These are up-to-date squeeze systems and the nfs server runs
 lenny. This used to work fine until one or two months ago. I cannot see
 any relevant message in logs.

On my machines, nfs shares are mounted at boot time via /etc/network/if-
up.d/mountnfs. I once had the same problem, that shares were not 
automatically mounted anymore. I ran that script manually, mount failed 
with a error message that some file in /var didn't get removed properly. 
Solution: removed it by hand.

Cheers,
Simon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ia77k8$njd$0...@news.t-online.com



Re: nfs shares not mounted on boot

2010-10-26 Thread Denis Laxalde
Le mardi 26 octobre 2010, Simon Brandmair a écrit :
 On Tue, 26 Oct 2010 17:00:03 +0200 Denis Laxalde wrote:
  Recently nfs shares stopped being automatically mounted on 2 of my
  machines. These are up-to-date squeeze systems and the nfs server
  runs lenny. This used to work fine until one or two months ago. I
  cannot see any relevant message in logs.
 
 On my machines, nfs shares are mounted at boot time
 via /etc/network/if- up.d/mountnfs. I once had the same problem, that
 shares were not automatically mounted anymore. I ran that script
 manually, mount failed with a error message that some file in /var
 didn't get removed properly. Solution: removed it by hand.

Thanks, it solved the problem.
Also, there is an open bug about this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482176

Cheers,

Denis



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101026155305.790ff...@gmail.com