glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

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

Open amarts opened this issue 6 years ago • 2 comments

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 avatar Mar 07 '19 15:03 amarts

@oshankkumar @aravindavk @kshlm @Madhu-1 @atinmu @JohnStrunk @kotreshhr @poornimag

amarts avatar Mar 07 '19 15:03 amarts

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.

aravindavk avatar Mar 08 '19 04:03 aravindavk