From owner-freebsd-geom@FreeBSD.ORG Fri Jan 14 16:52:24 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1887916A4CE for ; Fri, 14 Jan 2005 16:52:24 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA45C43D46 for ; Fri, 14 Jan 2005 16:52:23 +0000 (GMT) (envelope-from bjmccann@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so513834wri for ; Fri, 14 Jan 2005 08:52:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Wr1Ai7fI4AXyhbmdu/fX8c86OR6JPqXLLr5Ex5ACyej8vtnb+68zsHXnH77rv2VTTBomaiIk0SymbbcaLhzC/4z510/l8ANQv8a4mSX3odF2rdGv8TmXg+xCncgIiaXL6rQA2z1ZH+BCcdn9Ms3YN9qzkVUyRJFYNdIsERP1SOg= Received: by 10.54.32.35 with SMTP id f35mr89300wrf; Fri, 14 Jan 2005 08:52:22 -0800 (PST) Received: by 10.54.33.61 with HTTP; Fri, 14 Jan 2005 08:52:22 -0800 (PST) Message-ID: <2b5f066d05011408521a06e380@mail.gmail.com> Date: Fri, 14 Jan 2005 11:52:22 -0500 From: Brian McCann To: freebsd-geom@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ggatec/ggated cache or buffer? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian McCann List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 16:52:24 -0000 Hi all...I posted this in -stable and wanted to post in here as well to see if anyone else can help me out. I'm playing around with ggatec and ggated, and would like to eventually be able to mirror a partition over the network...but for now I've just exported /dev/da1s1d as RO, created the ggate device on the client as RO, mounted it as RO (and tried using async as well), and when I make change on the server, I NEVER see it on the client without unmounting and remounting the client. What's odd, is say I make file 1 by doing: #echo "foo" > /share/bar Then mounting the client, I see the file. Now I delete the file on the server, I can still cat the file on the client. It's like the client can still read the old superblock or something. It appears that ggatec is caching the superblock or something. Is there a way to NOT get it to do this? It seams that if there isn't, right now ggatec/d would only be useful for sharing file systems that don't change. Any and all information is of course welcome! Thanks, --Brian