[Users] Can't add NFS domain

Karli Sjöberg Karli.Sjoberg at slu.se
Mon Sep 3 04:23:15 EDT 2012


2 sep 2012 kl. 10.25 skrev Damiano Verzulli:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 02/09/2012 09:14, Itamar Heim ha scritto:
[...] I also tried to install a fresh FC17 as host, but I lack
detailed instructions to install vdsm on it.

Any help? John Xu

http://wiki.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues
especially this part: NFS Storage Domain Failure on Fedora 17

I had exactly the very same issue and... spent several days figuring how
to solve it, based also on "Troubleshooting NFS..." above.

The critical information that page above is lacking, is that kernel 3.4.*
is _not_ available, for FC17, in ready-made RPM. So this command:

# rpm -qa | grep kernel-3.4

will _NOT_ produce output, and searching the web for "kernel-3.4" FC17
RPMs will get you to plenty of "rt" kernel that, being real-time
oriented, I wonder if are suitable for our virtualization goals (or not...).

In the end, I saw that kernel-3.4 is correctly packaged and delivered
with FC16 updates and yesterday I (succesfully) installed:

kernel-3.4.9-2.fc16.x86_64.rpm [1]

Afterwards, the NFS/ISO domain was immediately added, with no problems
(NFS server is a FreeNas box). Some minor issue relates to UID/GID
mapping, but these are easily solvable, thanks to mentioned web-page
(Troubleshooting NFS...)

I have _NOT_ a clear idea about the impact of such a setup:
- - a (current, updated) FC17 setup;
- - kernel-3.4.9 and related (quite old) kvm kernel module;
- - (very new) virtualization-preview repository enabled [2] (I need
v-motion between VMs), hence:
- libvirt 0.9.13
- qemu 1.2
- qemu-kvm 1.2

...but I will investigate in the upcoming days (BTW: I'm having very poor
NFS and network performance, but these could be caused by my hardware setup).

Just chipping in about your NFS performance. Since you said the it´s a FreeNAS box, I´m guessing you´re using ZFS. In that case the best way to speed up NFS is to add a powerful Separate LOG device (ZIL SLOG), or "zfs set sync=disable poolname/fsname" but that is dangerous and will cause data loss in case of network or power failure. Make sure to properly partition the SLOG aligned to 4k or 1MiB(-b 2048) and use the "gnop"-trick when adding it to the pool so that the SLOG vdev gets ashift set to 12 for optimal performance. We are using a OCZ Deneva 2 240GB MLC as SLOG in a FreeBSD ZFS pool(FreeNAS is FreeBSD base with a Web GUI on top), seeing the SLOG at 80% busy doing 2Gb/s, and response time is slim to none.


So, in the end, I can finally correctly power-up my first VM and access
its console via VNC (on my Ubuntu notebook, spice-client is not
available, and I want to spend my efforts in "core" ovirt-issues, insted
of compiling firefox addons). I can see the network-setup of a CentOS
test-vm starting but... nothing else. I'm starting, right now,
investigating those other issues.

Should you need further info, don't hesitate to ask.

HTH.
DV

[1]
http://fedora.mirror.garr.it/mirrors/fedora/linux/updates/16/x86_64/kernel-3.4.9-2.fc16.x86_64.rpm
[2] http://fedorapeople.org/groups/virt/virt-preview/fedora-17/x86_64/

- --
Damiano Verzulli
e-mail: damiano at verzulli.it
- ---
possible?ok:while(!possible){open_mindedness++}
- ---
"Technical people tend to fall into two categories: Specialists
and Generalists. The Specialist learns more and more about a
narrower and narrower field, until he eventually, in the limit,
knows everything about nothing. The Generalist learns less and
less about a wider and wider field, until eventually he knows
nothing about everything." - William Stucke - AfrISPA
 http://elists.isoc.org/mailman/private/pubsoft/2007-December/001935.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBDF+IACgkQcwT9fsMT4SwbeQCgiJzAQYO0aj/zS22gmkX10kxY
i/QAn3s14LDXLGXgGwwl+XxA9Wq6qIKm
=/e3j
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone:  +46-(0)18-67 15 66
karli.sjoberg at slu.se<mailto:karli.sjoberg at adm.slu.se>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120903/34397acf/attachment-0002.html>


More information about the Users mailing list