From owner-freebsd-hackers Wed Jan 29 15:13:48 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 0223F37B401 for ; Wed, 29 Jan 2003 15:13:47 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CC2443F75 for ; Wed, 29 Jan 2003 15:13:46 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0TNDQZE016444; Thu, 30 Jan 2003 00:13:27 +0100 (CET) (envelope-from phk@freebsd.org) To: "Matthew N. Dodd" Cc: David Gilbert , freebsd-hackers@freebsd.org Subject: Re: Network block device. From: phk@freebsd.org In-Reply-To: Your message of "Wed, 29 Jan 2003 18:06:20 EST." <20030129180043.S8642@sasami.jurai.net> Date: Thu, 30 Jan 2003 00:13:26 +0100 Message-ID: <16443.1043882006@critter.freebsd.dk> 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 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