- 7comments
- 44comments
- 27comments
- 566comments
- 133comments
- 222comments
- 82comments
- 169comments
- 34comments
- 70comments
- 1comments
- 232comments
- 155comments
- 11comments
- 2comments
- 101comments
- 6comments
- 24comments
- 57comments
- 58comments
- —discuss
- 26comments
- 41comments
- 11comments
- 370comments
- 107comments
- 39comments
- 49comments
- 10comments
- 42comments
In ~2002 I scraped together enough money (in college at the time) to replace my desktop. I bought a case/motherboard/cpu, but didn't have enough to buy lots of memory for the new machine (which didn't use the same memory as my old one), so I had 128MB on the new one and ~800MB cobbled together from various dimms on the old one.
Then I read about NBD. Half an hour later I had made a 640MB ramdisk on the old machine and mounted it with NBD on the new machine, and used it as a swap disk. I couldn't believe how well it worked. Fun times.
Great story.
After you pointed out the NBD protocol I went and looked it up. Wish I'd learned about it a couple years ago!
Found this gem on the libguestfs readme:
I really want to know what they think "unconventional" block devices are. Could lead to some interesting projects!
If you're interested in this kind of thing, 9p is also used for exporting storage over the network. https://en.m.wikipedia.org/wiki/9P_(protocol)
9p is awesome.
The new Proxmox Backup Server uses this feature for backing up VM images. In our setup this has accelerated daily backups by an order of magnitude.