为什么使用vim将数据写入cephfs中的文件错误

时间:2015-08-28 13:42:53

标签: fs ceph

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

0 个答案:

没有答案
相关问题