detect raid type for twcli devices