[root@xenserver-01 ~]# showmount -e 192.168.2.123 Export list for 192.168.2.123: /export * [root@xenserver-01 ~]# mount -t nfs 192.168.2.123:/export/primary /primarymount/ mount: 192.168.2.123:/export/primary failed, reason given by server: Permission denied [root@xenserver-01 ~]#
On Wed, Jul 17, 2013 at 2:10 PM, Bradley Hieber <mercsni...@gmail.com>wrote: > Should that also happen if I list /export/ for /export/primary and > /export/secondary also? Then I am confused as to why I am getting NFS > permission denied errors then. > > > On Wed, Jul 17, 2013 at 2:06 PM, Dean Kamali <dean.kam...@gmail.com>wrote: > >> When you list /etc/primary in /etc/exports it will export all content of >> that folder, so you don't have to worry about sub-folders. >> >> >> >> >> On Wed, Jul 17, 2013 at 2:00 PM, Bradley Hieber <mercsni...@gmail.com >> >wrote: >> >> > I can mount /export but it keeps telling me permission denied when I >> try to >> > mount /export/primary or /export/secondary. The only way I have been >> able >> > to stop it is manually listing /export/primary and /export/secondary. I >> > can't manually list every folder though. That is why it is having issues >> > mounting /export/secondary/template/templ/1/1 to /var/run/cloud/ >> Thoughts? >> > >> > >> > On Tue, Jul 16, 2013 at 9:09 PM, Jijun <jiju...@gmail.com> wrote: >> > >> > > hi, >> > > so i think you can test it in your hypervisor host >> > > >> > > do it as root >> > > >> > > mount -t nfs 192.168.2.114:/export /mnt >> > > >> > > and tell us the result. >> > > >> > > >> > > >> > > On 07/17/2013 02:02 AM, Bradley Hieber wrote: >> > > >> > >> drwxr-xr-x 4 root root 4096 Jul 16 13:15 export >> > >> /export >> > >> drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary >> > >> drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary >> > >> >> > >> >> > >> >> > >> On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali <dean.kam...@gmail.com> >> > >> wrote: >> > >> >> > >> what is the permissions on /export ? >> > >>> >> > >>> >> > >>> On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber < >> mercsni...@gmail.com >> > >>> >> > >>>> wrote: >> > >>>> [root@xenserver-01 /]# showmount -e 192.168.2.123 >> > >>>> Export list for 192.168.2.123: >> > >>>> /export 192.168.2.114 >> > >>>> >> > >>>> Restarting the service did not do anything productive. I already >> did >> > an >> > >>>> exportfs -ra before. >> > >>>> >> > >>>> >> > >>>> On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali < >> dean.kam...@gmail.com> >> > >>>> wrote: >> > >>>> >> > >>>> Did you restart nfs service after modifying /etc/export ? >> > >>>>> >> > >>>>> From your hypervisor run showmount -e IP_ADDR_OF_NFS >> > >>>>> >> > >>>>> what dose it show? >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber < >> > mercsni...@gmail.com >> > >>>>> >> > >>>>>> wrote: >> > >>>>>> Hello community, >> > >>>>>> >> > >>>>>> The installation documentation for CS 4.1 says to use /export >> > >>>>>> *(rw,async,no_root_squash) for my options. I am having >> difficulties >> > >>>>>> mounting the /export/primary folder on my hypervisor as a test. >> > >>>>>> >> > >>>>> Syslog >> > >>> >> > >>>> is >> > >>>> >> > >>>>> reporting "permisison denied" on the hypervisor. The management >> > >>>>>> >> > >>>>> server >> > >>> >> > >>>> is >> > >>>> >> > >>>>> Ubuntu 12.04.02 and the hard drives are attached and mounted. Any >> > >>>>>> assistance? >> > >>>>>> >> > >>>>>> -- >> > >>>>>> Brad >> > >>>>>> >> > >>>>>> >> > >>>> >> > >>>> -- >> > >>>> Brad >> > >>>> >> > >>>> >> > >> >> > >> >> > > >> > > -- >> > > Thanks, >> > > Jijun >> > > >> > > >> > >> > >> > -- >> > Brad >> > >> > > > > -- > Brad > -- Brad