[one-users] Run VM

Hector Sanjuan lists at convivencial.org
Tue Feb 19 12:16:28 PST 2013


mkswap is a system command... which is nowhere to be found in your system  
it seems...

On Tue, 19 Feb 2013 21:14:03 +0100, <ahernandez at tesla.cujae.edu.cu> wrote:

> jjjeppp ... but when I run only this command(I run command how oneadmin)
>
> /var/lib/one/remotes/tm/ssh/mkswap 512  
> das-vsilo23.cimex.com.cu:/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1  
> 17 0
>
> I receive this
>
> INFO: mkimage: Making filesystem of 512M and type swap at  
> das-vsilo23.cimex.com.cu:/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1
> ERROR: mkimage: Command "export PATH=/usr/sbin:/sbin:$PATH
> dd if=/dev/zero  
> of=/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 bs=1  
> count=1 seek=512M
> mkswap /vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1"  
> failed: 1+0 records in
> 1+0 records out
> sh: mkswap: not found
> ERROR MESSAGE --8<------
> Could not create image  
> /vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1
> ERROR MESSAGE ------>8--
>
> Then I think that is not possible I need to export to bash the mkimage  
> command, because there are many mkimage for diferent methods of Transfer  
> Manger (TM) (ssh, vmfs, share, and others) .... I NEED A SOLUTION FOR  
> THIS PROBLEM THAT ISN'T EXPORTING mkimage TO THE BASH
>
>
> El 2013-02-19 15:00, Hector Sanjuan escribió:
>> The error is quite clear on the log:
>>
>>> Wed Feb 13 12:19:40 2013 [TM][I]: sh: mkswap: not found
>>
>> mkswap is provided by the util-linux package, at least in my case...
>
>
>
> 48 Aniversario del Instituto Superior Politecnico Jose Antonio  
> Echeverria, Cujae
> Una obra de la Revolucion Cubana | 2 de diciembre de 1964 |  
> http://cujae.edu.cu
>
>
>
> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu


-- 
Hector Sanjuan
@hecsanjuan



More information about the Users mailing list