public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org>
To: Magicboiz <magicboiz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: NFS mounted disk images
Date: Thu, 30 Aug 2007 16:34:08 +0300	[thread overview]
Message-ID: <46D6C750.5000605@codefidence.com> (raw)
In-Reply-To: <1188478289.18290.6.camel@linux>

Magicboiz wrote:
> Hello list,
> 
> when I try to run a virtual machins with disk images stored into NFS
> mounted directories, the virtual machine cannot use the IDE disk as
> expected. This happens with linux(debian/centos) and other OS, like
> OpenBSD, OpenSolaris(nexenta), etc. For example, during installation of
> guest oses, they cannot partition the disk.
> 
> This is how I run KVM:
> 
> sudo /usr/local/bin/qemu-system-x86_64 -m 256 -boot d
> -cdrom /mnt/debian-40r1-i386-netinst.iso -hda /mnt/disco.img -net nic
> -net tap,ifname=tap0,script=qemu-ifup 
> 
> 
> And this is my NFS mounted partition:
> 
> 10.172.224.3:/export on /mnt type nfs
> (rw,tcp,rsize=8192,wsize=8192,addr=10.172.224.3)

Just guessing here, but you probably need to add "no_root_squash" to the 
options above.

Please note that no_root_squash can be considered a security risk under 
most circumstances.


Gilad

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

  reply	other threads:[~2007-08-30 13:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 12:51 NFS mounted disk images Magicboiz
2007-08-30 13:34 ` Gilad Ben-Yossef [this message]
     [not found]   ` <46D6C750.5000605-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org>
2007-08-30 14:15     ` Magic Boiz
     [not found]       ` <7da0699c0708300715l18c90efeq6b03cc2276f47dd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-01 14:26         ` Avi Kivity
     [not found]           ` <46D9769A.3070704-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-03  7:10             ` Magicboiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46D6C750.5000605@codefidence.com \
    --to=gilad-f4xoiqkoatcdh0auubzgha@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=magicboiz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox