The following scripts will deconfigure all rd devices seen from the host node.
/etc/dumpconf -dm | nawk -F": '$2 == "rd" {print $1}'\ | sort -u | xargs -iDEV devctl -d DEV
or
for DEV in `/etc/dumpconf -dm | nawk -F":" '$2 == "rd"\ {print $1}'| sort -u` do devctl -d $DEV done