最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(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)的評論 (共 條)

分享到微博請遵守國家法律
凤山市| 阿坝县| 绵竹市| 建阳市| 玛纳斯县| 湖口县| 格尔木市| 临沭县| 长岛县| 云龙县| 鲁甸县| 潼南县| 深圳市| 南涧| 东丽区| 扶沟县| 萝北县| 丰城市| 古丈县| 通州市| 正安县| 昌邑市| 孟州市| 卓资县| 侯马市| 巴彦淖尔市| 红河县| 厦门市| 桦川县| 襄汾县| 绍兴县| 聊城市| 台东市| 元朗区| 泸西县| 榆中县| 衢州市| 徐州市| 元江| 乌苏市| 宜良县|