All of lore.kernel.org
 help / color / mirror / Atom feed
* Create/Quota/Mount pool
@ 2012-03-16 11:46 Chu Duc Minh
  2012-03-16 15:32 ` Sage Weil
  0 siblings, 1 reply; 3+ messages in thread
From: Chu Duc Minh @ 2012-03-16 11:46 UTC (permalink / raw)
  To: ceph-devel

Hi, i'm searching a way to create more data(s) pool and quota for each pool.
Do you know how to select pool to mount when using ceph client. (i'm 
using kernel 3.0.x)

Thank you very much!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create/Quota/Mount pool
  2012-03-16 11:46 Create/Quota/Mount pool Chu Duc Minh
@ 2012-03-16 15:32 ` Sage Weil
  2012-03-17  5:55   ` Chu Duc Minh
  0 siblings, 1 reply; 3+ messages in thread
From: Sage Weil @ 2012-03-16 15:32 UTC (permalink / raw)
  To: Chu Duc Minh; +Cc: ceph-devel

On Fri, 16 Mar 2012, Chu Duc Minh wrote:
> Hi, i'm searching a way to create more data(s) pool and quota for each pool.
> Do you know how to select pool to mount when using ceph client. (i'm using
> kernel 3.0.x)

You can create pools with 

 ceph osd pool create <poolname>

make them usable by the fs with

 ceph mds add_data_pool <poolname>

and then set a subdirectory to use that pool for new files with cephfs 
(man cephfs).

If you run into problems, let us know; this isn't well documented yet!

sage

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Create/Quota/Mount pool
  2012-03-16 15:32 ` Sage Weil
@ 2012-03-17  5:55   ` Chu Duc Minh
  0 siblings, 0 replies; 3+ messages in thread
From: Chu Duc Minh @ 2012-03-17  5:55 UTC (permalink / raw)
  To: Sage Weil; +Cc: ceph-devel

On 03/16/2012 10:32 PM, Sage Weil wrote:
> On Fri, 16 Mar 2012, Chu Duc Minh wrote:
>> Hi, i'm searching a way to create more data(s) pool and quota for each pool.
>> Do you know how to select pool to mount when using ceph client. (i'm using
>> kernel 3.0.x)
> You can create pools with
>
>   ceph osd pool create<poolname>
>
> make them usable by the fs with
>
>   ceph mds add_data_pool<poolname>
>
> and then set a subdirectory to use that pool for new files with cephfs
> (man cephfs).
>
> If you run into problems, let us know; this isn't well documented yet!
>
> sage
Hi, how can I know the ID of new <poolname>, because it's needed for 
cephfs command? Or i must use numeric <poolname>?
I'm using Cephx for auth, how can i set permission for a individual 
client only can mount & see a specify subdirectory/pool?
I succeeded when using numeric poolname but fail on "ceph auth add ..." 
and mount.
(I tried many options for ceph auth add ... - but still does not success)

Thank you very much!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-17  5:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 11:46 Create/Quota/Mount pool Chu Duc Minh
2012-03-16 15:32 ` Sage Weil
2012-03-17  5:55   ` Chu Duc Minh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.