[SunHELP] Command to mirror partitions
Joshua Fielden
sunhelp at sunhelp.org
Wed Nov 7 12:22:47 CST 2001
(taken from a script we use)
echo ""
echo "Cloning partition table from c0t0d0 to c0t1d0"
echo ""
if [ ! -d /etc/preserve ] ; then
mkdir /etc/preserve
fi
prtvtoc /dev/dsk/c0t0d0s0 > /etc/preserve/vtoc.c0t0d0
fmthard -s /etc/preserve/vtoc.c0t0d0 /dev/rdsk/c0t1d0s0
JF
Ben Ricker quoth, on Wed, Nov 07, 2001 at 12:19:09PM -0600:
> From: Ben Ricker <bricker at wellinx.com>
> To: Sun Help List <sunhelp at sunhelp.org>
> X-Mailer: Evolution/0.16.100+cvs.2001.11.02.21.57 (Preview Release)
> Subject: [SunHELP] Command to mirror partitions
> Reply-To: sunhelp at sunhelp.org
> Date: 07 Nov 2001 12:19:09 -0600
>
> I have one disk that I want to mirror to another using Disksuite. I have
> one disk laid out. I want to format the other disk with the same
> partitions. I remember there being a command to format a drive with the
> same partitions as another. Does anyone remember the command and syntax?
>
> Ben Ricker
> System Administrator
> Wellinx.com
>
>
>
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
--
"We are either doing something, or we are not.
'Talking about' is a subset of 'not'."
Joshua Fielden - jf at fielden.org
More information about the SunHELP
mailing list