Previously I was getting a list like this:
But this method will no longer work, so I'm trying to get @list in another way but am stumped. I have a list of devices in a file like /tmp/devices which contains
There are other devices such as sdd, sde, sdf, and are in the same disk group but are clones, so I need to be specific so I only get my R2, BCV1, BCV2 devices.
How would I get @list using the /tmp/device list?
Thanks.
Code:
@list = `vxdisk -o alldgs list | grep $VARIABLE`
But this method will no longer work, so I'm trying to get @list in another way but am stumped. I have a list of devices in a file like /tmp/devices which contains
Code:
sda
sdb
sdc
There are other devices such as sdd, sde, sdf, and are in the same disk group but are clones, so I need to be specific so I only get my R2, BCV1, BCV2 devices.
How would I get @list using the /tmp/device list?
Thanks.