diff <(zpool status | awk '/c.t.d./ {print $1}' | sort) <(ls /dev/rdsk/c?t?d? | cut -f4 -d/ | sort) | awk '/^>/ {print "free disk: " $2}'
Not sure if dirty hack or awesome hack...But, of course, irrelevant when ALL the disks are in zpools, as they should be.
Note: Only a member of this blog may post a comment.
Not sure if dirty hack or awesome hack...
ReplyDeleteBut, of course, irrelevant when ALL the disks are in zpools, as they should be.