# Image Datastore does not support transfer mode: fs\_lvm

**URL:** <https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523>\
**Category:** Product Support\
**Created:** [August 5, 2019, 12:06pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523 "2019-08-05T12:06:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gray380](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gray380](https://forum.opennebula.io/u/gray380)\
**Post date:** [August 5, 2019, 12:06pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/1 "2019-08-05T12:06:28Z")

</div>

Hello,

An LVM System Datastore has been added to the system (iscsi lun presented to kvm nodes).  
While instantiating VM from the template the following error has appeared:

`one.vm.deploy result FAILURE [one.vm.deploy] Image Datastore does not support transfer mode: fs_lvm`

Configured Image datastore (NFS shared):  
`DATASTORE TEMPLATE`  
`ALLOW_ORPHANS="NO"`  
`CLONE_TARGET="SYSTEM"`  
`CLONE_TARGET_SSH="SYSTEM"`  
`DISK_TYPE="FILE"`  
`DISK_TYPE_SSH="FILE"`  
`DRIVER="qcow2"`  
`DS_MAD="fs"`  
`LN_TARGET="NONE"`  
`LN_TARGET_SSH="SYSTEM"`  
`RESTRICTED_DIRS="/"`  
`SAFE_DIRS="/var/tmp"`  
`TM_MAD="qcow2"`  
`TM_MAD_SYSTEM="shared"`  
`TYPE="IMAGE_DS"`

Configured System datastore (LVM):  
`DATASTORE TEMPLATE`  
`ALLOW_ORPHANS="NO"`  
`BRIDGE_LIST="one-kvm-node-01 one-kvm-node-02"`  
`CLUSTER="100"`  
`DISK_TYPE="FILE"`  
`DS_MIGRATE="YES"`  
`RESTRICTED_DIRS="/"`  
`SAFE_DIRS="/var/tmp"`  
`SHARED="YES"`  
`TM_MAD="fs_lvm"`  
`TYPE="SYSTEM_DS"`

Could you help to solve this issue?

* * *

KVM Nodes  
OS: Centos  
kernel: 3.10.0-957.21.3.el7.x86\_64

Opennebula: 5.8.1

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [August 5, 2019, 12:13pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/3 "2019-08-05T12:13:16Z")

</div>

Hello @gray380

Do you need to change your TM\_MAD in your image datastore to **fs\_lvm** , visit [this](http://docs.opennebula.org/5.8/deployment/open_cloud_storage_setup/lvm_drivers.html#create-an-image-datastore) for more information.

---

<div class="post-metadata">

**Author:** ![gray380](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gray380](https://forum.opennebula.io/u/gray380)\
**Post date:** [August 5, 2019, 12:15pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/4 "2019-08-05T12:15:41Z")

</div>

Hello @ahuertas,

Do I have to change image ds type despite that in reality it is NFS shared?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [August 5, 2019, 12:17pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/5 "2019-08-05T12:17:10Z")

</div>

You can have both, so just change TM\_MAD or TM\_MAD\_SYSTEM, so, you can have lvm and shared at once.

---

<div class="post-metadata">

**Author:** ![gray380](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gray380](https://forum.opennebula.io/u/gray380)\
**Post date:** [August 5, 2019, 12:41pm UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/6 "2019-08-05T12:41:26Z")

</div>

Okay, I’ve change Image DS’s TM\_MAD from qcow2 to fs\_lvm and faced the other error:

> Mon Aug 5 15:25:47 2019 [Z0][VMM][I]: error: internal error: process exited while connecting to monitor: nly=on -device ide-cd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -chardev socket,id=charchannel0,fd=28,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest\_agent.0 -vnc 0.0.0.0:239 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on  
> Mon Aug 5 15:25:47 2019 [Z0][VMM][I]: 2019-08-05T12:25:47.661101Z qemu-kvm: -drive file=/var/lib/one//datastores/119/239/disk.0,format=qcow2,if=none,id=drive-virtio-disk0,cache=none: Image is not in qcow2 format

Seems that opennebula works only in the following combinations:  
LVM Image DS → LVM System DS  
Shared qcow2 Image → Shared System DS

in other words mixing not supported.

---

<div class="post-metadata">

**Author:** ![gray380](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gray380](https://forum.opennebula.io/u/gray380)\
**Post date:** [August 6, 2019, 6:51am UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/7 "2019-08-06T06:51:04Z")

</div>

Hello,

Do you mean this one:

$ onedatastore show 100  
DATASTORE 100  
INFORMATION  
ID : 100  
NAME : emc-dd  
USER : oneadmin  
GROUP : tsu  
CLUSTERS : 100  
TYPE : IMAGE  
DS\_MAD : fs  
TM\_MAD : qcow2  
BASE PATH : /var/lib/one//datastores/100  
DISK\_TYPE : FILE  
STATE : READY

DATASTORE  
CAPACITY  
TOTAL: : 1.5T  
FREE: : 1.2T  
USED: : 321.8G  
LIMIT: : -

PERMISSIONS

OWNER : um-  
GROUP : um-  
OTHER : —

DATASTORE  
TEMPLATE  
ALLOW\_ORPHANS=“NO”  
CLONE\_TARGET=“SYSTEM”  
CLONE\_TARGET\_SSH=“SYSTEM”  
DISK\_TYPE=“FILE”  
DISK\_TYPE\_SSH=“FILE”  
DRIVER=“qcow2”  
DS\_MAD=“fs”  
LN\_TARGET=“NONE”  
LN\_TARGET\_SSH=“SYSTEM”  
RESTRICTED\_DIRS="/"  
SAFE\_DIRS="/var/tmp /var/lib/one/datastores/100/ golden-images  
/var/lib/one/datastores/external/bk\_vms/ /var/lib/one/tmp/"  
TM\_MAD=“qcow2”  
TM\_MAD\_SYSTEM=“shared”  
TYPE=“IMAGE\_DS”

IMAGES  
0  
1  
2  
3  
5  
7  
9  
32  
43  
44  
55  
56  
65  
73  
74  
76  
80  
81  
82  
83  
86  
87  
89  
91  
92

05.08.19 15:11, Alejandro Huertas via OpenNebula Community пише:

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [August 6, 2019, 7:00am UTC](https://forum.opennebula.io/t/image-datastore-does-not-support-transfer-mode-fs-lvm/7523/8 "2019-08-06T07:00:37Z")

</div>

Yes, the image datastore you are using.
