[one-users] [Fwd: Re: How to make a disk image automatically]

Cuong Hoang Bui bhcuong2008 at gmail.com
Tue Sep 14 03:33:52 PDT 2010


Hi Tino,

I also tried this before, except I didn't specify format type. But it 
failed, I looked at the log file, I saw that daemon opennebula used 
symbolic link, of course failed because there was no existed image. I 
will try again with your instruction. With this configuration, the image 
will be saved to the image repository?
Also, If I dont want format it right away, I let it in raw format, I 
will do that during OS installation. it is possible?

I will try to test this.

Thank you very much.

Tino Vazquez wrote:
> Dear Cuong,
>
> To get OpenNebula  to create an empty filesystem:
>
> DISK = [ type   = fs,
>          size   = 4096,
>          format = ext3,
>          save   = yes,
>          target = sda2]
>
> See the disk section of the VM template reference [1] for more details.
>
> Regards,
>
> -Tino
>
> [1] http://opennebula.org/documentation:rel1.4:template
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
>
>
>
> On Tue, Sep 14, 2010 at 12:11 PM, Cuong Hoang Bui <bhcuong2008 at gmail.com> wrote:
>   
>> --
>> **********************
>> Regards,
>> Cuong Hoang Bui
>> ctek at cteklab.net
>> bhcuong2008 at gmail.com
>> **********************
>>
>>
>> Hi Cuong,
>>
>> Please redirect this mail to the opennebula mailing list.
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Fri, Sep 10, 2010 at 10:20 AM, Cuong Hoang Bui <bhcuong2008 at gmail.com>
>> wrote:
>>     
>>> Hi Tino,
>>>
>>> In the VM definition file, section Disk like this
>>> DISK = [
>>>  source        = "/xen_domains/test/disk.img",
>>>  clone         = no,
>>>  target        = "sda1",
>>>  readonly      = "no" ]
>>>
>>> With this definition, OpenNebula will make a symbolic link from
>>> /srv/cloud/one/var/$VM_id/images/ to /xen_domains/test/disk.img. However,
>>> this disk.img is not available. How could I tell OpenNebula makes disk
>>> image
>>> automatically? I googled it but could not find any useful information.
>>>
>>> Thank you very much.
>>>
>>> --
>>> **********************
>>> Regards,
>>> Cuong Hoang Bui
>>> ctek at cteklab.net
>>> bhcuong2008 at gmail.com
>>> **********************
>>>
>>>
>>>       
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>     

-- 
**********************
Regards,
Cuong Hoang Bui
ctek at cteklab.net
bhcuong2008 at gmail.com
**********************




More information about the Users mailing list