分布式存储系统之Ceph集群CephFS基础使用( 三 )

mount挂载CephFS
[root@ceph-admin ~]# df -hFilesystem               Size  Used Avail Use% Mounted ondevtmpfs                 899M     0  899M   0% /devtmpfs                    910M     0  910M   0% /dev/shmtmpfs                    910M  9.6M  901M   2% /runtmpfs                    910M     0  910M   0% /sys/fs/cgroup/dev/mapper/centos-root   49G  3.6G   45G   8% //dev/sda1                509M  176M  334M  35% /boottmpfs                    182M     0  182M   0% /run/user/0[root@ceph-admin ~]# mount -t ceph ceph-mon01:6789,ceph-mon02:6789,ceph-mon03:6789:/ /mnt -o name=fsclient,secretfile=/etc/ceph/fsclient.key[root@ceph-admin ~]# df -hFilesystem                                                                                                     Size  Used Avail Use% Mounted ondevtmpfs                                                                                                       899M     0  899M   0% /devtmpfs                                                                                                          910M     0  910M   0% /dev/shmtmpfs                                                                                                          910M  9.6M  901M   2% /runtmpfs                                                                                                          910M     0  910M   0% /sys/fs/cgroup/dev/mapper/centos-root                                                                                         49G  3.6G   45G   8% //dev/sda1                                                                                                      509M  176M  334M  35% /boottmpfs                                                                                                          182M     0  182M   0% /run/user/0192.168.0.71:6789,172.16.30.71:6789,192.168.0.72:6789,172.16.30.72:6789,192.168.0.73:6789,172.16.30.73:6789:/  281G     0  281G   0% /mnt[root@ceph-admin ~]# mount |tail -1192.168.0.71:6789,172.16.30.71:6789,192.168.0.72:6789,172.16.30.72:6789,192.168.0.73:6789,172.16.30.73:6789:/ on /mnt type ceph (rw,relatime,name=fsclient,secret=<hidden>,acl,wsize=16777216)[root@ceph-admin ~]#

经验总结扩展阅读