From 48b3815a8c5a139355137845644b4a9745d2dbb8 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Wed, 27 Feb 2013 17:05:27 -0800 Subject: [PATCH] --- yaml --- r: 359401 b: refs/heads/master c: 5e4b269bcd178ac9b066a69f17c253d2f3f6388a h: refs/heads/master i: 359399: 9e0be15d0d0bb0a55cd6996c786e1536a82c221b v: v3 --- [refs] | 2 +- trunk/Documentation/blockdev/nbd.txt | 38 +++------------------------- trunk/MAINTAINERS | 1 + 3 files changed, 6 insertions(+), 35 deletions(-) diff --git a/[refs] b/[refs] index 820bbd5610cf..9b1510385df1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a83e814b5bb948850e903585d18b6298b7093cb2 +refs/heads/master: 5e4b269bcd178ac9b066a69f17c253d2f3f6388a diff --git a/trunk/Documentation/blockdev/nbd.txt b/trunk/Documentation/blockdev/nbd.txt index aeb93ffe6416..271e607304da 100644 --- a/trunk/Documentation/blockdev/nbd.txt +++ b/trunk/Documentation/blockdev/nbd.txt @@ -4,43 +4,13 @@ can use a remote server as one of its block devices. So every time the client computer wants to read, e.g., /dev/nb0, it sends a request over TCP to the server, which will reply with the data read. - This can be used for stations with low disk space (or even diskless - - if you boot from floppy) to borrow disk space from another computer. - Unlike NFS, it is possible to put any filesystem on it, etc. It should - even be possible to use NBD as a root filesystem (I've never tried), - but it requires a user-level program to be in the initrd to start. - It also allows you to run block-device in user land (making server - and client physically the same computer, communicating using loopback). - - Current state: It currently works. Network block device is stable. - I originally thought that it was impossible to swap over TCP. It - turned out not to be true - swapping over TCP now works and seems - to be deadlock-free, but it requires heavy patches into Linux's - network layer. - + This can be used for stations with low disk space (or even diskless) + to borrow disk space from another computer. + Unlike NFS, it is possible to put any filesystem on it, etc. + For more information, or to download the nbd-client and nbd-server tools, go to http://nbd.sf.net/. - Howto: To setup nbd, you can simply do the following: - - First, serve a device or file from a remote server: - - nbd-server - - e.g., - root@server1 # nbd-server 1234 /dev/sdb1 - - (serves sdb1 partition on TCP port 1234) - - Then, on the local (client) system: - - nbd-client /dev/nb[0-n] - - e.g., - root@client1 # nbd-client server1 1234 /dev/nb0 - - (creates the nb0 device on client1) - The nbd kernel module need only be installed on the client system, as the nbd-server is completely in userspace. In fact, the nbd-server has been successfully ported to other operating diff --git a/trunk/MAINTAINERS b/trunk/MAINTAINERS index a431511582d0..0b4bb157a482 100644 --- a/trunk/MAINTAINERS +++ b/trunk/MAINTAINERS @@ -5438,6 +5438,7 @@ F: net/netrom/ NETWORK BLOCK DEVICE (NBD) M: Paul Clements S: Maintained +L: nbd-general@lists.sourceforge.net F: Documentation/blockdev/nbd.txt F: drivers/block/nbd.c F: include/linux/nbd.h