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

Multiple disk with capacity based scheduling #47

Closed
yasker opened this issue Mar 28, 2018 · 4 comments
Closed

Multiple disk with capacity based scheduling #47

yasker opened this issue Mar 28, 2018 · 4 comments
Labels
area/ui UI related like UI or CLI component/longhorn-manager Longhorn manager (control plane) kind/feature Feature request, new feature
Milestone

Comments

@yasker
Copy link
Member

yasker commented Mar 28, 2018

Current Longhorn replicas will use the directory at /var/lib/rancher/longhorn to store the data. We should support multiple user-specified locations on the node to use Longhorn.

We can support the same locations (e.g. in addition to the default location, user can add /opt/storage as the second location, and make sure the directory is available to use on all the nodes) for all the nodes as the first step if we don't need to store node-specific information (hopefully).

In the end, the user can update the node config and set desired disk (mounted to a node directory) to store Longhorn volume data. Longhorn can choose where to place the volume data depends on how much space the disk had left.

@yasker yasker added area/ui UI related like UI or CLI component/longhorn-manager Longhorn manager (control plane) labels Mar 28, 2018
@yasker yasker added this to the v0.3 milestone Mar 28, 2018
@yasker yasker added the kind/feature Feature request, new feature label Mar 28, 2018
@pulberg
Copy link

pulberg commented Mar 29, 2018

Would be great to use the location where Docker is configured to store images/containers, it is a much larger volume and can be expanded as needed, we currently modify Docker startup with daemon.json -

{
    "graph": "/mnt/dockerdata",
    "insecure-registries": ["blah2.com:7720","blah.com:7721"]
}

@yasker
Copy link
Member Author

yasker commented Mar 29, 2018

Yeah, after we implemented this feature, any arbitrary location on the host would be supported for storing data.

@yasker yasker changed the title Multidisks scheduling Multidisk with capacity scheduling Jun 22, 2018
@yasker yasker changed the title Multidisk with capacity scheduling Multiple disk with capacity based scheduling Jun 22, 2018
@yasker
Copy link
Member Author

yasker commented Jun 27, 2018

Phase 1, longhorn/longhorn-manager#85 merged.

@yasker
Copy link
Member Author

yasker commented Jul 28, 2018

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui UI related like UI or CLI component/longhorn-manager Longhorn manager (control plane) kind/feature Feature request, new feature
Projects
None yet
Development

No branches or pull requests

4 participants