synchronization
This commit is contained in:
32
存储/Ceph/Ceph挂载文件系统.md
Normal file
32
存储/Ceph/Ceph挂载文件系统.md
Normal file
@@ -0,0 +1,32 @@
|
||||
> 本文作者:丁辉
|
||||
|
||||
# Ceph挂载文件系统
|
||||
|
||||
> 本文拿默认 cephfs 举例
|
||||
|
||||
1. 本地安装 ceph 客户端
|
||||
|
||||
- Centos
|
||||
|
||||
```bash
|
||||
yum install -y ceph-common
|
||||
```
|
||||
|
||||
- Ubuntu
|
||||
|
||||
```bash
|
||||
apt install -y ceph-common
|
||||
```
|
||||
|
||||
|
||||
2. 查看 cephfs 用户密钥
|
||||
|
||||
```bash
|
||||
ceph auth get client.cephfs
|
||||
```
|
||||
|
||||
3. 挂载文件系统到本地 /mnt/ 下测试
|
||||
|
||||
```bash
|
||||
mount -t ceph ceph-node-1:6789:/ /mnt/ -o name=cephfs,secret=AQAHjRdmdrPAAxAAuCtGNkM/W5XAVU2rWkUz+w==
|
||||
```
|
Reference in New Issue
Block a user