Re: about available space

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

 



Hello,

On Thu, 12 May 2016 07:57:07 -0700 LOPEZ Jean-Charles wrote:

> Hi
> 
> you can use the pool quota feature to limit the usage of a particular
> pool.
>

Indeed, however if the pool reaches that quota, it blocks all writes, even
if the underlying storage still has plenty of space.

It would probably a much better idea to monitor overall storage
utilization, something one has to do anyway, least OSDs get full or the
cluster in general gets near_full). 

Christian
> ceph osd pool set-quota <pool-name> [max_objects <obj-count>] [max_bytes
> <bytes>]
> 
> To remove a quota, set its value to 0.
> 
> Cheers
> JC
> 
> > On May 11, 2016, at 19:49, Geocast Networks <info@xxxxxxxxxxx> wrote:
> > 
> > Hi,
> > 
> > my ceph df output as following,
> > 
> > # ceph df 
> > GLOBAL:
> >     SIZE     AVAIL     RAW USED     %RAW USED 
> >     911T      911T         121G          0.01 
> > POOLS:
> >     NAME         ID     USED     %USED     MAX AVAIL     OBJECTS 
> >     block        7         0         0          303T           0 
> >     image        8         0         0          303T           0 
> >     metadata     9         0         0          303T           0 
> >     backup       10        0         0          303T           0 
> > 
> > all four pools MAX AVAIL is 303T.
> > 
> > can the four pools' space be setup with weighted?
> > For example, I expect block pool has 70% of space, each of the other
> > pools has 10% of storage space.
> > 
> > Thanks.
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users@xxxxxxxxxxxxxx
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Christian Balzer        Network/Systems Engineer                
chibi@xxxxxxx   	Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
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