You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Imre Csatlos (JIRA)" <ji...@apache.org> on 2014/10/18 21:40:33 UTC

[jira] [Created] (CLOUDSTACK-7750) Xen server can not mount secondary CIFS storage

Imre Csatlos created CLOUDSTACK-7750:
----------------------------------------

             Summary: Xen server can not mount secondary CIFS storage
                 Key: CLOUDSTACK-7750
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7750
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: XenServer
    Affects Versions: 4.4.0, 4.4.1
         Environment: Xenserver 6.2
            Reporter: Imre Csatlos


Configuration: Xenserver 6.2, secondary storage on a Windows 2012R2 server.
Problem:
Xenserver can not mount secondary storage.

Creating an instance from a downloaded template fails, and the following gets logged in Xenserver's SMlog:

Oct 18 10:08:32 xentest3 SM: [32717] ['mount', '10.0.0.14:/secondary', '/var/run/sr-mount/2cf2caba-fa75-7f24-394b-215164e805e4']
Oct 18 10:08:32 xentest3 SM: [32717] FAILED in util.pread: (rc 32) stdout: '', stderr: 'mount: 10.0.0.14:/secondary failed, reason given by ser
ver: No such file or directory

manually running the command " mount 10.0.0.14:/secondary ...." fails too with the same error. 
manually running   "mount 10.0.0.14:secondary ..."  succeeds. (Also works like this: 10.0.0.14:\secondary)

By the way, when mounting a cifs ISO share from Xencenter, the following is logged in SMlog:

Oct 18 21:24:40 xentest3 SM: [29493] ['mount.cifs', '//10.0.0.14/secondary', '/var/run/sr-mount/3bbea389-cffb-9a0e-54eb-435960a248f8', '-o', 'credentials=/tmp/8a2ff51d-2842-499e-b3da-9bff521a4dd8']
Oct 18 21:24:40 xentest3 SM: [29493]   pread SUCCESS

So I think either mount.cifs should be used, or the path of the share should start with "\".
I am not sure if this is a Cloudstack or  Xenserver related bug.







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)