SUMMARY: Formatting multiple disks at once

From: Jeff Kennedy (jkennedy@amcc.com)
Date: Wed Mar 15 2000 - 11:43:02 CST


Several people suggested opening multiple windows and running format in
each one. Definitely a workable solution but I knew there had to be a
more elegant one. And there is ...

Run format on one disk and set it the way you want; partition structure,
label, etc.... Then use 'prtvtoc -s /dev/dsk/c#t#d#s# > 0.out' to get a
data file of this disks vtoc. Once you have that you run 'fmthard -s
0.out /dev/rdsk/c#t#d#s#' on each disk (from a loop if you wish) and
it's done in seconds.

Thanks to:

Gary Jensen Sean Quaint
Darren Dunham Timothy Lindgren
Danny Johnson Rodney Marable
Jason Schechner Robert Johannes
David Foster David Evans
Kevin Korb Chris Daudert
Michael Salehi

~JK

Jeff Kennedy wrote:
>
> What I am really trying to do is remove ALL traces of Volume Manager
> from these disks. If it's just a matter of a new vtoc that would be
> great. If it's just a new label that would be great too.
>
> I need to quit asking what I think I want to know and start stating what
> I'm trying to do instead. I can never get the two to match.
>
> Thanks.
> --
>
> ===================
> Jeff Kennedy
> UNIX Administrator
> AMCC
> jkennedy@amcc.com
>
> ------------------------------------------------------------------------
>
> Subject: Formatting multiple disks at once
> Date: Fri, 10 Mar 2000 14:48:48 -0800
> From: "Jeff Kennedy" <jkennedy@amcc.com>
> To: Sun-Managers List <sun-managers@sunmanagers.ececs.uc.edu>
>
> How do I do it? I have 2 controllers, c1 and c2, and each has 7 disks.
> I want to format all of the disks on each controller. Format's man page
> talks about the -f option but gives no examples and I don't know what
> it's really asking for.
>
> Thanks.
> --
>
> ===================
> Jeff Kennedy
> UNIX Administrator
> AMCC
> jkennedy@amcc.com

-- 

=================== Jeff Kennedy UNIX Administrator AMCC jkennedy@amcc.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT