Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localfs: warn if volume has non-Varasto files #237

Open
joonas-fi opened this issue Jan 20, 2024 · 0 comments
Open

localfs: warn if volume has non-Varasto files #237

joonas-fi opened this issue Jan 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joonas-fi
Copy link
Member

Currently we mount dir like <mountpoint>/varasto-<volume name>.

The varasto-<volume name> dir is the concrete blob database.

We should change the driver to not have mount path like that but only <mountpoint> instead. The driver would then calculate the varasto-<volume name> DB dir itself. This would improve:

  • this would enforce the convention
    • I already accidentally mounted the root because I forgot I had to create the subdir
  • it's good when you mount a disk to have Varasto files in a subdir and not in root directly
  • the driver could have (optional) logic to warn if the disk is "unclean" (= have non-Varasto files)
@joonas-fi joonas-fi added the enhancement New feature or request label Jan 20, 2024
@joonas-fi joonas-fi changed the title localfs: warn is volume has non-Varasto files localfs: warn if volume has non-Varasto files Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant