shell: Avoid creating RAID devices with wrong type and chunk size

Fixes #1070