请教:nfs,已设置rw=host,写操作时仍提示Permission denied
nfs,已设置rw=host,但mkdir时仍提示Permission denied
nfs server中/etc/hosts已经添加了客户端主机名。
没有找到原因,请兄弟们告知。谢谢!
具体配置如下:
nfs server:
bash-2.03# more /etc/dfs/dfstab
# Place share(1M) commands here for automatic execution
# on entering init state 3.
#
# Issue the command '/etc/init.d/nfs.server start' to run the NFS
# daemon processes and the share commands, after adding the very
# first entry to this file.
#
# share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
# .e.g,
# share -F nfs -o rw=engineering -d "home dirs" /export/home2
share -F nfs -o rw=mail /mail/maillog/mmplog
bash-2.03# showmount -e
export list for nfs_server:
/mail/maillog/mmplog mail
bash-2.03# dfshares
RESOURCE SERVER ACCESS TRANSPORT
nfs_server:/mail/maillog/mmplog nsf_server - -复制代码
nfs client:
bash-2.03# mount -F nfs nfs_server:/mail/maillog/mmplog /mnt/maillog/mail/mmp/
bash-2.03# df -k|grep nfs_server
nfs_server:/mail/maillog/mmplog 70314482 34539444 35071894 50% /mnt/maillog/mail/mmp
bash-2.03# mkdir /mnt/maillog/mail/mmp/testdir
mkdir: Failed to make directory "/mnt/maillog/mail/mmp/test"; Permission denied
复制代码
[ 本帖最后由 fluke888 于 2006-7-29 21:53 编辑 ]