Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Can gd2 take a directory as requirement (instead of 'add-device') for loopback bricks? #1502

Open
amarts opened this issue Mar 7, 2019 · 2 comments

Comments

@amarts
Copy link
Member

amarts commented Mar 7, 2019

Observed behavior

Device registration often fails in container world. Specifically when I am trying to run in minikube etc.

Expected/desired behavior

Considering we now have 'loopback' brick support, all we need is a directory as an argument. With that, gd2 has no dependency on devices.

Other useful information

This will be really useful for GD2 to succeed on different filesystem and other eco-systems where people doesn't use LVM and XFS.

Also helps us in GCS world.

@amarts
Copy link
Member Author

amarts commented Mar 7, 2019

@aravindavk
Copy link
Member

It is already available in Gd2 API, If ProvisionerType=loop specified during add device then it expects directory instead of raw device. We need to change this in gcs deployment where it adds devices.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants