Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7750

Xen server can not mount secondary CIFS storage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0, 4.4.1
    • Fix Version/s: None
    • Component/s: XenServer
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      Xenserver 6.2

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              imre.csatlos Imre Csatlos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: