[one-users] glusterfs datastore

Thomas Stein himbeere at meine-oma.de
Wed May 7 02:58:11 PDT 2014


Hello.

I deleted all datastores and recreated the neccessary datastores again.
Now i get:

oneadmin at opennebula-frontend:~/datastores$ onedatastore list
  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM

 139 glusterds             0M -     -                 0 img  shared   shared
 140 datastore_sys         0M -     fluffy            0 sys  -        shared
 141 datastore_fil      47.2G 34%   fluffy            0 fil  fs       shared
oneadmin at opennebula-frontend:~/datastores$ cd

oneadmin at opennebula-frontend:~$ oneimage create -d 139 --name gentoo
--path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
"gentoo"

[ImageAllocate] Cannot determine Image SIZE. Datastore driver 'shared'
not available
oneadmin at opennebula-frontend:~$

Someone has an idea how to solve this error?

best regards
t.


Am 06.05.14 17:19, schrieb Thomas Stein:
> Hello.
> 
> I'm playing around with glustersfs and opennebula. Followed the quick
> howto here:
> 
> http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/
> 
> Alltough it's not everything clear to me, i managed to create the
> gluster datastore on the frontend.
> 
> oneadmin at opennebula-frontend:~$ onedatastore show 135
> DATASTORE 135 INFORMATION
> 
> ID             : 135
> NAME           : gluster_image
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : fluffy
> TYPE           : IMAGE
> DS_MAD         : fs
> TM_MAD         : shared
> BASE PATH      : /var/lib/one//datastores/135
> DISK_TYPE      :
> 
> DATASTORE CAPACITY
> 
> TOTAL:         : 492.2G
> FREE:          : 459.4G
> USED:          : 7.6G
> LIMIT:         : -
> 
> PERMISSIONS
> 
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
> 
> DATASTORE TEMPLATE
> 
> BASE_PATH="/var/lib/one//datastores/"
> CLONE_TARGET="SYSTEM"
> DISK_TYPE="GLUSTER"
> DS_MAD="fs"
> GLUSTER_HOST="one-volume1"
> LN_TARGET="NONE"
> TM_MAD="shared"
> TYPE="IMAGE_DS"
> 
> Problem is. When i try to create an image from a template which resides
> in that datastore i get:
> 
> Tue May  6 17:18:00 2014 [TM][D]: Message received: TRANSFER FAILURE 48
> Error copying
> opennebula-frontend:/var/lib/one//datastores/135/9ba000010fc657ac57edc0af308e4fa7
> to remotehost:/var/lib/one/datastores/129/48/disk.0
> 
> Why does opennebula to transfer the image?
> 
> Thanks and best regards
> t.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 




More information about the Users mailing list