From owner-freebsd-current@FreeBSD.ORG Tue May 4 03:38:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD3016A4CE for ; Tue, 4 May 2004 03:38:56 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B98343D49 for ; Tue, 4 May 2004 03:38:55 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 0588AAC93D; Tue, 4 May 2004 12:38:52 +0200 (CEST) Date: Tue, 4 May 2004 12:38:52 +0200 From: Pawel Jakub Dawidek To: Alexander Leidinger Message-ID: <20040504103851.GX24376@darkness.comp.waw.pl> References: <20040503215523.GU24376@darkness.comp.waw.pl> <20040504122028.59988e1b@Magellan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MZKEaphKT9gWnWtP" Content-Disposition: inline In-Reply-To: <20040504122028.59988e1b@Magellan.Leidinger.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org Subject: Re: GEOM Gate committed! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 10:38:56 -0000 --MZKEaphKT9gWnWtP Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 04, 2004 at 12:20:28PM +0200, Alexander Leidinger wrote: +> On Mon, 3 May 2004 23:55:23 +0200 +> Pawel Jakub Dawidek wrote: +>=20 +> > Thing to note: ggated(8) is absolutely GEOM-unaware and not FreeBSD +> > specific at all. It is a simple network daemon that opens given device +> > or file and read from/write to it, that's all. So it should be really +> > trivial to port it to other operating systems and exports disk devices +> > from them. +>=20 +> If I export a device (e.g. /dev/vinum/a_lot_of_space) rw via ggated, am +> I allowed to mount it locally too (e.g. for exporting it via samba too)? +> >From what you told above I don't think so. Would it be hard to make this +> possible? What about more than one client which accesses a device in rw +> mode? It should be possible, but more than one consumer with RW access isn't a good idea (think of it as of any other disk device opened for write by more than one consumer, GEOM doesn't allow this by default, because it is just evil, there are no synchronization and there can't be any, because from disk device perspective we know nothing about file system on it, etc.). I don't prevent this, because you can use ggatec with many paths, for example you have 3 Fast Ethernet links to machine with device to export: # ggatec create -u 5 10.0.0.1 /dev/da0 # ggatec attach -u 5 192.168.0.1 /dev/da0 # ggatec attach -u 5 192.168.1.1 /dev/da0 so you should get 3x100Mb/s transfer. +> Do you intend to MFC ggated (or to make it a separate tarball, to make +> it more easy to use it on different systems too)? Not really, because I don't be able to test it on other operating systems. But if someone want to do this, I can help. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --MZKEaphKT9gWnWtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAl3K7ForvXbEpPzQRAgm5AJ45za19rRGfGveIBKKDvGOUPVHVUACg0QHv 9+QJkTu0WZpl94U4IuVDP5A= =rV5o -----END PGP SIGNATURE----- --MZKEaphKT9gWnWtP--