1 Star 0 Fork 11

田松/PureFlash

forked from cocalele/PureFlash 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run-from-docker.txt 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
1. Run PureFlash from docker
============================
```
# docker pull pureflash/pureflash:latest
# docker run -it --rm pureflash/pureflash:latest
```
For first run, this may take about 60 seconds to initialize a fake disk file.
2. PureFlash command line tool
==============================
`pfcli` is the command line tool to managment PureFlash storeage system, you can use it like bellow:
# pfcli list_store
+----+---------------+--------+
| Id | Management IP | Status |
+----+---------------+--------+
| 1 | 127.0.0.1 | OK |
+----+---------------+--------+
# pfcli list_disk
+----------+--------------------------------------+--------+
| Store ID | uuid | Status |
+----------+--------------------------------------+--------+
| 1 | 9ae5b25f-a1b7-4b8d-9fd0-54b578578333 | OK |
+----------+--------------------------------------+--------+
3. Test PureFlash in docker
===========================
# pfcli create_volume -v test_v1 -s 2G --rep 1
+------------+---------+------------+----------+--------+
| Id | Name | Size | RepCount | Status |
+------------+---------+------------+----------+--------+
| 1107296256 | test_v1 | 2147483648 | 1 | OK |
+------------+---------+------------+----------+--------+
# pfdd --rw write --if /dev/zero -v test_v1 --bs 4k --count 10
# fio -name=test -ioengine=pfbd -volume=test_v1 -iodepth=2 -rw=randwrite -size=2G -bs=4k -direct=1
pfdd is a tool like dd on Linux system. and fio( https://gitee.com/cocalele/fio.git) is a version with pfbd enabled.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/fenleng/PureFlash.git
git@gitee.com:fenleng/PureFlash.git
fenleng
PureFlash
PureFlash
master

搜索帮助