From owner-freebsd-hackers Wed Jan 29 15:57:53 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F4137B401; Wed, 29 Jan 2003 15:57:52 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 162ED43F43; Wed, 29 Jan 2003 15:57:50 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003012923574800200i7kdqe>; Wed, 29 Jan 2003 23:57:49 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA28005; Wed, 29 Jan 2003 15:57:47 -0800 (PST) Date: Wed, 29 Jan 2003 15:57:46 -0800 (PST) From: Julian Elischer To: phk@freebsd.org Cc: "Matthew N. Dodd" , David Gilbert , freebsd-hackers@freebsd.org Subject: Re: Network block device. In-Reply-To: <16443.1043882006@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG geom meets netgraph.. :-) You could possibly do something with the ng_device node that exports a device into teh dev namesapce from netgraph. (the version in the tree is curently broken, the author is rewrituing it..) Adding a geom top-end to it might give you something quite cute.. On Thu, 30 Jan 2003 phk@freebsd.org wrote: > In message <20030129180043.S8642@sasami.jurai.net>, "Matthew N. Dodd" writes: > >On Wed, 29 Jan 2003, David Gilbert wrote: > >> it doesn't work that way. the result of NBD is a /dev/nbd0 not a > >> filesystem. Block 0 of /dev/nbd0 is block 0 of /dev/hda1 (say). nbd > >> runs as a server on the node with the disk and as a client on the node > >> using the disk. Yes, you still stripe on the client side... but you > >> stripe across directly mapped block devices (no NFS involved). > > > >So involving NFS isn't really going to make that much of a difference. > > Yes, it sure would. > > NBD wouldn't be hard to implement on FreeBSD, the easiest way would > be to write two GEOM modules to do it: a client and a server. > > No, I don't have time to do that right now, but I will happily > guide anybody who wants to try. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message