Everytime I startup my Server I have to "exportfs -a" manually. It
should be done in the init-scripts.
After startup I can not access my NFS exports. After running "exportfs
-a" it works perfectly.
Some days/weeks ago it was working, but after a "apt-get upgrade" it didn't.
regards
Olli
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CA3315E.7010205@j-o-a.de">http://lists.debian.org/4CA3315E.7010205@j-o-a.de
09-29-2010, 01:04 PM
Bastian Blank
Bug#598493: nfs-exports does not work after reboot
On Wed, Sep 29, 2010 at 02:30:22PM +0200, Oliver Joa wrote:
> Everytime I startup my Server I have to "exportfs -a" manually. It
> should be done in the init-scripts.
What is the content of /etc/exports?
Bastian
--
Captain's Log, star date 21:34.5...
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100929130412.GB23281@wavehammer.waldi.eu.org">ht tp://lists.debian.org/20100929130412.GB23281@wavehammer.waldi.eu.org
09-29-2010, 01:09 PM
Oliver Joa
Bug#598493: nfs-exports does not work after reboot
On 29.09.2010 15:04, Bastian Blank wrote:
> On Wed, Sep 29, 2010 at 02:30:22PM +0200, Oliver Joa wrote:
>> Everytime I startup my Server I have to "exportfs -a" manually. It
>> should be done in the init-scripts.
>
> What is the content of /etc/exports?
>
> Bastian
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CA33AA6.4060507@j-o-a.de">http://lists.debian.org/4CA33AA6.4060507@j-o-a.de
09-29-2010, 03:45 PM
Bastian Blank
Bug#598493: nfs-exports does not work after reboot
On Wed, Sep 29, 2010 at 03:09:58PM +0200, Oliver Joa wrote:
> On 29.09.2010 15:04, Bastian Blank wrote:
> > What is the content of /etc/exports?
> /export gutemine(fsid=0,rw,no_subtree_check)
> asterix(fsid=0,rw,no_subtree_check) 10.11.0.1(fsid=0,rw,no_subtree_check)
Okay, all this names most probably come vie dns. Is the dns server
reachable at the time the init script is running?
Bastian
--
It would be illogical to kill without reason.
-- Spock, "Journey to Babel", stardate 3842.4
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100929154520.GY31142@wavehammer.waldi.eu.org">ht tp://lists.debian.org/20100929154520.GY31142@wavehammer.waldi.eu.org
09-29-2010, 03:55 PM
Oliver Joa
Bug#598493: nfs-exports does not work after reboot
Hi,
On 29.09.2010 17:45, Bastian Blank wrote:
> On Wed, Sep 29, 2010 at 03:09:58PM +0200, Oliver Joa wrote:
>> On 29.09.2010 15:04, Bastian Blank wrote:
>>> What is the content of /etc/exports?
>> /export gutemine(fsid=0,rw,no_subtree_check)
>> asterix(fsid=0,rw,no_subtree_check) 10.11.0.1(fsid=0,rw,no_subtree_check)
>
> Okay, all this names most probably come vie dns. Is the dns server
> reachable at the time the init script is running?
The dns-server (bind) is running on the same machine.
It should be started before the nfs-kernel-server:
I made some Debug-Prints in /etc/init.d/nfs-kernel-server:
date >> /tmp/startup 2>&1
host video2 >> /tmp/startup 2>&1
It shows the correct IP-Address....
Thanks
Olli
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CA36184.9020902@j-o-a.de">http://lists.debian.org/4CA36184.9020902@j-o-a.de
10-11-2010, 08:33 PM
Oliver Joa
Bug#598493: nfs-exports does not work after reboot
Hi,
On 29.09.2010 17:45, Bastian Blank wrote:
> On Wed, Sep 29, 2010 at 03:09:58PM +0200, Oliver Joa wrote:
>> On 29.09.2010 15:04, Bastian Blank wrote:
>>> What is the content of /etc/exports?
>> /export gutemine(fsid=0,rw,no_subtree_check)
>> asterix(fsid=0,rw,no_subtree_check) 10.11.0.1(fsid=0,rw,no_subtree_check)
>
> Okay, all this names most probably come vie dns. Is the dns server
> reachable at the time the init script is running?
I got some problem. First I thought I have standard init-process. With
the normal numbering bind should be before nfes-kernel-server. But now I
found that I have startup-concurrency "makefile". So I guess that bind
starts after nfs-kernel-server. Shouldn't there be some "Required-Start"
in the nfs-kernel-server?
Thanks
Olli
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CB3749E.5020202@j-o-a.de">http://lists.debian.org/4CB3749E.5020202@j-o-a.de
10-14-2010, 01:56 PM
Oliver Joa
Bug#598493: nfs-exports does not work after reboot
Hi,
On 29.09.2010 17:45, Bastian Blank wrote:
> On Wed, Sep 29, 2010 at 03:09:58PM +0200, Oliver Joa wrote:
>> On 29.09.2010 15:04, Bastian Blank wrote:
>>> What is the content of /etc/exports?
>> /export gutemine(fsid=0,rw,no_subtree_check)
>> asterix(fsid=0,rw,no_subtree_check) 10.11.0.1(fsid=0,rw,no_subtree_check)
>
> Okay, all this names most probably come vie dns. Is the dns server
> reachable at the time the init script is running?
now it seems to work. I added the following line in
/etc/init.d/nfs-kernel-server:
### BEGIN INIT INFO
...
# Should-Start: bind9
...
### END INIT INFO
Thanks
Olli
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CB70C17.7030300@j-o-a.de">http://lists.debian.org/4CB70C17.7030300@j-o-a.de
10-15-2010, 07:47 PM
Petter Reinholdtsen
Bug#598493: nfs-exports does not work after reboot
[Oliver Joa]
> now it seems to work. I added the following line in
> /etc/init.d/nfs-kernel-server:
>
> ### BEGIN INIT INFO
> ...
> # Should-Start: bind9
> ...
> ### END INIT INFO
I believe it is better to use $named instead of bind9. To work with
any local DNS service.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 2flocavtezl.fsf@login2.uio.no">http://lists.debian.org/2flocavtezl.fsf@login2.uio.no
10-17-2010, 01:05 AM
Ben Hutchings
Bug#598493: nfs-exports does not work after reboot
On Fri, 2010-10-15 at 21:47 +0200, Petter Reinholdtsen wrote:
> [Oliver Joa]
> > now it seems to work. I added the following line in
> > /etc/init.d/nfs-kernel-server:
> >
> > ### BEGIN INIT INFO
> > ...
> > # Should-Start: bind9
> > ...
> > ### END INIT INFO
>
> I believe it is better to use $named instead of bind9. To work with
> any local DNS service.
Except that nothing appears to provide $named yet.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
10-17-2010, 04:32 AM
Petter Reinholdtsen
Bug#598493: nfs-exports does not work after reboot
[Ben Hutchings]
> Except that nothing appears to provide $named yet.
How strange. At least powerdns and bind should provide it. See
/etc/insserv.conf*.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101017043247.GC23627@login2.uio.no">http://lists.debian.org/20101017043247.GC23627@login2.uio.no