Re: NFS mounted disk images

Avi Kivity
2007-09-01T14:26:34Z

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* <gilad-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org
> <mailto:gilad-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org>> 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
> <http://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.