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

logic: associating blockdevices with storage #55

Open
AmitKumarDas opened this issue Jan 9, 2020 · 0 comments
Open

logic: associating blockdevices with storage #55

AmitKumarDas opened this issue Jan 9, 2020 · 0 comments
Labels

Comments

@AmitKumarDas
Copy link

AmitKumarDas commented Jan 9, 2020

This is the current logic that is followed by default openebs operators to create CStor Pools.

	err = blockdevice.
		BuilderForAPIObject(bdObj).
		BlockDevice.
		ValidateBlockDevice(
			blockdevice.CheckIfBDIsActive(),
			blockdevice.CheckIfBDIsNonFsType(),
			blockdevice.CheckIfBDBelongsToNode(poolValidator.nodeName))

However, cstorpoolauto does not make check for presence of file on the device. This issue should have the details if filesystem should be considered at all to select a device.

@AmitKumarDas AmitKumarDas changed the title associating blockdevices with storage logic: associating blockdevices with storage Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant