<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Cloning machines</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2>I have done this using dd .. on none raid systems.. 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
size=2><SPAN class=702062915-16042007><FONT face=Arial color=#000080 size=2>If 
both disks are the same size this will work.</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2><SPAN 
class=702062915-16042007></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2>The local changes will need to be done afterward include 
the name of the system and the IP address if you are running fixed IP :-\ 
if you are running DHCP then you should not need to worry about 
that.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2>I go into single user mode with the target/slave disk just 
connected but not used by the OS on either the sata or ide 
bus</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2>The command that I have used is </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=702062915-16042007><FONT face=Arial 
color=#000080 size=2></FONT></SPAN> </DIV><SPAN 
class=702062915-16042007><FONT face=Arial size=2>
<P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt" align=left><FONT 
face="Times New Roman" color=#000080 size=3>nice -19 dd if=/dev/hdc of=/dev/hdd 
bs=8192k &<ret></FONT></P>
<P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt" align=left><FONT 
face="Times New Roman" color=#000080 size=3></FONT> </P>
<P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt" 
align=left><?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman" 
size=3><FONT color=#000080><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007>You may need to change the /dev/hdc to match which 
device your drives show up as .. </SPAN></SPAN></FONT></FONT></o:p></P>
<P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt" align=left><FONT 
face="Times New Roman" color=#000080 size=3>The nice sets the priority to a very 
high level so the process runs faster.</FONT></P>
<P class=MsoNormal dir=ltr style="MARGIN: 0in 0in 0pt" align=left><FONT 
face="Times New Roman" color=#000080 size=3></FONT> </P>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><FONT 
color=#000080>The dd command uses as an input the /dev/hdc; the output is 
/dev/hdd and the block size is set to 8192k</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT color=#000080></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 size=2>By putting the 
process into the background you can check the progress by doing a ps -ef.. 
</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT color=#000080></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 size=2>I have seen a 
complete duplication on a 150 Gig drive being done in 1 hour 40 minutes.. your 
speed will vary depending on the CPU clock speed etc.. 
</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 size=2>Hope this 
helps</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN 
class=702062915-16042007><FONT face=Arial color=#000080 
size=2>Jim</FONT></SPAN></SPAN></FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<UL>
  <P><FONT color=#000080><SPAN lang=en-us><FONT face="Courier New">James A. 
  Sterling III</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Courier New" 
  size=1><Beware of programmers who carry screwdrivers></FONT></SPAN> 
  <BR><SPAN lang=en-us><FONT face="Courier New" size=2>Integrated 
  Labs                     
  </FONT></SPAN><BR><SPAN lang=en-us><FONT face="Courier New" 
  size=2>610-591-6450 Voice</FONT></SPAN> <BR><SPAN lang=en-us><FONT 
  face="Courier New" size=2>610-591-3456 Fax</FONT></SPAN> <BR><SPAN 
  lang=en-us><FONT face="Courier New" size=2>610-319-1518 Pager</FONT></SPAN> 
  </FONT></P></UL>
<P><FONT color=#000080><SPAN lang=en-us><FONT face="Courier New" 
size=2>   pager email 6103191518@arch.net</FONT></SPAN> </FONT></P>
<DIV><FONT color=#000080></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
color=#000080>
<HR tabIndex=-1>
</FONT><FONT color=#000080><FONT face=Tahoma size=2><B>From:</B> Jerry Roy 
[mailto:jerry.roy@us.army.mil] <BR><B>Sent:</B> Monday, April 16, 2007 11:15 
AM<BR><B>To:</B> rhn-users@redhat.com<BR><B>Subject:</B> [rhn-users] Cloning 
machines<BR></FONT><BR></FONT></DIV>
<DIV><FONT color=#000080></FONT></DIV><FONT color=#000080><FONT 
face="Verdana, Helvetica, Arial"><SPAN style="FONT-SIZE: 12px">I’ve got several 
Dell 2950s with RHEL4AS. Our client wants us to clone the OS from one machine 
onto all the others such that all systems are “identical” from an OS 
perspective.  Can someone give me a general outline of steps to take that 
will result in multiple identical machines while avoiding some of the “gotchas” 
like overwriting the /etc/fstab file. Etc?  Obviously, I found that one 
first hand.  In advance, thank you.<BR>Jerry</SPAN></FONT> 
</FONT></BODY></HTML>