[Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2017-12-15 Thread Aurelien RAINONE
Hi, I'm new to nfs-ganesha and on this mailing-list. I'm currently reading a maximum of documentation and code in order to understand where to start the implementation of a new FSAL. The main objectives of my development are: - connect one fsal export to exactly one S3 Bucket. Requests to the S3

[Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-03 Thread Aurelien RAINONE
To follow up on the development on an FSAL for S3, I have some doubts and questions I'd like to share. Apart from its full path, S3 doesn't have the concept of file descriptor, I mean, there's nothing else than the full path that I can provide to S3 in order to get attribute of content of a spec

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2017-12-15 Thread Frank Filz
> From: Aurelien RAINONE [mailto:aurelien.rain...@gmail.com] > Sent: Friday, December 15, 2017 9:30 AM > To: Nfs-ganesha-devel@lists.sourceforge.net > Subject: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage > > Hi, > > I'm new to nfs-ganesha

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2017-12-15 Thread Daniel Gryniewicz
On 12/15/2017 12:48 PM, Frank Filz wrote: From: Aurelien RAINONE [mailto:aurelien.rain...@gmail.com] Sent: Friday, December 15, 2017 9:30 AM To: Nfs-ganesha-devel@lists.sourceforge.net Subject: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage Hi, I'm new to nfs-ganesha a

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-03 Thread Aurelien RAINONE
On 3 Jan 2018 21:02, "Frank Filz" wrote: > From: Aurelien RAINONE [mailto:aurelien.rain...@gmail.com] > Sent: Wednesday, January 3, 2018 10:58 AM > To: Nfs-ganesha-devel@lists.sourceforge.net > Subject: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage &

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-03 Thread Frank Filz
[mailto:aurelien.rain...@gmail.com] Sent: Wednesday, January 3, 2018 12:55 PM To: Frank Filz ; Nfs-ganesha-devel@lists.sourceforge.net Subject: RE: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage On 3 Jan 2018 21:02, "Frank Filz" mailto:ffilz...@mindspring.com> > wrote:

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-04 Thread DENIEL Philippe
Hi Aurélien, I can provide you an alternate solution, still nfs-ganesha based. For the need of a project, I developed an open-source library that emulate a POSIX namespace using a KVS (for metadata) and an object store (for data). For example, you can use REDIS and RADOS. I have written a FSAL

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-04 Thread Aurelien RAINONE
Hello Philippe, Did you mean it like I could directly use the FSAL you developed, modify some code (or not?) in order to use S3 as a storage? Or is it to share solutions you found to some problems I will encounter during the development of my FSAL_S3. In both cases, I sure would be happy to have

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-04 Thread Matt Benjamin
That would work. The logic that the RGW FSAL uses to do all of Frank describes is in the Ceph source rather than FSAL_RGW for the same reason. The strategy I take is to represent the RGW file handle as concatenated hashes of S3/swift container name and full object name, which yields stable handle

Re: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage

2018-01-05 Thread DENIEL Philippe
On 01/04/18 13:34, Aurelien RAINONE wrote: Hello Philippe, Did you mean it like I could directly use the FSAL you developed, modify some code (or not?) in order to use S3 as a storage? Or is it to share solutions you found to some problems I will encounter during the development of my FSAL_S3