Originally posted by: andycor
This script will format all the SSA disks configured in a system:
#!/bin/ksh
for i in `lsdev -Cc pdisk -r name`
do
echo $i
/usr/lpp/diagnostics/bin/ssa_format -l $i
done
The ssa_format command don't wait until finalize, so the format is performed to all the disks in parallel way.
Regards.