Several online documents on this subject talk about creating an SR with the option type=lvm but trying these:
# xe sr-create type=lvm device-config:device=/dev/server/sr_guest1 name-label=sr1 The SR could not be connected because the driver was not recognised. driver: lvm
It seems I can't, tabcompletion attemps tell me that these are the ones I can use:
root@server:~# xe sr-probe type=[TAB] dummy ext file iso nfs
And indeed lvm isn't among them. I searched for hours trying to find similar problems but nothing helpful.
root@server:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" root@server:~# dpkg --list | egrep 'xen|xapi|xcp' ii libxen-4.1 4.1.2-2ubuntu2.4 ii libxenstore3.0 4.1.2-2ubuntu2.4 ii python-xenapi 1.3.2-5ubuntu0.1 ii xen-hypervisor-4.1-amd64 4.1.2-2ubuntu2.4 ii xen-utils-4.1 4.1.2-2ubuntu2.4 ii xen-utils-common 4.1.2-1ubuntu1 ii xenstore-utils 4.1.2-2ubuntu2.4 ii apt-xapian-index 0.44ubuntu5 ii libxapian22 1.2.8-1 ii python-xapian 1.2.8-1 ii xcp-eliloader 0.1-4 ii xcp-fe 0.5.2-3 ii xcp-guest-templates 0.1-3 ii xcp-networkd 1.3.2-5ubuntu0.1 ii xcp-squeezed 1.3.2-5ubuntu0.1 ii xcp-storage-managers 0.1.1-2ubuntu1 ii xcp-v6d 1.3.2-5ubuntu0.1 ii xcp-vncterm 0.1-2 ii xcp-xapi 1.3.2-5ubuntu0.1 ii xcp-xe 1.3.2-5ubuntu0.1
Is anyone willing to explain the reason to me? Stating the obvious: I'm using LVM from the initial install. I want to install VMs on their own logical volumes, not images, so I think I really need that option.
So, is there a way to add LVM support to it?
Maybe this might be a clue, don't know. Is it just that I don't have citrix...