<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I'm trying to setup basic OpenNebula configuration using KVM as a
hypervisor and a GlusterFS as a shared filesystem provider.
Unfortunetly, during the deployment (execution of
/srv/cloud/one/var/remotes/tm/shared/mkimage to be precise) I get
following error:<br>
<br>
<i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
Command execution fail:
/srv/cloud/one/var/remotes/tm/shared/mkimage 1024 ext3
kvm01:/var/lib/one/datastores/0/52/disk.0 52 0</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
mkimage: Making filesystem of 1024M and type ext3 at
kvm01:/var/lib/one/datastores/0/52/disk.0</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG E 52
mkimage: Command "export PATH=/usr/sbin:/sbin:$PATH</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
dd if=/dev/zero of=/var/lib/one/datastores/0/52/disk.0 bs=1
count=1 seek=1024M</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
mkfs -t ext3 -F /var/lib/one/datastores/0/52/disk.0" failed: 1+0
records in</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
1+0 records out</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
1 byte (1 B) copied, 0.00231005 s, 0.4 kB/s</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
mke2fs 1.42.3 (14-May-2012)</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
Warning: could not erase sector 2: Attempt to write block to
filesystem resulted in short write</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
Warning: could not read block 0: Attempt to read block from
filesystem resulted in short read</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
Warning: could not erase sector 0: Attempt to write block to
filesystem resulted in short write</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
mkfs.ext3: Attempt to write block to filesystem resulted in short
write while zeroing block 262128 at end of filesystem</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
Could not write 5 blocks in inode table starting at 67: Attempt to
write block to filesystem resulted in short write</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG E 52
Could not create image /var/lib/one/datastores/0/52/disk.0</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: LOG I 52
ExitCode: 1</i><i><br>
</i><i>Tue Oct 16 22:04:26 2012 [TM][D]: Message received: TRANSFER
FAILURE 52 Could not create image
/var/lib/one/datastores/0/52/disk.0</i><br>
<br>
Apparently for some reason I can't execute mkfs command on directory
mounted using glusterfs native client - it works properly on
'normally' mounted partitions. Although it seems that this problem
exists outside of OpenNebula, maybe someone has seen similar issue
or know the solution?<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Dariusz Chrząścik</pre>
</body>
</html>