Hello all,
I have a question about how to calculate file size when mount a block
device from rbd image .
[Cluster information:]
1.The cluster with 1 mon and 6 osds. Every osd is 1T. Total spaces is 5556G.
2.rbd pool:replicated size 2 min_size 1. num = 128. Except rbd pool other
pools is empty.

[Steps]
1.On Linux client I use rbd command to create a 1.5T rbd image and format
it with ext4.
2.Use dd command to create a 1.2T file.
   #dd if=/dev/zero of=/mnt/ceph-mount/test12T bs=1M count=12288000
3.When dd finished the information shows "No space left on device". But
parted -l display the disk space is 1611G. Why does the system show space
not enough?

Is there something I misunderstand or wrong?

Best wishes,
Mika
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to