[SunHELP] Mirroring a disk

Low, Adam sunhelp at sunhelp.org
Wed Apr 25 03:05:55 CDT 2001


Hi,

I'm just giving it a try now on a spare box, this is this the plan:

; Copy the partitioning info across.
prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0

; Copy each individual slice.
dd if=/dev/rdsk/c0t0d0s0 of=/dev/rdsk/cot1d1s0 

; Reboot and prey !
Ermm...

Cheers,
Adam

> -----Original Message-----
> From: Trond Eirik Aune [mailto:trond.eirik.aune at ttyl.com]
> Sent: 25 April 2001 10:02
> To: sunhelp at sunhelp.org
> Subject: RE: [SunHELP] Mirroring a disk
> 
> 
> Hi
> 
> Dont you have to run some cammands to make the disk bootable 
> as you have to
> do on HP (mkboot, lvlnboot) ?
> 
> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of Will Mc Donald
> Sent: Wednesday, April 25, 2001 9:56 AM
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] Mirroring a disk
> 
> 
> Boot of the CD, then something like...
> 
> 
> dd if=/dev/dsk/c0t0d0 of=/dev/dsk/c0t1d0
> 
> 
> Actually, looking at the /dev directory in Solaris there 
> doesn't appear to
> be a "whole disk" device (equivalent to /dev/sda on linux for 
> instance) so
> you might have to partition the new drive then do individual slices.
> 
> Will.
> 
> ----- Original Message -----
> From: "Low, Adam" <ALow at Prioritytelecom.com>
> To: <sunhelp at sunhelp.org>
> Sent: Wednesday, April 25, 2001 8:41 AM
> Subject: RE: [SunHELP] Mirroring a disk
> 
> 
> > Hi Will,
> >
> > I'd be interested in how that's done, could you provide an 
> example command
> line !?
> >
> > Thanks,
> > ADam
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 



More information about the SunHELP mailing list