How to calculate file size when mount a block device from rbd image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux