nfs-server Daemon fails to start

Ask questions about Arch Linux ARM. Please search before making a new topic.

nfs-server Daemon fails to start

Postby hilikustue » Fri Feb 03, 2012 7:56 am

Hi there,

I am trying to set up an NFS on my Pogo and I ran into a problem:

So in /etc/exports I typed in this line
$this->bbcode_second_pass_code('', '/media/wd_extern1/ 192.168.2.100(rw,sync)
')

My /etc/conf.d/nfs-common.conf looks like this:
$this->bbcode_second_pass_code('', '
GNU nano 2.2.6 File: nfs-common.conf

# Parameters to be passed to nfs-common (nfs clients & server) init script.
#

# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid alternatives
# for the NEED_ options are "yes" and "no".

# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD="yes"

# Options to pass to rpc.statd.
# See rpc.statd(8) for more details.
# N.B. statd normally runs on both client and server, and run-time
# options should be specified accordingly.
# STATD_OPTS="-p 32765 -o 32766"
STATD_OPTS="--no-notify"

# Options to pass to sm-notify
# e.g. SMNOTIFY_OPTS="-p 32764"
[ Read 40 lines (Warning: No write permission) ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
')

and my /etc/conf.d/nfs-server.conf looks like this
$this->bbcode_second_pass_code('', '
GNU nano 2.2.6 File: nfs-server.conf

# Parameters to be passed to nfs-server init script.
#

# Options to pass to rpc.nfsd.
# See rpc.nfsd(8) for more details.
NFSD_OPTS=""

# Number of servers to start up; the default is 8 servers.
NFSD_COUNT=""

# Where to mount nfsd filesystem; the default is "/proc/fs/nfsd".
PROCNFSD_MOUNTPOINT=""

# Options used to mount nfsd filesystem; the default is "rw,nodev,noexec,nosuid$
PROCNFSD_MOUNTOPTS=""

# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option.
[ Read 29 lines (Warning: No write permission) ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
')

Basically I sticked to this guide here https://wiki.archlinux.org/index.php/NFS and only changed what they wrote and of course my folder and the Pogo which should be shared.

When I try to start the Daemons, the last one
$this->bbcode_second_pass_code('', '# rc.d start nfs-server (or: rc.d start nfsd)
')
brings a nice [FAIL] but I am completely clueless to why.

Any suggestions?

I am only trying to access this drive from my Mac via NFS because I heard it is faster/more stable and simply better then smb in this case.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: nfs-server Daemon fails to start

Postby WarheadsSE » Fri Feb 03, 2012 1:15 pm

Device?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: nfs-server Daemon fails to start

Postby hilikustue » Fri Feb 03, 2012 1:17 pm

It is a Pogoplug Pro with ArchlinuxARM (obviously).

Or what did you mean?
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: nfs-server Daemon fails to start

Postby WarheadsSE » Fri Feb 03, 2012 3:02 pm

The 2.6.31 kernel has some NFS issues as it stands, and you'll at least want to make sure you are using NFSv3 protocols.

The 3.1+ kernel (not yet ready for release) has been tested to work well with all of NFS, so that may prove as some comfort down the road.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: nfs-server Daemon fails to start

Postby hilikustue » Fri Feb 03, 2012 3:17 pm

Ok Thanks.

Since I don't need it that bad I will just lean back and wait for the release of the new kernel.

P.S. Will this work simply via pacman -Syyuu ?
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: nfs-server Daemon fails to start

Postby WarheadsSE » Fri Feb 03, 2012 3:46 pm

Will what work ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: nfs-server Daemon fails to start

Postby hilikustue » Fri Feb 03, 2012 4:00 pm

The kernel update, when it is released.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: nfs-server Daemon fails to start

Postby WarheadsSE » Fri Feb 03, 2012 4:56 pm

Ah, we'll hit that bridge when we get there.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests