jshoward
4/5/2013 - 2:48 PM

Iterate zdb command over vdev's c3 and c5

Iterate zdb command over vdev's c3 and c5

for vdev in `zpool status syspool |egrep '(c3|c5)' |awk '{print $1}'`; do zdb -l /dev/dsk/${vdev}s0 > vdev-l_${vdev}.out; done