mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
docs(docs): add title for flash document
Signed-off-by: clinx <chenlin1@oppo.com>
This commit is contained in:
parent
0bb17f21de
commit
f36148c745
@ -6,7 +6,7 @@
|
||||
|
||||

|
||||
|
||||
**数据读取流程**
|
||||
## 数据读取流程
|
||||
|
||||
CubeFS的分布式缓存由多个FlashGroup组成,每个FlashGroup负责管理一致性哈希环上的一组slot值。
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
./cfs-cli flashnode list
|
||||
```
|
||||
|
||||
查询flashnode 缓存状态信息
|
||||
## 查询flashnode 缓存状态信息
|
||||
|
||||
```bash
|
||||
// 查询flashnode状态的key值不带过期时间
|
||||
@ -17,51 +17,51 @@
|
||||
./cfs-cli flashnode httpStatAll 127.0.0.1:17510
|
||||
```
|
||||
|
||||
清除指定flashnode中某个卷的缓存
|
||||
## 清除指定flashnode中某个卷的缓存
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode httpEvict 127.0.0.1:17510 flash_cache
|
||||
```
|
||||
|
||||
|
||||
启用/禁用flashnode
|
||||
## 启用/禁用flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode set 127.0.0.1:17510 true
|
||||
./cfs-cli flashnode set 127.0.0.1:17510 false
|
||||
```
|
||||
|
||||
删除flashnode
|
||||
## 删除flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode remove 127.0.0.1:17510
|
||||
```
|
||||
|
||||
创建fg
|
||||
## 创建fg
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup create
|
||||
```
|
||||
|
||||
设置flashgroup active
|
||||
## 设置flashgroup active
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup set 25 true
|
||||
```
|
||||
|
||||
flashgroup添加flashnode
|
||||
## flashgroup添加flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup nodeAdd 13 --zone-name=flashcache --addr="127.0.0.1:17510"
|
||||
```
|
||||
|
||||
查看flashgroup列表
|
||||
## 查看flashgroup列表
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup list
|
||||
```
|
||||
|
||||
查看flashgroup关系表
|
||||
## 查看flashgroup关系表
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup graph
|
||||
|
||||
@ -6,7 +6,7 @@ In the context of modern large AI model training, the scale of datasets and mode
|
||||
|
||||

|
||||
|
||||
**Data Access Flow**
|
||||
## Data Access Flow
|
||||
|
||||
CubeFS's distributed cache is composed of multiple FlashGroups, each responsible for managing a set of slot values on the consistent hashing ring.
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# FlashNode Management
|
||||
|
||||
## list flash nodes
|
||||
## List flash nodes
|
||||
|
||||
Obtain detailed information about each cache node in the system, including its unique identifier (ID), network address, and the status of cached data.
|
||||
|
||||
@ -8,7 +8,7 @@ Obtain detailed information about each cache node in the system, including its u
|
||||
./cfs-cli flashnode list
|
||||
```
|
||||
|
||||
View FlashNode cache statistics
|
||||
## View FlashNode cache statistics
|
||||
|
||||
```bash
|
||||
// When querying the status of a FlashNode, the associated key does not carry an expiration time.
|
||||
@ -17,51 +17,51 @@ View FlashNode cache statistics
|
||||
./cfs-cli flashnode httpStatAll 127.0.0.1:17510
|
||||
```
|
||||
|
||||
Evict the volume flash_cache from a specific FlashNode
|
||||
## Evict the volume flash_cache from a specific FlashNode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode httpEvict 127.0.0.1:17510 flash_cache
|
||||
```
|
||||
|
||||
|
||||
Enable/Disable flashnode
|
||||
## Enable/Disable flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode set 127.0.0.1:17510 true
|
||||
./cfs-cli flashnode set 127.0.0.1:17510 false
|
||||
```
|
||||
|
||||
remove flashnode
|
||||
## Remove flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashnode remove 127.0.0.1:17510
|
||||
```
|
||||
|
||||
create fg
|
||||
## Create fg
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup create
|
||||
```
|
||||
|
||||
set flashgroup active
|
||||
## Set flashgroup active
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup set 25 true
|
||||
```
|
||||
|
||||
flashgroup add flashnode
|
||||
## Flashgroup add flashnode
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup nodeAdd 13 --zone-name=flashcache --addr="127.0.0.1:17510"
|
||||
```
|
||||
|
||||
list flashgroup
|
||||
## List flashgroup
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup list
|
||||
```
|
||||
|
||||
show flashgroup group
|
||||
## Show flashgroup graph
|
||||
|
||||
```bash
|
||||
./cfs-cli flashgroup graph
|
||||
|
||||
Loading…
Reference in New Issue
Block a user