dans /etc/exports je rajoute la ligne /export/records (rw) sans préciser d'hotes pour que tout les postes en profite.
Citation :
[root@VDRBOX export]#exportfs -a exportfs: No host name given with /export/records (rw), suggest *(rw) to avoid warning exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for export ": /export/records". Assuming default behaviour ('sync'). NOTE: this default has changed from previous versions exportfs: No host name given with /export/records (rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2), suggest *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) to avoid warning [root@VDRBOX export]# service nfs restart Shutting down NFS mountd: [ OK ] Shutting down NFS daemon: [ OK ] Arrêt des services NFS : [ OK ] Lancement des services NFS : [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ]
sur le client (Mandriva 2006 sous vmware)
Citation :
[root@localhost ~]#mount -t nfs 192.168.0.6: /export/records /VdrBox/Video/Records mount: 192.168.0.6: /export/records failed, reason given by server: Permission non accordée
Quelle est la connerie qui m'aveugle ? j'ai pas de firewall sur les machines, tous les services tournent : nfsd, rpc.statd, portmap
Marsh Posté le 29-01-2006 à 17:50:05
Salut,
Je suis a bout avec nfs... ça fait des heures que je patauge sur un partage à 2 balles
Sur mon serveur je veux partager le rep /video/records
[root@VDRBOX export]#chmod 777 /video/records
[root@VDRBOX export]#ln -s /video/records /export/records
[root@VDRBOX export]#chmod 777 /export/records
dans /etc/exports je rajoute la ligne /export/records (rw)
sans préciser d'hotes pour que tout les postes en profite.
[root@VDRBOX export]#exportfs -a
exportfs: No host name given with /export/records (rw), suggest *(rw) to avoid warning
exportfs: /etc/exports [2]: No 'sync' or 'async' option specified for export ": /export/records".
Assuming default behaviour ('sync').
NOTE: this default has changed from previous versions
exportfs: No host name given with /export/records (rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2), suggest *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) to avoid warning
[root@VDRBOX export]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Arrêt des services NFS : [ OK ]
Lancement des services NFS : [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
sur le client (Mandriva 2006 sous vmware)
[root@localhost ~]#mount -t nfs 192.168.0.6: /export/records /VdrBox/Video/Records
mount: 192.168.0.6: /export/records failed, reason given by server: Permission non accordée
Quelle est la connerie qui m'aveugle ?
j'ai pas de firewall sur les machines,
tous les services tournent :
nfsd, rpc.statd, portmap