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

Start a Node Doc Update -- Handle Multiple Data Stores #4684

Closed
randmark opened this issue Apr 24, 2019 · 1 comment
Closed

Start a Node Doc Update -- Handle Multiple Data Stores #4684

randmark opened this issue Apr 24, 2019 · 1 comment

Comments

@randmark
Copy link

Re: Start a Node

Issue Description

It's not currently clear in the doc that users can run the --store attribute multiple times to add multiple data stores. This is usually done to add more space or provide slower or faster data stores to the same node rather than adding them as separate nodes entirely. If someone were to want to add more --store attributes they might not be sure that it's a repeatable attribute based on how it's written currently.

Suggested Resolution

The doc needs to make it clear how to run it multiple times, which is similar to the following:

cockroach start --store=path=/blah,attrs=ssd --store=path=/blah2,attrs=hdd ...

Also, there are a number of caveats that might need to be be handled for this:

  • Multiple data stores are not necessarily balanced evenly and if a user wants to do this because they want an easier way to handle adding new storage capacity we recommend using LVM or ZFS with a virtual storage volume to solve those issues instead of adding new data stores. See this internal slack discussion: https://cockroachlabs.slack.com/archives/C0KB9Q03D/p1556123389004300

  • The doc needs to specify the reasons to do multiple stores, such as if you want to make some slow disks available, in which case you really should use attributes so you can set Zone configs. Note the following internal thread: https://cockroachlabs.slack.com/archives/C0KB9Q03D/p1556123453005600

  • Possibly, we'd need to clarify how Zone configs interact with these --store attributes so this is clear.

@jseldess
Copy link
Contributor

jseldess commented Mar 1, 2021

Closing in favor of #7666 and #7889

@jseldess jseldess closed this as completed Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants