Thanks for your help !! What is it the vmfs mkimage script ? Alex
2013/2/26 Tino Vazquez <[email protected]> > Hi Alexandre, > > That unfortunately didn't work. I've opened a ticket to solve this [1] > to keep track of a proper solution. > > Meanwhile, you can try and use the vmfs mkimage script. You will need to > > 1) copy over /var/lib/one/remotes/tm/vmfs/mkimage into > /var/lib/one/remotes/tm/shared/mkimage > > 2) add the following to your datastore template: > > DS_USE_SSH="yes" > TM_USE_SSH="yes" > > Regards, > > -Tino > > [1] http://dev.opennebula.org/issues/1785 > -- > Constantino Vázquez Blanco, PhD, MSc > Project Engineer > OpenNebula - The Open-Source Solution for Data Center Virtualization > www.OpenNebula.org | @tinova79 | @OpenNebula > > > On Tue, Feb 26, 2013 at 6:00 PM, Alexandre De Carvalho > <[email protected]> wrote: > > Now i have these ones : > > > > Tue Feb 26 16:49:09 2013 [VMM][I]: mkfs.ext3: /lib64/libc.so.6: version > > `GLIBC_2.7' not found (required by /lib64/libext2fs.so.2) > > Tue Feb 26 16:49:09 2013 [VMM][I]: mkfs.ext3: /lib64/libc.so.6: version > > `GLIBC_2.7' not found (required by /lib64/libblkid.so.1) > > Tue Feb 26 16:49:09 2013 [VMM][E]: Could not create image > > /vmfs/volumes/0/77/disk.1 > > > > > > > > Alex > > > > > > 2013/2/26 Alexandre De Carvalho <[email protected]> > >> > >> Thanks. But I have always an error and i don't know why: > >> > >> > >> Tue Feb 26 14:57:24 2013 [VMM][I]: Command execution fail: > >> /var/lib/one/remotes/tm/shared/mkimage 5000 "" > >> 178.170.76.4:/vmfs/volumes/0/77/disk.1 77 0 > >> Tue Feb 26 14:57:24 2013 [VMM][I]: mkimage: Making filesystem of 5000M > and > >> type at 178.170.76.4:/vmfs/volumes/0/77/disk.1 > >> Tue Feb 26 14:57:24 2013 [VMM][E]: mkimage: Command "export > >> PATH=/usr/sbin:/sbin:$PATH > >> Tue Feb 26 14:57:24 2013 [VMM][I]: dd if=/dev/zero > >> of=/vmfs/volumes/0/77/disk.1 bs=1 count=1 seek=5000M > >> Tue Feb 26 14:57:24 2013 [VMM][I]: mkfs -t 5000 > >> /vmfs/volumes/0/77/disk.1" failed: 1+0 records in > >> Tue Feb 26 14:57:24 2013 [VMM][I]: 1+0 records out > >> Tue Feb 26 14:57:24 2013 [VMM][I]: mkfs.5000: No such file or directory > >> Tue Feb 26 14:57:24 2013 [VMM][E]: Could not create image > >> /vmfs/volumes/0/77/disk.1 > >> Tue Feb 26 14:57:24 2013 [VMM][I]: ExitCode: 1 > >> Tue Feb 26 14:57:24 2013 [VMM][I]: Failed to execute transfer manager > >> driver operation: tm_attach. > >> Tue Feb 26 14:57:24 2013 [VMM][E]: Error attaching new VM Disk: Could > not > >> create image /vmfs/volumes/0/77/disk.1 > >> Tue Feb 26 15:01:59 2013 [VMM][I]: mkimage: Making filesystem of 10000M > >> and type raw at 178.170.76.4:/vmfs/volumes/0/77/disk.1 > >> Tue Feb 26 15:01:59 2013 [VMM][I]: ExitCode: 0 > >> Tue Feb 26 15:01:59 2013 [VMM][I]: Successfully execute transfer manager > >> driver operation: tm_attach. > >> Tue Feb 26 15:01:59 2013 [VMM][I]: Remote worker node files not found > >> Tue Feb 26 15:01:59 2013 [VMM][I]: Updating remotes > >> Tue Feb 26 15:02:00 2013 [VMM][I]: ExitCode: 0 > >> Tue Feb 26 15:02:03 2013 [VMM][I]: ExitCode: 0 > >> Tue Feb 26 15:02:03 2013 [VMM][I]: Command execution fail: > >> /var/tmp/one/vmm/vmware/attach_disk one-77 /vmfs/volumes/0/77/disk.1 > sda 0 > >> drv_message 77 178.170.76.4 > >> Tue Feb 26 15:02:03 2013 [VMM][I]: sh: > >> /var/tmp/one/vmm/vmware/attach_disk: Permission denied > >> Tue Feb 26 15:02:03 2013 [VMM][I]: ExitCode: 126 > >> Tue Feb 26 15:02:03 2013 [VMM][I]: Failed to execute virtualization > driver > >> operation: attach_disk. > >> Tue Feb 26 15:02:03 2013 [VMM][E]: Error attaching new VM Disk > >> Tue Feb 26 15:04:11 2013 [VMM][I]: ExitCode: 0 > >> Tue Feb 26 15:04:11 2013 [VMM][D]: Monitor Information: > >> CPU : -1 > >> Memory: -1 > >> Net_TX: -1 > >> Net_RX: -1 > >> > >> > >> 2013/2/26 Tino Vazquez <[email protected]> > >>> > >>> Hi Alexandre, > >>> > >>> I looks like there is no mkfs available in the ESX hypervisors. > >>> > >>> Could you please try adding the attached "mkfs" binary to your ESX's > >>> /sbin path? Permissions should be set to: > >>> > >>> -rwxr-xr-x 1 root root 10456 Feb 26 13:45 mkfs > >>> > >>> > >>> We appreciate your feedback. > >>> > >>> Regards, > >>> > >>> -Tino > >>> -- > >>> Constantino Vázquez Blanco, PhD, MSc > >>> Project Engineer > >>> OpenNebula - The Open-Source Solution for Data Center Virtualization > >>> www.OpenNebula.org | @tinova79 | @OpenNebula > >>> > >>> > >>> On Tue, Feb 26, 2013 at 11:53 AM, Alexandre De Carvalho > >>> <[email protected]> wrote: > >>> > Hi Tino > >>> > > >>> > I'm using the version 5.0 of ESX > >>> > > >>> > best regards, > >>> > Alex > >>> > > >>> > 2013/2/26 Tino Vazquez <[email protected]> > >>> >> > >>> >> Hi Alexandre, > >>> >> > >>> >> We are trying to reproduce this, could you please tell us the > version > >>> >> of ESX you are using? > >>> >> > >>> >> Best regards, > >>> >> > >>> >> -Tino > >>> >> -- > >>> >> Constantino Vázquez Blanco, PhD, MSc > >>> >> Project Engineer > >>> >> OpenNebula - The Open-Source Solution for Data Center Virtualization > >>> >> www.OpenNebula.org | @tinova79 | @OpenNebula > >>> >> > >>> >> > >>> >> On Tue, Feb 26, 2013 at 11:25 AM, Alexandre De Carvalho > >>> >> <[email protected]> wrote: > >>> >> > The command "mkfs" must be do in the frontend or in the node > (vmware > >>> >> > for > >>> >> > me) > >>> >> > ? > >>> >> > > >>> >> > > >>> >> > Alex > >>> >> > > >>> >> > > >>> >> > 2013/2/26 Alexandre De Carvalho <[email protected]> > >>> >> >> > >>> >> >> Hi Jaime ! > >>> >> >> > >>> >> >> > >>> >> >> [oneadmin@localhost ~]$ which mkfs > >>> >> >> /sbin/mkfs > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> Alex > >>> >> >> > >>> >> >> 2013/2/25 Jaime Melis <[email protected]> > >>> >> >>> > >>> >> >>> Hi Alexandre, > >>> >> >>> > >>> >> >>> whereis looks in the usual paths, but doesn't reflect if the > user > >>> >> >>> actually has the command's path in their PATH env variable. Do > >>> >> >>> this > >>> >> >>> instead > >>> >> >>> *as oneadmin* (important) > >>> >> >>> > >>> >> >>> $ which mkfs > >>> >> >>> > >>> >> >>> > >>> >> >>> On Mon, Feb 25, 2013 at 7:14 PM, Alexandre De Carvalho > >>> >> >>> <[email protected]> wrote: > >>> >> >>>> > >>> >> >>>> I'm using vmware. > >>> >> >>>> > >>> >> >>>> Alex > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> 2013/2/25 Alexandre De Carvalho < > [email protected]> > >>> >> >>>>> > >>> >> >>>>> Hi Jaime ! > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>>> mkfs is already installed. Here : > >>> >> >>>>> > >>> >> >>>>> [root@localhost home]# whereis mkfs > >>> >> >>>>> mkfs: /sbin/mkfs.cramfs /sbin/mkfs /sbin/mkfs.ext3 > >>> >> >>>>> /sbin/mkfs.msdos > >>> >> >>>>> /sbin/mkfs.ext4dev /sbin/mkfs.vfat /sbin/mkfs.ext2 > >>> >> >>>>> /sbin/mkfs.ext4 > >>> >> >>>>> /usr/share/man/man8/mkfs.8.gz > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>>> Alex > >>> >> >>>>> > >>> >> >>>>> 2013/2/25 Jaime Melis <[email protected]> > >>> >> >>>>>> > >>> >> >>>>>> Hi Alexandre > >>> >> >>>>>> > >>> >> >>>>>>> sh: mkfs: not found > >>> >> >>>>>> > >>> >> >>>>>> > >>> >> >>>>>> You have to install the mkfs command... > >>> >> >>>>>> > >>> >> >>>>>> cheers > >>> >> >>>>>> > >>> >> >>>>>> -- > >>> >> >>>>>> Jaime Melis > >>> >> >>>>>> Project Engineer > >>> >> >>>>>> OpenNebula - The Open Source Toolkit for Cloud Computing > >>> >> >>>>>> www.OpenNebula.org | [email protected] > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>>> -- > >>> >> >>>>> Cordialement, > >>> >> >>>>> Alexandre DE CARVALHO > >>> >> >>>>> > >>> >> >>>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> > >>> >> >>>> -- > >>> >> >>>> Cordialement, > >>> >> >>>> Alexandre DE CARVALHO > >>> >> >>>> > >>> >> >>>> > >>> >> >>> > >>> >> >>> > >>> >> >>> > >>> >> >>> -- > >>> >> >>> Jaime Melis > >>> >> >>> Project Engineer > >>> >> >>> OpenNebula - The Open Source Toolkit for Cloud Computing > >>> >> >>> www.OpenNebula.org | [email protected] > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> -- > >>> >> >> Cordialement, > >>> >> >> Alexandre DE CARVALHO > >>> >> >> > >>> >> >> > >>> >> > > >>> >> > > >>> >> > > >>> >> > -- > >>> >> > Cordialement, > >>> >> > Alexandre DE CARVALHO > >>> >> > > >>> >> > > >>> >> > > >>> >> > _______________________________________________ > >>> >> > Users mailing list > >>> >> > [email protected] > >>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >>> >> > > >>> > > >>> > > >>> > > >>> > > >>> > -- > >>> > Cordialement, > >>> > Alexandre DE CARVALHO > >>> > > >>> > > >> > >> > >> > >> > >> -- > >> Cordialement, > >> Alexandre DE CARVALHO > >> > >> > > > > > > > > -- > > Cordialement, > > Alexandre DE CARVALHO > > > > > -- Cordialement, Alexandre DE CARVALHO
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
