Comment 0 for bug 1611545

Revision history for this message
Ofer Bezalel (obone) wrote :

using the following xml to define a storage pool (netfs-cifs.xml):
<pool type="netfs">
  <name>netfs-cifs</name>
  <source>
    <host name="192.168.1.2"/>
    <dir path="Video"/>
    <format type='cifs'/>
  </source>
  <target>
    <path>/tmp/cifs</path>
  </target>
</pool>

I define the pool (virsh pool-define netfs-cifs.xml), build (virsh pool-build netfs-cifs) and then start it (virsh pool-start netfs-cifs)

results in the following error:
error: Failed to start pool netfs-cifs
error: internal error: Child process (/bin/mount -t cifs 192.168.1.2:Video /tmp/cifs) unexpected exit status 1: mount.cifs: bad UNC (192.168.1.2:Video)