Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Object deletion does not work properly on NVMe drives when using by-id dev alias #50
It appears that the OMV-ZFS plugin does not properly support NVMe drives when deleting objects from pools created on these drives when using "by-id" dev aliasing. By analysing how
Consider the following scenario:
As you can see above, plugin is trying to clear the label on
To be fair, it appears that this is not entirely plugins fault, as I've been able to find a similar problem in zfsOnLinux's repo here: zfsonlinux/zfs#3478 - looks like pool creation does not properly partition CCISS (and NVMe as reported at the end) drives.
However, even if this issue gets eventually fixed, plugin's
This problem (in conjunction with very limited "by-id" regexp capabilities) will also occur when using zpools on encrypted drives (eg. using LUKS).