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

Tino Vazquez tinova at fdi.ucm.es
Tue Sep 14 03:24:37 PDT 2010


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
>
>


More information about the Users mailing list