scripting disk labeling

From: Vic Engle (sunsysadmin@gmail.com)
Date: Tue Sep 19 2006 - 14:18:20 EDT


Hello List,

Currently I have a perl script to create and map a large number of
luns to a 2 node cluster. I would like to automate labeling the luns
on the cluster host in order to quickly and automatically create a
test environment.

Should this work?

echo "lab" >cmdfile
format -f cmdfile -d diskname

Thanks,
Vic
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:50 EDT