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

Data stored in /media folder #52

Open
muhlpachr opened this issue Nov 19, 2024 · 3 comments
Open

Data stored in /media folder #52

muhlpachr opened this issue Nov 19, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@muhlpachr
Copy link

How to change Data store from /share to /media/disk ?

I have permanetly mounted disk drive at /media/disk.

@denisgolius denisgolius added the question Further information is requested label Nov 20, 2024
@denisgolius
Copy link
Contributor

Hey @fuslwusl , could you please help with this question?

@fuslwusl
Copy link
Collaborator

@muhlpachr At the moment the storage path cannot be configured and is set to
-storageDataPath" "/share/victoria-metrics-data"
You could try to change the storage path by adding the following parameter in the UI field Additional Arguments:
-storageDataPath" "/media/disk/victoria-metrics-data"

But this will add the parameter -storageDataPath twice and could lead to an error.
An alternative way could be a symlink in the linux file system from /share/victoria-metrics-data to /media/disk/victoria-metrics-data

@muhlpachr
Copy link
Author

Neither method works.

additionalArguments: just changes path for VictoriaMetrics application, but since /media/disk/ is not included in container mounts, it is not accessible from container

Symlink in Linux file system does not work either for the same reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants