diff --git a/docs-zh/source/feature/flash.md b/docs-zh/source/feature/flash.md index 1bf25d11e..b5e2b4166 100644 --- a/docs-zh/source/feature/flash.md +++ b/docs-zh/source/feature/flash.md @@ -6,7 +6,7 @@ ![image](./pic/flash_topo.png) -**数据读取流程** +## 数据读取流程 CubeFS的分布式缓存由多个FlashGroup组成,每个FlashGroup负责管理一致性哈希环上的一组slot值。 diff --git a/docs-zh/source/user-guide/cli/flashnode.md b/docs-zh/source/user-guide/cli/flashnode.md index e65146505..f9fd35e43 100644 --- a/docs-zh/source/user-guide/cli/flashnode.md +++ b/docs-zh/source/user-guide/cli/flashnode.md @@ -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 diff --git a/docs/source/feature/flash.md b/docs/source/feature/flash.md index f82add3cf..359bd70de 100644 --- a/docs/source/feature/flash.md +++ b/docs/source/feature/flash.md @@ -6,7 +6,7 @@ In the context of modern large AI model training, the scale of datasets and mode ![image](./pic/flash_topo.png) -**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. diff --git a/docs/source/user-guide/cli/flashnode.md b/docs/source/user-guide/cli/flashnode.md index 75bc247b3..8f8b6b51c 100644 --- a/docs/source/user-guide/cli/flashnode.md +++ b/docs/source/user-guide/cli/flashnode.md @@ -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