Linux NBD Tutorial: Network Block Device Jumpstart Guide
Feb 18, 2009, 10:34 (0 Talkback[s])
(Other stories by Dhineshkumar Manikannan)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to An Anonymous Reader for
this link. ]
"To setup the NBD based file system, we need a
nbd-server (on remote machine, where we like to access/create the
content) and nbd-client (on local machine, where we like to access
the remote storage device locally).
"I. NBD Server Side Configuration Steps
"1. Install nbd-server
"If you working on Debian flavor, get the nbd-server through
"# apt-get install nbd-server
"2. Create a file content
"Create a file using dd as shown below.
"# dd if=/dev/zero of=/mnt/dhini bs=1024 count=36000
"Use mke2fs to make the /mnt/dhini as a filesystem."