Hi Jack,
This seems to be your exact problem:
https://stackoverflow.com/questions/57927360/how-to-fix-invalid-argument-for-ioctl-requests-to-block-device
Regards,
Henrik Morsing
------------------------------
Henrik Morsing
------------------------------