FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-29-2010, 12:30 PM
Oliver Joa
 
Default Bug#598493: nfs-exports does not work after reboot

Package: nfs-kernel-server
Version: 1.2.2-4
Kernel: 2.6.30-2-686
Debian: testing

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
 
Old 09-29-2010, 01:04 PM
Bastian Blank
 
Default 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
 
Old 09-29-2010, 01:09 PM
Oliver Joa
 
Default 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


/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)
/export/olli
gutemine(rw,no_subtree_check,anonuid=1000,anongid= 1000,nohide)
10.11.0.1(rw,no_subtree_check,anonuid=1000,anongid =1000,nohide)
/export/share
gutemine(rw,no_subtree_check,anonuid=1000,anongid= 1000,nohide)
asterix(rw,no_subtree_check,anonuid=1000,anongid=1 000,nohide)
10.11.0.1(rw,no_subtree_check,anonuid=1000,anongid =1000,nohide)
/home/ftp/pub/multimedia/audio/mp3/ video2(ro,async,subtree_check)
/home/ping asterix(rw,sync,no_subtree_check)
/home/share asterix(rw,sync,no_subtree_check)
gutemine(rw,sync,no_subtree_check)
/mnt/ asterix(ro,async,subtree_check)
/mnt/scratch gutemine(rw,sync,no_subtree_check)
wind(rw,sync,no_subtree_check)
/mnt/video0/ video*(rw,no_root_squash,async,no_subtree_check)
gutemine(ro,async,subtree_check)
/mnt/video1/ video*(rw,no_root_squash,async,no_subtree_check)
gutemine(ro,async,subtree_check)
/mnt/ x5(ro,async,no_subtree_check,subtree_check)
/tftpboot/root-idefix-ng idefix(rw,no_root_squash,sync,no_subtree_check)
/tftpboot/root-obelix obelix(rw,no_root_squash,sync,no_subtree_check)
/tftpboot/root-router router(rw,no_root_squash,sync,no_subtree_check)
/tftpboot/root-test x4(rw,no_root_squash,sync,no_subtree_check)
/tftpboot/root-video2 video2(rw,no_root_squash,sync,no_subtree_check)
/tftpboot/root-video3 video3(rw,no_root_squash,sync,no_subtree_check)
/usr/local/opt asterix(ro,no_root_squash,async,subtree_check)
/var/local/backup/neuinstallation-ffm/v2-lenny-64-2010.04.12
10.0.0.250(rw,no_subtree_check,no_root_squash)

Thanks

Olli



--
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
 
Old 09-29-2010, 03:45 PM
Bastian Blank
 
Default 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
 
Old 09-29-2010, 03:55 PM
Oliver Joa
 
Default 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:

olli@majestix:/etc/rc2.d$ ls -la *nfs* *bind*
lrwxrwxrwx 1 root root 15 27. Dez 2009 S04bind9 -> ../init.d/bind9
lrwxrwxrwx 1 root root 20 7. Mai 10:42 S16nfs-common ->
../init.d/nfs-common
lrwxrwxrwx 1 root root 27 7. Mai 10:42 S17nfs-kernel-server ->
../init.d/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
 
Old 10-11-2010, 08:33 PM
Oliver Joa
 
Default 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
 
Old 10-14-2010, 01:56 PM
Oliver Joa
 
Default 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
 
Old 10-15-2010, 07:47 PM
Petter Reinholdtsen
 
Default 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
 
Old 10-17-2010, 01:05 AM
Ben Hutchings
 
Default 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.
 
Old 10-17-2010, 04:32 AM
Petter Reinholdtsen
 
Default 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
 

Thread Tools




All times are GMT. The time now is 02:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org