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

Allow data dir to be a symlink #5988

Open
matevz opened this issue Jan 6, 2025 · 0 comments
Open

Allow data dir to be a symlink #5988

matevz opened this issue Jan 6, 2025 · 0 comments
Labels
c:bug Category: bug

Comments

@matevz
Copy link
Member

matevz commented Jan 6, 2025

SUMMARY

I ran out of disk space the other day and migrated datadir to the new drive. Instead of setting a new path in the oasis node config file I replaced the original data dir folder with a symbolic link pointing to a folder on the new drive. But when running oasis-node, I get

common/Mkdir: path '/home/matevz/.oasis-node/data_validator' is not a directory

This approach usually works for other services (tested with bitcoind, geth, clightning), so I would prefer to use it for oasis-node too.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

Cmd.

OASIS NODE VERSION
Software version: 24.2
Consensus:
  Consensus protocol version: 7.0.0
Runtime:
  Host protocol version:      5.1.0
  Committee protocol version: 5.0.0
Go toolchain version: 1.22.2
@matevz matevz added the c:bug Category: bug label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant