2016-08-09 23:06:45 |
Ofer Bezalel |
description |
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) |
In ubuntu 14.04 LTS (Linux hio-converged 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux)
libvirt version: 1.2.2
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) |
|