DYNIX/ptx V4.6.0 and Layered Products Software Installation Release Notes: Scripts for Deconfiguring rd Devices in CLARiiON DASS Subsystems


Appendix E
Scripts for Deconfiguring rd Devices in CLARiiON DASS Subsystems

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