https://lakefs.io/ logo
Title
a

Anna Schooneveld

02/17/2023, 5:34 PM
Hello, I'm new to lakeFS, and trying it out for my work. The infrastructure team has set up an instance (I believe the production instance) of lakeFS but they couldn't get s3 to work for now so they said I should use local storage.
i

Isan Rivkin

02/17/2023, 5:50 PM
Hi, the local storage should be used when running lakeFS locally on your device. If you’re looking to use lakeFS on a remote machine you should configure an S3 bucket it’ll make more sense. Why can’t they get s3 to work?
a

Anna Schooneveld

02/17/2023, 6:33 PM
Thanks! Is that just what is recommended or is there absolutely no way to use local storage when lakeFS is running on Kubernetes then? This is just for a trial/test to see if lakeFS is useful for us so it doesn't need to be perfect, just a minimal working example for now.
i

Iddo Avneri

02/17/2023, 6:48 PM
Hi Anna, LakeFS can work on local storage. Import doesn’t work at this point in time on local storage (you can use the import functionality working with cloud storage). I would be happy to jump on a call with the infrastructure team and help configure S3 if that would be helpful. Would that be helpful?
:jumping-lakefs: 1
a

Anna Schooneveld

02/17/2023, 6:55 PM
Potentially, yes, I've asked them if they're willing to configure s3 again and will update you if they have any issues, but they've finished work for the day (we're UK based). Any pointers on how to ingest data from local storage for now? If import doesn't work, does ingest still work?
i

Iddo Avneri

02/17/2023, 6:55 PM
Upload still works.
:jiggling-lakefs: 1
Did you try uploading files?
This is what I mean:
a

Anna Schooneveld

02/19/2023, 8:05 AM
hello! thanks for the help. I got stuck on this because I created a repository in the bucket local://example-bucket/ and then deleted it while I was figuring out what was wrong before you messaged, and now I tried to create it again but I got the following error: failed to create repository: found lakeFS objects in the storage namespace(local://example-bucket): lakeFS repositories can't share storage namespace any idea what this is?
i

Isan Rivkin

02/19/2023, 8:14 AM
Hi Anna, you should create the repository with a different namespace, storage namespace is underlying path to your new repository. For example, “Repository A” with S3 might be:
<s3://annas-bucket/a>
another “Repository B” with S3 could be
<s3://annas-bucket/b>
So in your case the error you get saying that that specific path
<local://example-bucket>
is already reserved for a previous repository you created. Try giving it something else, even
<local://example-bucket/test>
or something
a

Anna Schooneveld

02/19/2023, 8:32 AM
thanks! so once I have created a repository with a given name, that name will be forever "reserved", even after I've deleted the repo?
i

Isan Rivkin

02/19/2023, 8:53 AM
Specifically regarding storage namespace: we never delete it, it might be a very complex and nuanced operation. Generally regarding deleting data we don’t delete the data rather mark it with a tombstone, eventually deleted data will get picked up in different scenarios by our GC mechanism you can read more about here.
:dancing_lakefs: 1
a

Anna Schooneveld

02/19/2023, 10:20 AM
ah that's very useful to know, thanks so much!
i

Isan Rivkin

02/19/2023, 10:20 AM
YW 🙏