提示:可以看到使用mount -a 读取配置文件也是可以正常挂载,说明我们配置文件中的内容没有问题;
卸载文件系统的方式
第一种我们可以使用umount 挂载点来实现卸载;
[root@ceph-admin ~]# mount |tail -1ceph-fuse on /mnt type fuse.ceph-fuse (rw,relatime,user_id=0,group_id=0,allow_other)[root@ceph-admin ~]# ll /mnttotal 3392-rw-r--r-- 1 root root 961243 Oct 6 22:17 day.jpg-rw-r--r-- 1 root root 961243 Oct 6 22:17 default.jpg-rw-r--r-- 1 root root 980265 Oct 6 22:17 morning.jpg-rw-r--r-- 1 root root 569714 Oct 6 22:17 night.jpg[root@ceph-admin ~]# umount /mnt[root@ceph-admin ~]# ll /mnttotal 0[root@ceph-admin ~]#第二种我们使用fusermount -u 挂载点来卸载
[root@ceph-admin ~]# mount -aceph-fuse[9717]: starting ceph client2022-10-06 23:40:55.540 7f169dbc4c00 -1 init, newargv = 0x55859177fa40 newargc=9ceph-fuse[9717]: starting fuse[root@ceph-admin ~]# ll /mnttotal 3392-rw-r--r-- 1 root root 961243 Oct 6 22:17 day.jpg-rw-r--r-- 1 root root 961243 Oct 6 22:17 default.jpg-rw-r--r-- 1 root root 980265 Oct 6 22:17 morning.jpg-rw-r--r-- 1 root root 569714 Oct 6 22:17 night.jpg[root@ceph-admin ~]# fusermount -u /mnt[root@ceph-admin ~]# ll /mnttotal 0[root@ceph-admin ~]#ok,到此基于用户空间fuse方式挂载cephfs的测试就完成了;
【分布式存储系统之Ceph集群CephFS基础使用】
经验总结扩展阅读
- 日光性皮炎怎么办
- △fhm什么意思
- 海信电视系统如何还原
- 华为手机怎么切换小米操作系统
- qq戳一戳怎么设置
- 手机怎么自己刷机,恢复系统(手机可以自己刷机吗)
- 电脑刷机怎么操作(电脑刷机重装系统)
- 分布式存储系统之Ceph集群RBD基础使用
- 荣耀magic3支持鸿蒙系统吗_荣耀magic3能升级鸿蒙吗
- 微信点餐系统怎么做