From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: NFS mounted disk images Date: Sat, 01 Sep 2007 17:26:34 +0300 Message-ID: <46D9769A.3070704@qumranet.com> References: <1188478289.18290.6.camel@linux> <46D6C750.5000605@codefidence.com> <7da0699c0708300715l18c90efeq6b03cc2276f47dd0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Magic Boiz Return-path: In-Reply-To: <7da0699c0708300715l18c90efeq6b03cc2276f47dd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Magic Boiz wrote: > no_root_squash is enabled in the nfs server. do you actually have write access? > :(( > > thx > > > On 8/30/07, *Gilad Ben-Yossef* > wrote: > > 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/ > ------------------------------------------------------------------------ > > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- 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/