Copy disk drive to another. Mirroring
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Copy disk drive to another. Mirroring




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Copy disk drive to another. Mirroring  
Tom


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-20-07 06:24 PM

Hi
1-What is the difference between copying a disk to another by the
command "dd" or using any    script and the "mirroring" with VxVM.
2-I have 6 servers with the same configuration [ solaris 8, sparc sun
fire, VxVM,SunCluster,  4 disks]. I want to install just one server
and copy all the disks to the other servers [ the boot disk and the
other disks].
3-Is there any difference beween copying the boot disk or copying the
other disks?
4-What about the DIDs and disk labels, will they missed up ?
Thanks






[ Post a follow-up to this message ]



    Re: Copy disk drive to another. Mirroring  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-20-07 06:24 PM

On 20 Apr 2007 09:52:13 -0700, Tom <taha25@gmail.com> wrote:
> Hi
> 1-What is the difference between copying a disk to another by the
> command "dd" or using any    script and the "mirroring" with VxVM.

Sounds like homework?






[ Post a follow-up to this message ]



    Re: Copy disk drive to another. Mirroring  
Darren Dunham


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-21-07 12:17 AM

In comp.unix.solaris Tom <taha25@gmail.com> wrote:
> Hi
> 1-What is the difference between copying a disk to another by the
> command "dd" or using any    script and the "mirroring" with VxVM.

If the disk is not in use, nothing.

'dd' copies a block as it exists at that point in time.  If the
filesystem is in use then the target may not represent the state of the
source filesystem that existed at any point in time.

> 2-I have 6 servers with the same configuration [ solaris 8, sparc sun
> fire, VxVM,SunCluster,  4 disks]. I want to install just one server
> and copy all the disks to the other servers [ the boot disk and the
> other disks].
> 3-Is there any difference beween copying the boot disk or copying the
> other disks?
> 4-What about the DIDs and disk labels, will they missed up ?
> Thanks

If VxVM is already installed, you do not want to use 'dd' to copy disks
without fully understanding how VxVM stores ids in the private region.
If those ids are no longer unique, "bad things"(TM) can happen

--
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
< This line left intentionally blank to confuse you. >





[ Post a follow-up to this message ]



    Re: Copy disk drive to another. Mirroring  
omi61


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-21-07 12:16 PM

On 20 Apr., 18:52, Tom <tah...@gmail.com> wrote:

> 2-I have 6 servers with the same configuration [ solaris 8, sparc sun
> fire, VxVM,SunCluster,  4 disks]. I want to install just one server
> and copy all the disks to the other servers [ the boot disk and the
> other disks].

Solaris flash installation









[ Post a follow-up to this message ]



    Re: Copy disk drive to another. Mirroring  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-07 12:18 AM

Tom <tah...@gmail.com> wrote:
>
> 1-What is the difference between copying a disk to another by the
> command "dd" or using any    script and the "mirroring" with VxVM.

1) Which layer the copy is done at and hence the relative priority
as it runs.  2) One gives a static snapshot as the blocks are
read the other keeps track of changed blocks and stays in sync.

> 2-I have 6 servers with the same configuration [ solaris 8, sparc sun
> fire, VxVM,SunCluster,  4 disks]. I want to install just one server
> and copy all the disks to the other servers [ the boot disk and the
> other disks].

I have installed large numbers of workstations using dd to
clone them quickly.  Know which files under /etc to change
per host before plugging it into the network.

> 3-Is there any difference beween copying the boot disk or copying the
> other disks?

Depends on the exact OS whether the boot block needs special
treatment.  On Solaris and Irix dd handles it correctly as
long as you chose the correct device handles.

> 4-What about the DIDs and disk labels, will they missed up ?

If the drives are not identical, probably.

Also, there exist filesystem formats that can't be copied with
dd.  Tru64's AdvFS has this problem.  I am not aware of any
Solaris issue like this but I haven't looked into the new ZFS
yet.






[ Post a follow-up to this message ]



    Re: Copy disk drive to another. Mirroring  
BIT


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-23-07 06:23 PM

use "ufsdump" command rather than "dd"






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register