[ceph-users] How to calculate file size when mount a block device from rbd image

2014-10-20 Thread Vickie CH
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.

Re: [ceph-users] How to calculate file size when mount a block device from rbd image

2014-10-20 Thread Wido den Hollander
On 10/20/2014 11:16 AM, Vickie CH wrote: 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 =

Re: [ceph-users] How to calculate file size when mount a block device from rbd image

2014-10-20 Thread Benedikt Fraunhofer
Hi Mika, 2014-10-20 11:16 GMT+02:00 Vickie CH mika.leaf...@gmail.com: 2.Use dd command to create a 1.2T file. #dd if=/dev/zero of=/mnt/ceph-mount/test12T bs=1M count=12288000 I think you're off by one zero 12288000/1024/1024 11 Means you're instructing it to create a 11TB file on a 1.5T