пятница, 22 января 2010 г.

Label multiple disks for VxVM

Create format command-file: type, 0. Auto configure, quit.
# vi format.command
t
0
q

Select your disks and white a loop.
# for disk in $(vxdisk -qe -o alldgs list | awk '{if($5=="error"){print $6}}' | sed "s/s2$//") ; do format -d $disk -f format.command ; done

Комментариев нет: