Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cstor-pool on K3OS is not working #2686
On K3OS we are not able to create the pool. The pool creation is failing mainly because K3Os does not support udev. When we use "zpool create" command, the zpool labels the disk and rely on udev to get the information about the devices (Specialy it checks if device is initialized by udev or not via udev_device_get_is_initialized library call). It creates a partition and waits for (via udev)
Once this is done the device can be accessed reliably. Since K3Os does not have udev, the above check will fail and zpool create command will return with the failure.
currently we use udev for the following items :-
This is the test sample code which checks and return if device is initialized by udev or not.
The above binary should return