Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!newsrelay.iastate.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet From: j@ida.interface-business.de (J Wunsch) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: IDE to SCSI disk dup Date: 6 Jun 1996 10:58:51 GMT Organization: interface business GmbH, Dresden Lines: 26 Message-ID: <4p6dlb$l7i@innocence.interface-business.de> References: <4p4a85$bnd@shiva.usa.net> Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) NNTP-Posting-Host: ida.interface-business.de X-Newsreader: knews 0.9.6 X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E steve@smallweb.com (Steve Suhre) wrote: > I will be upgrading a server from an IDE disk to SCSI. I would like to > install the SCSI drive and copy directly from disk to disk, the IDE > drive will then be moved off to another machine. Will "dd" work with > the respective drives listed for "if" and "of"? Is there another > recommended way? dd is only useful if both disks have the exact same geometry, at least the same total number of sectors. Normally, it's better to setup the new disk (i think disksetup is your friend here), and then copy filesystem-wise. This can be done with: mount /dev/sd<whatever> /mnt dump 0f - /dev/rXXX<olddisk> | (cd /mnt; restore rvf -) Mount each of your new file systems in turn to /mnt, and repeat the above. You can finally remove the file ``restoresymtable'' in each of your new file systems. It's a leftover from restore(8) that would have been used in case of an incremental restore. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j