[ale] hd duplication --quick response requested--

David Hamm dhamm at itserve.com
Fri Sep 4 11:17:09 EDT 1998


So will this allow me to duplicate the disk with the partition table
intact?  
Could I copy from one raw device to the other?
cp /dev/sd0 /dev/sd1



On Fri, 4 Sep 1998, Jim Lynch wrote:

> Hi, David,
> 
> Dump/restore is probably the safest way.  From restore man page:
> 
> 
> f       The next argument to restore is used as the name of the archive
>         instead of /dev/rmt?. If the name of the file is of the form
>          ``host:file'', restore reads from the named file on the remote
>         host using rmt(8).  If the name of the file is `-', restore
> reads
>         from standard input.  Thus, dump(8) and restore can be used in a
>         pipeline to dump and restore a file system with the command
> 
>                    dump 0f - /usr | (cd /mnt && restore xf -)
> 
> Jim.
> -- 
> ------------------------------------------------------------------------
> Jim Lynch, SGI/Cray Research, Inc. / ARS: K4GVO
> Phone: (770) 631-2254, Email: jwl at sgi.com
> Suite 270, 200 Westpark Drive, Peachtree City, GA 30269
> 






More information about the Ale mailing list