国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

9-創(chuàng)建存儲策略并和pool關(guān)聯(lián)

2023-06-17 09:55 作者:itcooking  | 我要投稿

創(chuàng)建存儲策略并和pool關(guān)聯(lián)?創(chuàng)建存儲策略并和pool關(guān)聯(lián)

1.?添加池
```shell
# ceph osd pool create ssdpool 256 256
# ceph osd pool create hddpool 256 256
## 列出池
# ceph osd lspools
1 .mgr
2 ssdpool
3 hddpool
```
2. 創(chuàng)建規(guī)則以使用該設(shè)備
```shell
# ceph osd crush rule create-replicated ssd default host ssd
# ceph osd crush rule create-replicated hdd default host hdd
## 查看池規(guī)則
# ceph osd crush rule ls
replicated_rule
ssd
hdd
```
3. 將池設(shè)置為使用規(guī)則
```shell
ceph osd pool set ssdpool crush_rule ssd
ceph osd pool set hddpool crush_rule hdd
```
4. 刪除池
```shell
## 刪除池時,池的名字要輸入2次
# ceph osd pool rm testpool --yes-i-really-really-mean-it
Error EPERM: WARNING: this will *PERMANENTLY DESTROY* all data stored in pool testpool. ?If you are *ABSOLUTELY CERTAIN* that is what you want, pass the pool name *twice*, followed by --yes-i-really-really-mean-it.

# ceph osd pool rm testpool testpool --yes-i-really-really-mean-it
```

9-創(chuàng)建存儲策略并和pool關(guān)聯(lián)的評論 (共 條)

分享到微博請遵守國家法律
安龙县| 孙吴县| 伊金霍洛旗| 和林格尔县| 锦屏县| 枣庄市| 四平市| 罗田县| 东光县| 永清县| 凤城市| 永靖县| 报价| 大关县| 茶陵县| 连州市| 濮阳市| 肥东县| 周至县| 山阳县| 陕西省| 来宾市| 油尖旺区| 甘肃省| 铜川市| 贺兰县| 山西省| 漠河县| 宜宾县| 榆中县| 鄂托克旗| 明溪县| 沈阳市| 霍林郭勒市| 含山县| 油尖旺区| 旅游| 高阳县| 留坝县| 泸州市| 曲阜市|