mount a cephfs at /mnt/mycephfs
用于vim
向文件写入内容不成功,但echo
“hello”>文件成功
$mount -t ceph 192.168.1.89:6789:/ /mnt/mycephfs -o name=admin,secretfile=/etc/ceph/admin.secret
$vim 1
write something to the file
$cat 1
nothing in the file
$echo "hello" >> 1
$cat 1
hello