From owner-freebsd-questions@freebsd.org Wed Sep 7 16:09:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3783FBCFDFF for ; Wed, 7 Sep 2016 16:09:56 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1EB63F9 for ; Wed, 7 Sep 2016 16:09:55 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: by mail-oi0-x22d.google.com with SMTP id w78so32508155oie.3 for ; Wed, 07 Sep 2016 09:09:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZMVpbC7OAmJtffOzdB7RUVmNpjGSGHJW7zb72Tpvri0=; b=MyxITqGi4zT2kpj6Ilsunz3mHV2M4sP5SK5nzJSrijXPDYafkKtQixC3bRbzRKrUC3 6jgwXWZQEX9x1IyduYarH2Dpj0dQwvS/83cLnfa4UU3NpRDf1fGhqEXqIkuIRGtobmkd HcrGcit4puTO2YrzmWAc0lD8GkjtPjRijFolI5t+Ikb+xtvi8FGl8tTfK4Fh396bHnO3 af7dk0/Yfcgf07yWyFylKXW62IexL/toD0l9/KeMrXmYePl7tJ6LMCczturIeOTauiCt +rs+omG1bz7vLs7ChZTmWwD+2wP1Jz+PpHXwirQrE+Fnr8bARz37Cte1V5bVXeFl4cIf ExGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZMVpbC7OAmJtffOzdB7RUVmNpjGSGHJW7zb72Tpvri0=; b=HuMF5JOwLY+D6Nem0NiSCIafn4V03FY7Lc8fWBho+A+yJYWW9D0Ryi9wLirA8BU+Co dNGvud7PbEkjvDCsu8sJhIs7jYJosRFWLxQ5K1IrU2p1N/cwZBU2wZRus8pJ651/3GXg yFKOhMfVrywatNCwR6SDm5drbfHFGeLvH0noARW9IRD3VMxQuYSwTL/garjfoQ/cQVSF 3PluF/yT50qvJKHH25/abfUEZLrrXWkyc5akwogjMHHmOpagbIyBEixxoqlvXGIEFeFD diSI9wdII3XWkud65BpkBEXPeDTKlVFpvzuU5wHWXzkkOvucYY+6hw0EiUALkGU/XrsS lhMA== X-Gm-Message-State: AE9vXwOg6QvSVlXFAIPKZBcWOj8DEHDifGthCur8PRCqp/HCivO2ys4Gmud+pp/XIHtYdut5mqKNcLwUOJXZbQ== X-Received: by 10.157.55.183 with SMTP id x52mr38273891otb.68.1473264595029; Wed, 07 Sep 2016 09:09:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.117.7 with HTTP; Wed, 7 Sep 2016 09:09:34 -0700 (PDT) From: Amitabh Kant Date: Wed, 7 Sep 2016 21:39:34 +0530 Message-ID: Subject: NFS or rsync for sharing files between FreeBSD servers? To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 16:09:56 -0000 We need to share a number of directories between 3 servers running 9.3 . Most of these directories contain php/html/js/images files which do not change frequently. We need to keep the directories in sync on all three servers. Currently, we run a rsync command every time there is a change in one of the files/directories. Sometimes it does happen that we forget to run the rsync script making one of the servers return old versions. That is where we are planning to introduce a nfs_server on one of the servers, while the other two will be nfs_clients accessing the files through a shared directory. I understand that it would present a single point of failure, but in terms of disk access speed, will it make a huge difference further impacting the web servers running on the nfs_client servers ? The servers are connected to each other over gigabit lines, and the files are themselves not greater than 20-30 kb on an average, with some of the larger image files somewhere around 4-5 MB. Amitabh