[one-users] Defining Disks in description file (root, fs, swap, mount..)
Mehdi Sheikhalishahi
mehdi.alishahi at gmail.com
Sat May 29 04:59:25 PDT 2010
what are the error messages?
On Sat, May 29, 2010 at 12:30 AM, Ghazal Salehi <ghazal.salehi at gmail.com>wrote:
> Hi All
>
> I have deployment problem with my VMs.
> I have tried two images ttylinux and centos.
> I think there is something wrong with defining disks.
>
> This is the output of file ../ttylinux.img :
>
> /srv/ttylinux.img: x86 boot sector, LInux i386 boot LOader; partition
> 1: ID=0x83, starthead 1, startsector 63, 81585 sectors, extended
> partition table (last)\011
>
> ---------------------------------------------------------
> output of file ../centos.img :
> ---------------------------------------------------------
>
> /srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/centos.orig.5-3.x86-64.img:
> Linux rev 1.0 ext3 filesystem data (large files)
>
> -------------------------------------------------
> VM Description file:
> -------------------------------------------------
> NAME = centos
> CPU = 0.1
> MEMORY = 64
>
> OS = [
>
> kernel="/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/xen-kernel/vmlinuz-2.6.27.21-0.1-xen"
> #initd =
> "/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/xen-#kernel/initrd-2.6.27.21-0.1-xen"
> , root = "sda1"
> ]
>
> DISK = [
> source =
> "/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/centos.orig.5-3.x86-64.img",
> target = "sda1",
> readonly = "no" ]
>
> #DISK = [ type = mnt,
> # size = 2048,
> # taget = sd2]
>
> DISK = [ type = swap,
> size = 2048,
> target = sd3
> ]
>
> NIC = [ NETWORK = "net201" ]
>
> FEATURES=[ acpi="no" ]
>
> --------------------------------------------------
> fstab file from centos image
> ---------------------------------------------------
> /dev/sda1 / ext3 defaults,errors=remount-ro 0 0
> /dev/sda2 /mnt ext3 defaults 0 0
> /dev/sda3 swap swap defaults 0 0
> devpts /dev/pts devpts gid=5,mode=620 0 0
> proc /proc proc defaults 0 0
>
> --------------------------------------------------
> fstab file from tylinux image
> ---------------------------------------------------
> /dev/hda1 / ext2 defaults 0 0
> tmpfs /dev tmpfs noauto 0 0
> devpts /dev/pts devpts gid=5,mode=0620 0 0
> tmpfs /dev/shm tmpfs rw,noexec,nosuid,size=24k 0 0
> proc /proc proc noauto 0 0
> sysfs /sys sysfs noauto 0 0
>
>
> I have gained the fstab files by mounting the images in a temporary
> folder and then umount it again.
> I don't know how to define mnt partition of centos image in
> description file which is sd2 in fstab file.
>
> Thank you in advance for your help.
>
> Regards
> Ghazal
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Regards,
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100529/bb308d93/attachment-0002.htm>
More information about the Users
mailing list