代码拉取完成,页面将自动刷新
同步操作将从 cocalele/PureFlash 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。