Re: [ceph-users] block storage over provisioning

2019-01-30 Thread Void Star Nill
Thanks Wido. Appreciate quick response.

On Wed, 30 Jan 2019 at 12:27, Wido den Hollander  wrote:

>
>
> On 1/30/19 9:12 PM, Void Star Nill wrote:
> > Hello,
> >
> > When a Ceph block device is created with a given size, does Ceph
> > allocate all that space right away or is that allocated as the user
> > starts storing the data?
> >
> > I want to know if we can over provision the Ceph cluster. For example,
> > if we have a cluster with 10G available space, am I allowed to create
> > only 10,  1G volumes? Or can I over provision and assume that each
> > volume is going to be used only up to 50% and allow creation of 20  1G
> > volumes?
> >
>
> Data is not allocated. You can overprovision with RBD as much as you like.
>
> You can provision 1PB of storage on a cluster with just 100TB of usable
> capacity. Ceph/RBD won't prevent you from doing so.
>
> Wido
>
> > Thanks,
> > Shridhar
> >
> >
> > ___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] block storage over provisioning

2019-01-30 Thread Wido den Hollander


On 1/30/19 9:12 PM, Void Star Nill wrote:
> Hello,
> 
> When a Ceph block device is created with a given size, does Ceph
> allocate all that space right away or is that allocated as the user
> starts storing the data?
> 
> I want to know if we can over provision the Ceph cluster. For example,
> if we have a cluster with 10G available space, am I allowed to create
> only 10,  1G volumes? Or can I over provision and assume that each
> volume is going to be used only up to 50% and allow creation of 20  1G
> volumes?
> 

Data is not allocated. You can overprovision with RBD as much as you like.

You can provision 1PB of storage on a cluster with just 100TB of usable
capacity. Ceph/RBD won't prevent you from doing so.

Wido

> Thanks,
> Shridhar
> 
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] block storage over provisioning

2019-01-30 Thread Void Star Nill
Hello,

When a Ceph block device is created with a given size, does Ceph allocate
all that space right away or is that allocated as the user starts storing
the data?

I want to know if we can over provision the Ceph cluster. For example, if
we have a cluster with 10G available space, am I allowed to create only 10,
 1G volumes? Or can I over provision and assume that each volume is going
to be used only up to 50% and allow creation of 20  1G volumes?

Thanks,
Shridhar
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com