{"id":18336617,"url":"https://github.com/iassasin/chunkbd","last_synced_at":"2025-04-09T19:56:03.503Z","repository":{"id":86400161,"uuid":"297134410","full_name":"iassasin/chunkbd","owner":"iassasin","description":"Solid linux block device from splitted chunk-files","archived":false,"fork":false,"pushed_at":"2020-09-20T18:05:51.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T19:56:00.516Z","etag":null,"topics":["buse","chunk","chunkbd","chunkfs","fuse","nbd"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iassasin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-20T18:05:19.000Z","updated_at":"2021-09-13T12:34:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"37ce2688-a930-43b9-8118-d0a89bcccb22","html_url":"https://github.com/iassasin/chunkbd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fchunkbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fchunkbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fchunkbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iassasin%2Fchunkbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iassasin","download_url":"https://codeload.github.com/iassasin/chunkbd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103911,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buse","chunk","chunkbd","chunkfs","fuse","nbd"],"created_at":"2024-11-05T20:08:24.401Z","updated_at":"2025-04-09T19:56:03.484Z","avatar_url":"https://github.com/iassasin.png","language":"C","readme":"# ChunkBD (chunked block device)\n\nRepresents set of files in storage directory (ex. blk0, blk1, ...) as single seamless virtual block device. \n\n## Example\n\u003e WARNING!\n\u003e\n\u003e Use of program requires root privileges! All listed commands guessing you're already logged as root.\n\nChunkBD uses NBD linux kernel module for creating virtual block device, wich need loaded before using ChunkBD. Usualy it is pre-installed in distributives and need just be loaded:\n```\nmodprobe nbd\n```\nTypical usage of ChunkBD:\n```\n# create real storage directry\nmkdir /tmp/storageDir\n\n# create device of 500 MiB space, wich will be represented with set of 5 MiB chunk files on real filesystem\n./chunkbd -c 5242880 -s 524288000 /dev/nbd0 /tmp/storageDir\n\n# on other terminal...\nmke2fs /dev/nbd0\nmount /dev/nbd0 /mnt\necho Hello, world \u003e /mnt/test\n```\n\nAfter this you can see how it stores at real file system. Output should be like this:\n```\n$ ll /tmp/storageDir/\ndrwxr-xr-x  2 root root     180 сен 20 20:59 ./\ndrwxrwxrwt 44 root root    2520 сен 20 20:58 ../\n-rw-r--r--  1 root root 4263936 сен 20 20:59 blk0\n-rw-r--r--  1 root root 5242880 сен 20 20:59 blk25\n-rw-r--r--  1 root root 2142208 сен 20 20:59 blk26\n-rw-r--r--  1 root root 5152768 сен 20 20:59 blk51\n-rw-r--r--  1 root root 5242880 сен 20 20:59 blk76\n-rw-r--r--  1 root root 3190784 сен 20 20:59 blk77\n-rw-r--r--  1 root root 5242880 сен 20 20:59 blk99\n```\n\n## Build\n\nDeveloped on g++10, but should work at any c++20 compatible compiler.\n\nTo build just run make in project directory:\n```\nmake\n```\n\n## Powered by BUSE\nFor details and license see [BUSE readme](buse/README.md)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiassasin%2Fchunkbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiassasin%2Fchunkbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiassasin%2Fchunkbd/lists"}