From owner-freebsd-fs@FreeBSD.ORG Wed Feb 16 15:45:15 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876D710656A7 for ; Wed, 16 Feb 2011 15:45:15 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id E0A778FC08 for ; Wed, 16 Feb 2011 15:45:14 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.60,480,1291590000"; d="asc'?scan'208";a="1106606" Received: from unknown (HELO [172.26.15.11]) ([172.26.15.11]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 16 Feb 2011 16:45:13 +0100 From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= To: freebsd-fs@freebsd.org, freebsd-net@freebsd.org In-Reply-To: <1297870150.3097.30.camel@pc286.embl.fr> References: <1297858944.3097.20.camel@pc286.embl.fr> <1297870150.3097.30.camel@pc286.embl.fr> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-lPyBYh3OoVl54tUoAhA2" Date: Wed, 16 Feb 2011 16:45:19 +0100 Message-ID: <1297871119.3097.36.camel@pc286.embl.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Cc: Subject: Re: showmount sometimes slow with carp X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2011 15:45:15 -0000 --=-lPyBYh3OoVl54tUoAhA2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again, again, The problem seams to be even more general (so I put freebsd-net in copy). When I ping carp interface, I lost some pings... ping data-test PING data-test.embl.fr (172.26.9.236) 56(84) bytes of data. 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D7 ttl=3D64 time=3D0.183 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D8 ttl=3D64 time=3D0.217 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D23 ttl=3D64 time=3D0.273 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D24 ttl=3D64 time=3D0.217 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D25 ttl=3D64 time=3D0.219 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D26 ttl=3D64 time=3D0.132 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D27 ttl=3D64 time=3D0.203 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D28 ttl=3D64 time=3D0.157 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D29 ttl=3D64 time=3D0.191 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D30 ttl=3D64 time=3D0.238 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D31 ttl=3D64 time=3D0.226 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D32 ttl=3D64 time=3D0.272 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D33 ttl=3D64 time=3D0.215 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D36 ttl=3D64 time=3D0.180 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D37 ttl=3D64 time=3D0.314 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D38 ttl=3D64 time=3D0.169 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D39 ttl=3D64 time=3D0.206 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D40 ttl=3D64 time=3D0.170 ms 64 bytes from data-test.embl.fr (172.26.9.236): icmp_req=3D41 ttl=3D64 time=3D0.158 ms ^C --- data-test.embl.fr ping statistics --- 41 packets transmitted, 19 received, 53% packet loss, time 40184ms rtt min/avg/max/mdev =3D 0.132/0.207/0.314/0.045 ms Is it a bug, or am I doing something wrong ? Here is my network configuration: defaultrouter=3D"172.26.9.254" hostname=3D"pc234.embl.fr" cloned_interfaces=3D"lagg0 carp0" ifconfig_bge0=3D"up" ifconfig_em0=3D"up" ifconfig_em1=3D"172.26.14.234/24" ifconfig_lagg0=3D"laggproto failover laggport bge0 laggport em0" ipv4_addrs_lagg0=3D"172.26.9.234/24" ifconfig_carp0=3D"vhid 1 pass 497500fd0f6c3988d1f advskew 10 172.26.9.236/24" Tomorrow I'll try with a carp interface that is not over a network bonding to see if the problem comes from that. Micka=C3=ABl On Wed, 2011-02-16 at 16:29 +0100, Micka=C3=ABl Can=C3=A9vet wrote: > Hi again, >=20 > I also have a problem when I mount an exported filesystem through the > carp VIP. >=20 > When I do that: >=20 > mount :/data/user /mnt > while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep > ^real >=20 > real 0m0.004s > real 0m0.004s > real 0m0.004s > real 0m0.004s > real 0m0.004s > ... >=20 > But when I do that: >=20 > mount :/data/user /mnt > while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep > ^real > real 0m0.005s > real 0m0.207s > real 0m0.206s > real 0m52.150s > real 0m0.004s > real 0m0.004s > real 0m0.002s > real 0m0.204s > real 0m0.206s > real 0m0.614s > real 0m0.004s > real 0m0.207s > real 0m0.205s > real 0m0.206s > real 0m0.206s > real 0m0.613s > real 0m0.003s >=20 > Every now and then I have a long delay with the vip that I don't have > with the real IP or an alias... >=20 > On Wed, 2011-02-16 at 13:22 +0100, Micka=C3=ABl Can=C3=A9vet wrote: > > Hi, > >=20 > > I installed a redundant NAS with FreeBSD 8.2RC3 + Hast + ZFS + Carp. > >=20 > > Each machine has its own IP address, and share a virtual IP with carp. > >=20 > > When I launch 'showmount -e ' from a linux client > > or a freebsd client, I got my answer immediately (about 5ms). But when = I > > try with carp virtual IP or FQDN, it sometimes takes around 20 seconds, > > or even 1 minute, but not everytime. > >=20 > > It is really annoying because automount, at least the linux version, > > seams to use showmount to get server exports. So it sometimes does not > > work through the carp virtual IP. > >=20 > > Can anybody help me ? > >=20 > > Thanks a lot, > >=20 > > Micka=C3=ABl >=20 --=-lPyBYh3OoVl54tUoAhA2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk1b8Q8ACgkQZjBmN5Hi/YZtJQCgjAybI68s9DyqnQIkm4SaXPI7 GvUAn2q+wv2XqgeXVNGsoOJ1CxODYc5B =c3hP -----END PGP SIGNATURE----- --=-lPyBYh3OoVl54tUoAhA2--