I am starting to get lost here with you Sugandh, One last open pathway seams to be: Do you have a deamon running that has a default of no-recurse on exports? That would mean that paths below the export can't be mounted only the export itself. Can you test that?
regards, On Wed, Nov 13, 2013 at 1:14 PM, Sugandh <sugandh.s.dbst_irdst...@dbst.iitd.ac.in> wrote: > Daan, > > Yes. Primary is /export/primary and secondary is /home/sugandh/cloudnfs and > both are on the same server. > > Best, > > Sugandh > > > On 13.11.2013 16:49, Daan Hoogland wrote: >> >> you wrote earlier that both primary and secondary are on this server. >> Is one export and the other home/sugandh/cloudnfs? >> >> On Wed, Nov 13, 2013 at 11:59 AM, Sugandh >> <sugandh.s.dbst_irdst...@dbst.iitd.ac.in> wrote: >>> >>> Daan, >>> >>> I am able to ping nfs server from the ssvm. I have exported a directory >>> within my home directory as an nfs share for secondary storage, could >>> this >>> be a problem? These re the permissions for secondary storage directory: >>> sugandh@sugandh-desktop:~$ ls -l |grep cloud >>> drwxrwxrwx 3 nobody nogroup 4096 Nov 8 10:59 cloudnfs >>> >>> and this is my /etc/exports file: >>> sugandh@sugandh-desktop:~$ cat /etc/exports >>> # /etc/exports: the access control list for filesystems which may be >>> exported >>> # to NFS clients. See exports(5). >>> # >>> # Example for NFSv2 and NFSv3: >>> # /srv/homes hostname1(rw,sync,no_subtree_check) >>> hostname2(ro,sync,no_subtree_check) >>> # >>> # Example for NFSv4: >>> # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) >>> # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) >>> # >>> /home/sugandh/cloudnfs >>> *(rw,async,no_root_squash,no_subtree_check) >>> /export *(rw,async,no_root_squash,no_subtree_check) >>> >>> Best, >>> >>> Sugandh >>> >>> >>> On 13.11.2013 16:17, Daan Hoogland wrote: >>>> >>>> >>>> Sughand, >>>> >>>> By the looks of that output the secondary storage machine doesn't >>>> export the location of the secondary storage. >>>> Another possibility is that no firewall is blocking nfs. go to the >>>> secondary storage machine and try to ping your ssvm. >>>> >>>> regards >>>> >>>> On Wed, Nov 13, 2013 at 11:38 AM, Sugandh >>>> <sugandh.s.dbst_irdst...@dbst.iitd.ac.in> wrote: >>>>> >>>>> >>>>> Daan, >>>>> >>>>> Thanks for replying. This is a problem that I am facing. When I look at >>>>> secondary storage on the dashboard, it shows 0.00/0.00 KB and at other >>>>> times >>>>> it shows that it is completely full. Moreover, I am also not able to >>>>> upload >>>>> anything to the templates/iso section which, if I am correct, goes to >>>>> secondary storage. >>>>> >>>>> In primary storage, I can see that there are some directories and files >>>>> that >>>>> have been created, which indicates that cloudstack can interact with >>>>> primary >>>>> storage. If both, primary and secondary storage, are on the same server >>>>> then >>>>> what could be the reason that cloudstack is not able to communicate >>>>> properly >>>>> with secondary storage? Here is the output of ssvm-check.sh - >>>>> http://pastebin.com/c6vq2Y3N >>>>> >>>>> Many thanks, >>>>> >>>>> Sugandh. >>>>> >>>>> >>>>> On 09.11.2013 18:48, Daan Hoogland wrote: >>>>>> >>>>>> >>>>>> >>>>>> Sugandh, >>>>>> >>>>>> Is this a problem, or are you wondering how come? It seams to me that >>>>>> secondary storage does not have to be mounted all the time only when >>>>>> templates or snapshots need copying over. >>>>>> >>>>>> regards, >>>>>> Daan >>>>>> >>>>>> On Fri, Nov 8, 2013 at 11:01 AM, Sugandh >>>>>> <sugandh.s.dbst_irdst...@dbst.iitd.ac.in> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I am having some issues with Secondary storage on Cloudstack 4.2. My >>>>>>> setup >>>>>>> is as follows: >>>>>>> 1) Both the management server and hypervisor host are on the same >>>>>>> system, >>>>>>> which is running Ubuntu 12.04, and is assigned an IP 10.208.67.86. >>>>>>> 2) Another system which is also running Ubuntu 12.04 is serving as >>>>>>> both >>>>>>> primary storage and secondary storage and has an IP 10.208.66.162. >>>>>>> >>>>>>> My problem is that when I run "mount" on management server, I can >>>>>>> only >>>>>>> see >>>>>>> my primary storage mounted. I'd really appreciate any help. >>>>>>> >>>>>>> Thanks ahead, >>>>>>> >>>>>>> Sugandh