Simplified distributed block storage with strong consistency, like in Ceph
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

945 B

Documentation → Usage → NBD

Читать на русском


NBD stands for "Network Block Device", but in fact it also functions as "BUSE" (Block Device in UserSpace). NBD is currently required to mount Vitastor via kernel. NBD slighly lowers the performance due to additional overhead, but performance still remains decent (see an example here).

Vitastor Kubernetes CSI driver is based on NBD.

Map image

To create a local block device for a Vitastor image run:

vitastor-nbd map --etcd_address --image testimg

It will output a block device name like /dev/nbd0 which you can then use as a normal disk.

You can also use --pool <POOL> --inode <INODE> --size <SIZE> instead of --image <IMAGE> if you want.

Unmap image

To unmap the device run:

vitastor-nbd unmap /dev/nbd0