[SunHELP] dd command

duke.glover at verizon.com duke.glover at verizon.com
Thu Jun 20 14:45:11 CDT 2002


try this ----  this assumes your new HD is c0t1d0 (change to meet your
needs)

dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t1d0s2 bs=3677184

This will make an exact copy of c0t0d0s2 onto c0t1d0s2

s2 represents your whole disk

afterward run an fsck on the new disk

HTH,

Duke Glover
*******************************************




                                                                                                                                       
                      Heinrich Rebehn                                                                                                  
                      <rebehn at ant.uni-b        To:       "Zakaria A. Mattar" <zmattar at atc.com.sa>                                      
                      remen.de>                cc:       Sree <sreep at qnetstaff.com>, sunhelp at sunhelp.org                               
                      Sent by:                 Subject:  Re: [SunHELP] dd command                                                      
                      sunhelp-admin at sun                                                                                                
                      help.org                                                                                                         
                                                                                                                                       
                                                                                                                                       
                      06/20/02 03:28 PM                                                                                                
                                                                                                                                       
                                                                                                                                       




Probably your output device file (of=/dev/rdsk/cxtxdx) does not exist,
typo?, so the data is written into a newly created plain file in /dev,
filling up your disk.

Heinrich Rebehn

Zakaria A. Mattar wrote:
> I was trying to dublicate my harddisk
> dd if=/dev/rdsk/cxtxdx of=/dev/rdsk/cxtxdx bs=128bs
>
> -----Original Message-----
> From: Sree [mailto:sreep at qnetstaff.com]
> Sent: Thursday, June 20, 2002 2:04 PM
> To: Zakaria A. Mattar
> Subject: Re: [SunHELP] dd command
>
>
> what are u doing with dd dd just takes the input and sends it to the std
> output,
> what are u exactly doing with dd .
>
> sree
> ----- Original Message -----
> From: "Zakaria A. Mattar" <zmattar at atc.com.sa>
> To: <sunhelp at sunhelp.org>
> Sent: Thursday, June 20, 2002 11:28 AM
> Subject: [SunHELP] dd command
>
>
> Dear All,
> Whenever I used the dd command the root partition will be full 100 %.
> Any idea
>
> Zakaria A. Mattar
> Advanced Telecom Co.
> Operation Engineer
> Tel:   +966 1 4601877/114
> Fax:   +966 1 4601988
> Email: zmattar at atc.com.sa
> _______________________________________________
> 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
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list