[one-users] How to create the disk images
Ettore Enrico Delfino Ligorio
ettoreusp at gmail.com
Fri Nov 6 17:42:51 PST 2009
Hi,
Please, take a look at
http://lists.opennebula.org/pipermail/users-opennebula.org/2009-November/001111.html
Have you tried to prepare the image?
dd if=/dev/zero of=/home/disk.img bs=4096 count=3000111
mke2fs -j /home/disk.img
mount -t ext3 -o loop /home/disk.img /mnt/disk_mount
Did you have available space in your filesystem?
Best Regards.
--
Ettore Enrico Delfino Ligorio
On Fri, Nov 6, 2009 at 11:02 AM, Rodrigue CHAKODE
<Rodrigue.Chakode at imag.fr> wrote:
> Hello,
>
> I'm a beginner with opennebula:
> I read in the documentation that the disks declaration is a something like the following:
>
> DISK = [
> source = "/local/xen/domains/etch/disk.img",
> target = "sda",
> readonly = "no" ]
>
> Secondly, I seen that we have 3 possibilities to declare the disks into xen:
> 1) Exporting Physical Devices as VBDs
> 2) Using File-backed VBDs (from dd for example)
> 3) Using LVM-backed VBDs
>
> I dont know if I'm right, but I think that the declaration with opennebula is like with the option 2.
> My problem is when I try to create a disk image with dd, I'm not able to create a large image with about 8GB for example (dd fail because the file is to large).
>
> Can anyone can help me.
>
> Regards
> --
> Rodrigue
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
More information about the Users
mailing list