hi<br><br>the output of the command "df -h" is in the screenshot.<br><br>The disk that we want is not mounted.But when we browse to the location "/srv/cloud/one/var/68/images" we see the disk of required size(512 MB).How do we make the vm list this disk?<br>
<br><br><br><br><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 2:56 AM, Tres Wong-Godfrey <span dir="ltr"><<a href="mailto:tres@enso.org">tres@enso.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Shweta,<br>
<br>
It sounds like it's already mounted.<br>
<br>
When you're in the vm, what's 'df -h' give?<br>
<br>
Regards,<br>
Tres<br>
<br>
Tres Wong-Godfrey<br>
<div><div></div><div class="h5"><br>
<br>
On Jan 21, 2010, at 1:14 PM, Shweta Gulati wrote:<br>
<br>
> Hello,<br>
><br>
> We want to allocate a space of 512 MB for storage for a VM and the OS<br>
> for it is ttylinux. The template that we are using is :<br>
><br>
><br>
><br>
> NAME   = ttylinux<br>
> CPU    = 0.1<br>
> MEMORY = 128<br>
><br>
> DISK   = [<br>
>  source   = "root@10.100.57.73:/srv/cloud/images/ttylinux.img",<br>
>  target   = "hda",<br>
>  size    = "128",<br>
>  readonly = "no" ]<br>
><br>
> DISK   = [<br>
>  type    = "fs",<br>
>  size            = "512",<br>
>  format   = "ext3",<br>
> #  save          = "yes",<br>
>  target   = "hda"]<br>
><br>
> NIC    = [ NETWORK = "Small network" ]<br>
><br>
> FEATURES=[ acpi="no" ]<br>
><br>
><br>
><br>
> GRAPHICS = [<br>
>  type    = "vnc",<br>
>  listen  = "127.0.0.1",<br>
>  port    = "-1"]<br>
><br>
><br>
><br>
> CONTEXT = [<br>
>    hostname    = "$NAME",<br>
>    ip_public   = "10.100.57.72",<br>
>    files      =<br>
> "/root/Download/one-1.4/share/scripts/ubuntu/context/init.sh<br>
> /root/.ssh/id_rsa.pub",<br>
>    target      = "hdc",<br>
>    root_pubkey = "id_rsa.pub",<br>
>    username    = "opennebula",<br>
>    user_pubkey = "id_rsa.pub"<br>
> ]<br>
><br>
><br>
> But when we are within the VM that is allocated, the disk of size 512<br>
> MB,specified in the template is not accessible. How do we access this<br>
> disk?Do we need to mount it separately??When we tried to mount it<br>
> using the command:<br>
><br>
> mount -t ext3 /dev/hda /mnt/new      (whr new is a newly created<br>
> directory to map the device to it.)<br>
><br>
> we get the error, "deivce or resource busy".<br>
> Are we on the right track?<br>
> Please help.<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote></div><br>