Summary: New disk Labelling with a script

From: Jane Rams <janerams_at_hotmail.com>
Date: Wed May 04 2005 - 16:50:46 EDT
There are a number of responses basically doing the following or to use 
prtvtoc output as input to fmthard.

Have all disks listed in a file /tmp/1.

for i in `cat /tmp/1`
>do
>format $i << EOM
>la
>y
>qui
>EOM
>done


For the second part - i can similarly use keystrokes as input to format to 
make 2 partions '0' for allowing veritas encapsulation of root disk through 
a post install scrit.

Someone pointed not to encapsulate root disk as a practice.

Appreciate the great help received from everyone.

Thanks
Jane




Jane Rams wrote:

How can we automate the process of using format and label a bunch
of disks at a time through a script?

#format
....
selecting c2t0d14
[disk formatted]
Disk not labeled.  Label it now? y

create an input file for format with all the necessary keystrokes
and call  format with STDIN redirection

Related question, how do we make veritas partions of 25 MB sizes
typically slice 6/7 during jumpstart install to size zero to allow
root disk encapsulation - without having to go through format - and
partition to make it zero.

Will summarize.

TIA
Jane

_________________________________________________________________
Dont just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed May 4 16:50:59 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:46 EST