找到你要的答案

Q:refused mount request from 192.168.56.100 for /ovm/mypool1/poolfs (/): not exported

Q:拒绝安装要求192.168.56.100 / OVM / mypool1 / poolfs(/):不出口

Am trying to setup NFS mount point between servers:- db-rac and vm-manager. /ovm/mypool1/poolfs is a virtual disk mounted as shown below.

/dev/sdc 12G 159M 12G 2% /ovm/mypool1/poolfs

Following are my configurations:-

vm-manager(192.168.56.100):-

1) cat /etc/exports

/ovm/mypool1/poofs *(rw,no_root_squash)

2) [root@mymanager ~]# chkconfig nfs on

[root@mymanager ~]# service nfs start

[root@mymanager ~]# exportfs –a

3) [root@vm-manager ~]# df -h

Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 19G 2.9G 15G 17% / /dev/sda1 99M 17M 78M 18% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/sdb1 9.9G 4.0G 5.5G 42% /u01 Downloads 233G 85G 149G 37% /media/sf_Downloads /dev/sdc 12G 159M 12G 2% /ovm/mypool1/poolfs

4) [root@vm-manager ~]# rpcinfo -p 192.168.56.100 program vers proto port

100000    2   tcp    111  portmapper
100000    2   udp    111  portmapper
100011    1   udp    835  rquotad
100011    2   udp    835  rquotad
100011    1   tcp    838  rquotad
100011    2   tcp    838  rquotad
100003    2   udp   2049  nfs
100003    3   udp   2049  nfs
100003    4   udp   2049  nfs
100227    2   udp   2049  nfs_acl
100227    3   udp   2049  nfs_acl
100003    2   tcp   2049  nfs
100003    3   tcp   2049  nfs
100003    4   tcp   2049  nfs
100227    2   tcp   2049  nfs_acl
100227    3   tcp   2049  nfs_acl
100021    1   udp  43381  nlockmgr
100021    3   udp  43381  nlockmgr
100021    4   udp  43381  nlockmgr
100021    1   tcp  39233  nlockmgr
100021    3   tcp  39233  nlockmgr
100021    4   tcp  39233  nlockmgr
100005    1   udp    867  mountd
100005    1   tcp    870  mountd
100005    2   udp    867  mountd
100005    2   tcp    870  mountd
100005    3   udp    867  mountd
100005    3   tcp    870  mountd

5) [root@vm-manager ~]# showmount -e

Export list for vm-manager.oracle.com: /ovm/mypool1/poofs *

db-rac(192.168.56.101):-

While running the command [root@db-rac ~]#mount 192.168.56.100:/ovm/mypool1/poolfs /mnt -v

Am getting the error

mount: no type was given - I'll assume nfs because of the colon mount: trying 192.168.56.100 prog 100003 vers 3 prot tcp port 2049 mount: trying 192.168.56.100 prog 100005 vers 3 prot udp port 867 mount: 192.168.56.100:/ovm/mypool1/poolfs failed, reason given by server: Permission denied

And checking the /var/log/messages

vm-manager mountd[2811]: refused mount request from 192.168.56.100 for /ovm/mypool1/poolfs (/): not exported

Appreciate for any help provided.

Am trying to setup NFS mount point between servers:- db-rac and vm-manager. /ovm/mypool1/poolfs is a virtual disk mounted as shown below.

/dev/sdc 12g 159m 12g的2% / / / poolfs mypool1 OVM

以下是我的配置:—

虚拟机管理器(192.168.56.100):—

1)猫/其他/出口

/ OVM / mypool1 /公*(RW,no_root_squash)

2)[根@ mymanager ~ ] # chkconfig NFS

[根@ mymanager ~ ] # NFS服务开始

[根@ mymanager ~ ] # exportfs–一

3)[根@ VM经理~ ] #东风H

Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 19G 2.9G 15G 17% / /dev/sda1 99M 17M 78M 18% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/sdb1 9.9G 4.0G 5.5G 42% /u01 Downloads 233G 85G 149G 37% /media/sf_Downloads /dev/sdc 12g 159m 12g的2% / / / poolfs mypool1 OVM

4) [root@vm-manager ~]# rpcinfo -p 192.168.56.100 program vers proto port

100000    2   tcp    111  portmapper
100000    2   udp    111  portmapper
100011    1   udp    835  rquotad
100011    2   udp    835  rquotad
100011    1   tcp    838  rquotad
100011    2   tcp    838  rquotad
100003    2   udp   2049  nfs
100003    3   udp   2049  nfs
100003    4   udp   2049  nfs
100227    2   udp   2049  nfs_acl
100227    3   udp   2049  nfs_acl
100003    2   tcp   2049  nfs
100003    3   tcp   2049  nfs
100003    4   tcp   2049  nfs
100227    2   tcp   2049  nfs_acl
100227    3   tcp   2049  nfs_acl
100021    1   udp  43381  nlockmgr
100021    3   udp  43381  nlockmgr
100021    4   udp  43381  nlockmgr
100021    1   tcp  39233  nlockmgr
100021    3   tcp  39233  nlockmgr
100021    4   tcp  39233  nlockmgr
100005    1   udp    867  mountd
100005    1   tcp    870  mountd
100005    2   udp    867  mountd
100005    2   tcp    870  mountd
100005    3   udp    867  mountd
100005    3   tcp    870  mountd

5)[根@ VM经理~ ] # showmount e

Export list for vm-manager.oracle.com: /ovm/mypool1/poofs *

DB RAC(192.168.56.101):—

While running the command [root@db-rac ~]#mount 192.168.56.100:/ovm/mypool1/poolfs /mnt -v

我得到错误

mount: no type was given - I'll assume nfs because of the colon mount: trying 192.168.56.100 prog 100003 vers 3 prot tcp port 2049 mount: trying 192.168.56.100 prog 100005 vers 3 prot udp port 867 mount: 192.168.56.100:/ovm/mypool1/poolfs failed, reason given by server: Permission denied

并检查/ var /日志/消息

vm-manager mountd[2811]: 拒绝安装要求192.168.56.100 / OVM / mypool1 / poolfs(/):不出口

感谢提供的任何帮助。

answer1: 回答1:

Reload nfs after changes in /etc/export

service nfs restart or exportfs -r

加载NFS在/ etc /出口变化

启动nfs服务器或exportfs -R

linux  nfs