NFS pogoplug pro?

This forum is for all other ARMv5 devices

NFS pogoplug pro?

Postby chaskito » Fri Mar 09, 2012 9:45 pm

For some reason samba has been a little slower than I would like, and I have been wanting to get NFS working. I am currently running a Pogo Pro with the newest kernel and packages (a dockstar sits in a box, wanting to run alarm). I have been waiting until I updated to the new kernel to try to attempt nfs configuration. First of all, it would save me a lot of trouble just to know if nfs is currently working for anyone. I have configured using NFSv4, should I configure using NFS v3 or earlier per the "NFS" arch wiki? I have attempted "exporting" my /media, just to try things out.

Thanks in advance, I greatly appreciate the wealth of knowledge on this board....I am sure I am making a very "newbie-esque" mistake. My configuration files follow.

/etc/fstab
$this->bbcode_second_pass_code('', '#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0

#NFS exports
nfsd /proc/fs/nfsd nfsd rw,user,nodev,exec,nosuid 0 0
/media /media none bind


#NFS mounts
xenoplug2:/media /mnt/xenoplug2/media nfs4 rw,user,noauto,exec 0 0
#/media /export/media nfs4 bind 0 0

')

/etc/exports
$this->bbcode_second_pass_code('', '/export/xenoplug2.music 192.168.0.1/255.255.255.0(rw,async,nohide,no_root_squash)
/export/cinema 192.168.0.1/200(rw,async,nohide,no_root_squash)
/export/torrent 192.168.0.1/200(rw,async)
/media 192.168.0.1/255.255.255.0(rw,async,no_subtree_check,no_root_squash,nohide)
')

/etc/idmapd.conf
$this->bbcode_second_pass_code('', '[General]

Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = xenoplug2-serv

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody

[Translation]

Method = nsswitch

')


/etc/conf.d/nfs-common.conf
$this->bbcode_second_pass_code('', '# 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=""

# 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="-p 32765 -o 32766"

# Options to pass to sm-notify
# e.g. SMNOTIFY_OPTS="-p 32764"
SMNOTIFY_OPTS=""

# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=""

# Options to pass to rpc.idmapd.
# See rpc.idmapd(8) for more details.
IDMAPD_OPTS=""

# Do you want to start the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=""

# Options to pass to rpc.gssd.
# See rpc.gssd(8) for more details.
GSSD_OPTS=""

# Where to mount rpc_pipefs filesystem; the default is "/var/lib/nfs/rpc_pipefs".
PIPEFS_MOUNTPOINT=""

# Options used to mount rpc_pipefs filesystem; the default is "defaults".
PIPEFS_MOUNTOPTS=""
')

/etc/conf.d/nfs-server.conf
$this->bbcode_second_pass_code('', '# 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.
# See rpc.mountd(8) for more details.
MOUNTD_OPTS="--no-nfs-version 1 --no-nfs-version 2"

# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD="no"

# Options to pass to rpc.svcgssd.
# See rpc.svcgssd(8) for more details.
SVCGSSD_OPTS=""
')

Any other files I should include? Sorry for all the code - just want to be thorough,

the error I receive after trying to start "nfs-common" is
$this->bbcode_second_pass_code('', '# /etc/rc.d/nfs-common start
:: Starting rpc.statd daemon [DONE]
:: Mounting pipefs filesystem [BUSY] ERROR: could not insert 'nfsd': No such file or directory
[DONE]
:: Starting rpc.idmapd daemon ')

thanks!
chaskito
 
Posts: 26
Joined: Sun Feb 27, 2011 8:50 pm

Re: NFS pogoplug pro?

Postby PKG » Sun Mar 11, 2012 8:05 pm

nfs not included in current pogoplug pro kernel so nfs wont work
PKG
 
Posts: 26
Joined: Thu Jun 30, 2011 8:57 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 3 guests