Skip to content

SupraSummus/pblock-bd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pblock-bd

Utility to attach pblock connection as a block device.

Under the hood it uses nbd kernel interface and BUSE to communicate with it.

nbd and pblock differences

Device size

pblock doesn't have notion of file size and nbd requires it to create block device. As a result you have to pass device size in pblock-bd command args.

Transactional access

I didn't found any information about nbd being transactional, so currently every read or write on nbd is wrapped in separate pblock transaction.

Install

make install PREFIX=~/.local

Tests

Dependencies:

Currently tests require root previlages. Test runner uses sudo to provide them.

To run tests:

make test

About

Attach pblock connection as a block device

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published