RE: Windows port

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

 



Hi,

 

Thanks for providing valuable feedback. Please let us know if anything else comes up.

 

Regards,

Lucian

 

From: Jake Grimmett
Sent: Tuesday, March 2, 2021 2:22 PM
To: Lucian Petrut; dev@xxxxxxx
Subject: Re: Windows port

 

Hi Lucian,

Many thanks for adding user level authentication, it works - yippee!

The "out of quota" error on Windows worked as expected when re-tested :)

The new ceph-dokan paramerers confused me until I re-read the cephx docs.

--id ID           set ID portion of my name
--name/-n TYPE.ID set name

I'm sure you'll provide examples, but here is my usage / config

PS C:\> ceph-dokan -l x --conf C:/ProgramData/ceph/ceph.testauth.conf
--name client.test  -x /testauthdir

(is equivalent to...)

PS C:\> ceph-dokan -l x --conf C:/ProgramData/ceph/ceph.testauth.conf
--id test  -x /testauthdir

where:
PS C:\ProgramData\ceph> type .\ceph.testauth.conf
[global]
      log to stderr = true
      run dir = C:/ProgramData/ceph
      crash dir = C:/ProgramData/ceph
[client]
      keyring = C:/ProgramData/ceph/test.keyring
      log file = C:/ProgramData/ceph/$name.$pid.log
      admin socket = C:/ProgramData/ceph/$name.$pid.asok
[global]
      ; Specify IP addresses for monitor nodes as in the following
example: ;
      mon host = [v2:10.1.2.39:3300,v1:10.1.2.39:6789]
[v2:10.1.0.96:3300,v1:10.1.0.96:6789] [v2:10.1.0.98:3300,v1:1.1.0.98:6789]

PS C:\ProgramData\ceph> type .\test.keyring
[client.test]
         key = AQBFFSVgvypAIBAA8CHRkwdVJ6i9u+9yKiq1hQ==
         caps mds = "allow r path=/, allow rw path=/testauthdir"
         caps mon = "allow r"
         caps osd = "allow class-read object_prefix rbd_children, allow
rw pool=ec42pool"

test.keyring is the output of "ceph auth get client.test" on the ceph server

I'll now test this more thoroughly,

best regards, and thanks again for doing this, it's really useful :)

Jake

Note: I am working from home until further notice.
For help, contact unixadmin@xxxxxxxxxxxxxxxxx
--
Dr Jake Grimmett
Head Of Scientific Computing
MRC Laboratory of Molecular Biology
Francis Crick Avenue,
Cambridge CB2 0QH, UK.
Phone 01223 267019
Mobile 0776 9886539
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

 

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux