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.
Not sure if dirty hack or awesome hack...
ReplyDeleteBut, of course, irrelevant when ALL the disks are in zpools, as they should be.