From owner-freebsd-questions@freebsd.org Tue Dec 8 08:26:34 2015 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 383FA9B9321 for ; Tue, 8 Dec 2015 08:26:34 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 CC07317C4 for ; Tue, 8 Dec 2015 08:26:33 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by wmww144 with SMTP id w144so171407042wmw.1 for ; Tue, 08 Dec 2015 00:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VBa/g/P14zIH7U55CfgjDSSTkEhnXciy4DS6IXOv+ew=; b=xQOF3zgM5FbR8IrF1f8cSwJ9hnMFHOpCXSQT5frc8V1Ebn+mGGgvERHmBohcGB7f4V M6iG2EduTpfttRZEmTO2fAay2S/SLvuE1mq58XzsLeqNxULb2ZxVLIOMpKfLjUgOThMU KNuLTL5oaVCcdj7TG+Zf0mAKyxSeMGzlKwJx3UuUGJnRiG80oMDMOQ9Paz7MoyyjWR/y 7OdWPx8uJaxY7IIFG8B/9oqhwjz5BRqQ+dgr8AjfnoNG01MTcb3vwUz634ciWCJNJg4S wZ8xhAgyRWElfGDD6mVOFwjQ8t4msS+z+2gmvxDcN6ieLg3zgeKTtTERbipO6AdUvt3j 2Baw== MIME-Version: 1.0 X-Received: by 10.28.104.132 with SMTP id d126mr1595347wmc.30.1449563192143; Tue, 08 Dec 2015 00:26:32 -0800 (PST) Received: by 10.28.181.213 with HTTP; Tue, 8 Dec 2015 00:26:32 -0800 (PST) In-Reply-To: <1449532706.6801.2.camel@michaeleichorn.com> References: <13761006.QDN0LtKzYl@desk8.phess.net> <3931169.O6iNsM7Ae5@desk8.phess.net> <1449532706.6801.2.camel@michaeleichorn.com> Date: Tue, 8 Dec 2015 08:26:32 +0000 Message-ID: Subject: Re: Synchronizing directory hierarchies via SFTP From: krad To: "Michael B. Eichorn" Cc: Patrick Hess , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 08:26:34 -0000 Me to in conjunction with autofs. The system I was using it on had very regular file updates and the remote system was a windows box, so a recipe for things to go wrong. The main issue I had was the fuse/sshfs cache would often get out of sync with the remote server. Forcibly unmounting the filesystem after the batch run sorted this as well as a bit of script locking. Since then all has been good. This was linux based though. On 7 December 2015 at 23:58, Michael B. Eichorn wrote: > On Tue, 2015-12-08 at 00:08 +0100, Patrick Hess wrote: > > Terje Elde wrote: > > > You could mount the sftp locally (sshfs, fuse?), and then use rsync > > > as if with two local dirs? > > > > Thanks, that's definitely an interesting option that didn't come > > to my mind. > > > > > (If that will be efficient depends a lot on your workload) > > > > Based on my previous experience with FUSE a couple of years ago, > > I'm actually more concerned about the reliability of this solution. > > In my case I'm looking at some 1800 files, for a total of 3.4 GB, > > of which about 300 MB will change weekly. Is this a workload FUSE > > could be trusted with nowadays or am I likely to run into issues > > in the long term? > > I havn't used it on a FreeBSD rig, but I use sshfs regularly on my > Linux rigs and it has been reliable and surprisingly performant. I > don't know how similar/different the Linux and FreeBSD fuse > implementations are so, YMMV. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >