Raw Devices in Solaris Zones

To check if any LUNs are being used as raw devices within Solaris Zones, the following one-liner can be used from the global.

for i in `zoneadm list | grep -v global`; do echo $i; zonecfg -z $i info | grep -i match;done

(or)

cd /<zone-root>/root/dev/rdsk; ls

Note: the first one will only work if the zonecfg has been updated to include the raw device

Leave a Reply