* NFS mounted disk images @ 2007-08-30 12:51 Magicboiz 2007-08-30 13:34 ` Gilad Ben-Yossef 0 siblings, 1 reply; 5+ messages in thread From: Magicboiz @ 2007-08-30 12:51 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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) kernel: 2.6.22 /Ubuntu Gutsy 2.6.22-10-generic KVM 36 Do you know what's happening?? Pherhaps i'm doing something wrong....?? Regards. ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: NFS mounted disk images 2007-08-30 12:51 NFS mounted disk images Magicboiz @ 2007-08-30 13:34 ` Gilad Ben-Yossef [not found] ` <46D6C750.5000605-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Gilad Ben-Yossef @ 2007-08-30 13:34 UTC (permalink / raw) To: Magicboiz; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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/ ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <46D6C750.5000605-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org>]
* Re: NFS mounted disk images [not found] ` <46D6C750.5000605-f4XOiQkOAtcdH0auuBZGHA@public.gmane.org> @ 2007-08-30 14:15 ` Magic Boiz [not found] ` <7da0699c0708300715l18c90efeq6b03cc2276f47dd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Magic Boiz @ 2007-08-30 14:15 UTC (permalink / raw) To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --] no_root_squash is enabled in the nfs server. :(( thx On 8/30/07, Gilad Ben-Yossef <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) > > 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 > [-- Attachment #1.2: Type: text/html, Size: 1571 bytes --] [-- Attachment #2: Type: text/plain, Size: 315 bytes --] ------------------------------------------------------------------------- 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/ [-- Attachment #3: Type: text/plain, Size: 186 bytes --] _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <7da0699c0708300715l18c90efeq6b03cc2276f47dd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: NFS mounted disk images [not found] ` <7da0699c0708300715l18c90efeq6b03cc2276f47dd0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2007-09-01 14:26 ` Avi Kivity [not found] ` <46D9769A.3070704-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Avi Kivity @ 2007-09-01 14:26 UTC (permalink / raw) To: Magic Boiz; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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. ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <46D9769A.3070704-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: NFS mounted disk images [not found] ` <46D9769A.3070704-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-09-03 7:10 ` Magicboiz 0 siblings, 0 replies; 5+ messages in thread From: Magicboiz @ 2007-09-03 7:10 UTC (permalink / raw) To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f yes, I do....... in fact, a windows xp sp2 guest, can boot, install and run perfectly. El sáb, 01-09-2007 a las 17:26 +0300, Avi Kivity escribió: > 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 > > > > ------------------------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-03 7:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 12:51 NFS mounted disk images Magicboiz
2007-08-30 13:34 ` Gilad Ben-Yossef
[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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox