[CentOS] A questiong about replacing my failing drive

Sun Jun 12 20:00:44 UTC 2005
Rodrigo Barbosa <rodrigob at suespammers.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jun 12, 2005 at 09:16:39AM -0400, Steve Huff wrote:
> one technique that works quickly and simply for *cloning* disks (i.e.  
> you've got one disk that's already partitioned, has data on it, etc.  
> and you've got another of the same make and model, and you want two  
> exact copies) is to use dd.  since it's a block-level operation, it  
> couldn't care less about whatever sorts of filesystems you've put on  
> the disk, it'll preserve the MBR and whatever bootloader you may have  
> there, and so forth.
> 
> 1. install source disk and target disk in a machine (hooray for hot- 
> swap bays!)
> 2. boot from CD or from other disk (i.e. *not* the target disk) into  
> single-user mode
> 3. dd if=/dev/sdb of=/dev/sdc bs=1024 (source disk is /dev/sdb,  
> target is /dev/sdc)

I really don't recomend it. You will get all kinds of geometry related
problems, not to mention it will take ages to copy.

 From my experience, even with all the extra work you have to do copying
each filesystem one by one, it is still faster (total time) and a wholedisk
dd.

[]s

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCrJRspdyWzQ5b5ckRAj9bAJ9khvjLWjbf+PU7ppZwXPXMGLzC/gCghl9S
0dyY4EPPFysjhytdDfSNCgM=
=fnaK
-----END PGP SIGNATURE-----