Bug #2110

create datablock error with ceph

Added by alan zhang over 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:06/08/2013
Priority:NormalDue date:
Assignee:-% Done:


Category:Drivers - Storage
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0


If you want to create a datablock on ceph,you will get a error like: mkfs: command not found and MKFS FAILURE 30 Error registering.

Associated revisions

Revision 3b2e9285
Added by Jaime Melis about 7 years ago

Bug #2110: create datablock error with ceph

Revision 32f8890e
Added by Jaime Melis almost 7 years ago

Reapply fixes for Bug #2110 and Bug #2271


#1 Updated by alan zhang over 7 years ago

Think I fixed it.
Edit the /var/lib/one/remotes/datastore/ceph/mkfs file:
Line 86

MKFS_CMD=`mkfs_command $TMP_DST $FSTYPE $SIZE`



Fix it.

#2 Updated by Carlos Martín over 7 years ago

  • Category set to Drivers - Storage

#3 Updated by Ruben S. Montero about 7 years ago

  • Target version set to Release 4.4

#4 Updated by Andrei Nistor about 7 years ago

IMO the better fix is to add

export PATH=/usr/sbin:/sbin:\$PATH

around line 90 in /var/lib/one/remotes/datastore/ceph/mkfs

That's how it's handled in the other TM drivers.

#5 Updated by Jaime Melis about 7 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Indeed Andrei. That's what we've applied.

Thanks for the feedback to both of you.

Also available in: Atom PDF