Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Serwer NFS nie działa
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
cabana
n00b
n00b


Joined: 29 Mar 2011
Posts: 23
Location: Wrocław

PostPosted: Sat May 25, 2013 7:49 am    Post subject: Serwer NFS nie działa Reply with quote

Witajcie mam problem z serwerem NFS pod gentoo otóż nie działa on w ogóle.
Próbowałem łączyć się z sieci jak i po localhost i tak jest timeout przy próbie zamontowania udziału.
Firewall odblokowany.

Kernel
Code:
Linux usernode 3.8.6-hardened #12 SMP Sat May 11 23:08:53 CEST 2013 x86_64 Intel(R) Atom(TM) CPU D410 @ 1.66GHz GenuineIntel GNU/Linux


Do jądra dodane obsługa serwera NFS

/etc/conf.d/nfs

Code:

# /etc/conf.d/nfs

# If you wish to set the port numbers for lockd,
# please see /etc/sysctl.conf

# Optional services to include in default `/etc/init.d/nfs start`
# For NFSv4 users, you'll want to add "rpc.idmapd" here.
NFS_NEEDED_SERVICES="rpc.idmapd"

# Number of servers to be started up by default
OPTS_RPC_NFSD="8"

# Options to pass to rpc.mountd
# ex. OPTS_RPC_MOUNTD="-p 32767"
OPTS_RPC_MOUNTD=" -V 4 -N 3 -N 2"

# Options to pass to rpc.statd
# ex. OPTS_RPC_STATD="-p 32765 -o 32766"
OPTS_RPC_STATD=""

# Options to pass to rpc.idmapd
OPTS_RPC_IDMAPD=""

# Options to pass to rpc.gssd
OPTS_RPC_GSSD=""

# Options to pass to rpc.svcgssd
OPTS_RPC_SVCGSSD=""

# Options to pass to rpc.rquotad (requires sys-fs/quota)
OPTS_RPC_RQUOTAD=""

# Timeout (in seconds) for exportfs
EXPORTFS_TIMEOUT=30

# Options to set in the nfsd filesystem (/proc/fs/nfsd/).
# Format is <option>=<value>.  Multiple options are allowed.
#OPTS_NFSD="nfsv4leasetime=30 max_block_size=4096"


Proszę o jakieś wskazówki, w logu nic nie ma :(
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 691

PostPosted: Sat May 25, 2013 9:36 pm    Post subject: Re: Serwer NFS nie działa Reply with quote

cabana wrote:
Do jądra dodane obsługa serwera NFS

Wielu już miało „dodane” przed Tobą, dla pewności:
Code:
zgrep -i nfs /proc/config.gz

/etc/exports?
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
cabana
n00b
n00b


Joined: 29 Mar 2011
Posts: 23
Location: Wrocław

PostPosted: Sun May 26, 2013 8:26 am    Post subject: Reply with quote

Code:

gentoo linux-3.8.6-hardened # cat .config | grep NFS
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_SWAP is not set
# CONFIG_NFS_V4_1 is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFS_FSCACHE is not set
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
# CONFIG_NFSD_FAULT_INJECTION is not set
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y


Code:

# /etc/exports: NFS file systems being exported.  See exports(5).
/home/przemek/public   192.168.2.0/24(rw,nohide,insecure,no_subtree_check)
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 691

PostPosted: Wed May 29, 2013 9:02 pm    Post subject: Reply with quote

To NFSv4? To on działa? ;)

nfsd w ogóle startuje?

Jajo -hardened? Nie masz tam jakiegoś selinux?
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum