Markus Pargmann | ef8d9e7 | 2015-04-02 10:11:33 +0200 | [diff] [blame] | 1 | Network Block Device (TCP version) |
| 2 | ================================== |
Wouter Verhelst | 5e4b269 | 2013-02-27 17:05:27 -0800 | [diff] [blame] | 3 | |
Markus Pargmann | ef8d9e7 | 2015-04-02 10:11:33 +0200 | [diff] [blame] | 4 | 1) Overview |
| 5 | ----------- |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Markus Pargmann | ef8d9e7 | 2015-04-02 10:11:33 +0200 | [diff] [blame] | 7 | What is it: With this compiled in the kernel (or as a module), Linux |
| 8 | can use a remote server as one of its block devices. So every time |
| 9 | the client computer wants to read, e.g., /dev/nb0, it sends a |
| 10 | request over TCP to the server, which will reply with the data read. |
| 11 | This can be used for stations with low disk space (or even diskless) |
| 12 | to borrow disk space from another computer. |
| 13 | Unlike NFS, it is possible to put any filesystem on it, etc. |
| 14 | |
| 15 | For more information, or to download the nbd-client and nbd-server |
| 16 | tools, go to http://nbd.sf.net/. |
| 17 | |
| 18 | The nbd kernel module need only be installed on the client |
| 19 | system, as the nbd-server is completely in userspace. In fact, |
| 20 | the nbd-server has been successfully ported to other operating |
| 21 | systems, including Windows. |
Markus Pargmann | 4e5b44c | 2015-04-02 10:11:34 +0200 | [diff] [blame] | 22 | |
| 23 | A) NBD parameters |
| 24 | ----------------- |
| 25 | |
| 26 | max_part |
| 27 | Number of partitions per device (default: 0). |
| 28 | |
| 29 | nbds_max |
| 30 | Number of block devices that should be initialized (default: 16). |
| 31 | |