[Systems] nfs errors
dfarning at sugarlabs.org
dfarning at sugarlabs.org
Sun Nov 22 08:31:59 EST 2009
NFS is working fine on sunjammer but I can not access the exports from aslo-web. Taking Sache's advice I switched to using only ip address.
The relevant files:
sunjammer:/etc/exports
------------------
<snip>
#dfarning
#add nfs exports for a.sl.o shares
/srv/nfs/activities/files 140.186.70.53(rw,no_subtree_check) 140.186.70.123(rw,no_subtree_check)
/srv/nfs/activities/staging 140.186.70.53(rw,no_subtree_check) 140.186.70.123(rw,no_subtree_check)
-----------------
sunjammer:/etc/fstab
-------------------
<snip>
#dfarning
#add nfs mountpoints for aslo-web node
140.186.70.53:/srv/nfs/activities/files /srv/www-sugarlabs/activities/files nfs rsize=8192,wsize=8192,timeo=14,intr
140.186.70.53:/srv/nfs/activities/staging /srv/www-sugarlabs/activities/staging nfs rsize=8192,wsize=8192,timeo=14,intr
#dfarning
#add nfs mountpoints for download.sl.org
140.186.70.53:/srv/nfs/activities/staging /srv/upload/activities nfs rsize=8192,wsize=8192,timeo=14,intr
-------------------
This seems to work fine. Yet when I try to mount from aslo-web I get the following error:
dfarning at aslo-web:~$ sudo mount -vv /srv/activities/files
mount.nfs: timeout set for Sun Nov 22 08:11:49 2009
mount.nfs: text-based options: 'rsize=8192,wsize=8192,timeo=14,intr,addr=140.186.70.53'
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed
The relevant files:
aslo-web:/etc/fstab
------------------
<snip>
#dfarning
#add nfs mountpoints for aslo-web node
140.186.70.53:/srv/nfs/activities/files /srv/activities/files nfs rsize=8192,wsize=8192,timeo=14,intr
140.186.70.53:/srv/nfs/activities/staging /srv/activities/staging nfs rsize=9192,wsize=8192,timeo=14,intr
-------------------
sunjammer:/etc/hosts.deny
-------------------
<snip>
#dfarning
#added to restrict access to nfs
portmap mountd nfsd statd lockd rquotad : ALL
-------------------
sunjammer:/etc/hosts.allow
--------------------
<snip>
#dfarning
#allow aslo-web access to nfs shares
portmap mountd nfsd statd lockd rquotad : 140.186.70.123
---------------------
aslo-web:/etc/hosts.deny
--------------------
<snip>
#dfarning
#restrict nfs access
portmap : ALL
--------------------
also-web:/etc/hosts.allow
--------------------
<snip>
#dfarning
#restrict nfs access to sunjammer
ALL : 140.186.70.53
-------------------------
Am I missing anything obvious?
david
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 271 bytes
Desc: OpenPGP digital signature
Url : http://lists.sugarlabs.org/private/systems/attachments/20091122/36eb851d/attachment.pgp
More information about the Systems
mailing list