====================================
or just try
#! /usr/bin/ksh
FS=`df|awk '{print $6'}|grep -v Mounted|grep -v '/proc$'|`
mt -f /dev/nrmt#h rewind
for fs in $FS
do
vdump -uvf /dev/nrmt#h ${fs}
====================================
above is very very basic but use this structure and improve on it however you want, i.e. logging, checking (if then else) with exit codes etc....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.