wok-current view nbd/description.txt @ rev 25317

updated soundtouch and soundtouch-dev (2.1.2 -> 2.3.1)
author Hans-G?nter Theisgen
date Thu Jul 21 07:14:01 2022 +0100 (2022-07-21)
parents
children
line source
1 With this compiled into your kernel, Linux can use a remote server
2 as one of its block devices.
3 Every time the client computer wants to read /dev/nbd0, it will send
4 a request to the server via TCP, which will reply with the data
5 requested.
6 This can be used for stations with low disk space (or even diskless
7 - if you use an initrd) to borrow disk space from other computers.
8 Unlike NFS, it is possible to put any file system on it.
9 But (also unlike NFS), if someone has mounted NBD read and write,
10 you must assure that no one else will have it mounted.
12 Current state:
13 It currently works. Network block device is pretty stable.
14 It was originaly thought that it is impossible to swap over TCP;
15 this turned out not to be true.
16 However, to avoid deadlocks, you will need at least Linux 3.6.
18 It is possible to use NBD as the block device counterpart of FUSE,
19 to implement the block device's reads and writes in user space.
20 To make this easer, recent versions of NBD (3.10 and above)
21 implement NBD over a Unix Domain Socket, too.