[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Installing loads of Dbians



> 
> Maybe I'm missing something here, but if the servers will be similarly 
> spec'd, can't you just install a single machine, put the drive into 
> another machine and then:
> 
> cp /dev/sdb1 /dev/sdc1
> 

dd would be a better bet than cp when copying devices. If the drives are
identical, you can do an entire drive at once rather than partition-by-
partition:

	dd if=/dev/sda of=/dev/sdb

This has the advantage of copying the partition table as well (hence why
I said "identical" drives - that bit's important). I've never tried doing
this though :)

If you're doing a partition-by-partition copy, use cp to copy data, dd
to copy the raw paritions. If using cp, use "cp -pr".

Chris...

-- 
\ Chris Johnson           \
 \ cej [at] nightwolf.org.uk    ~-----,   
  \ http://cej.nightwolf.org.uk/  ~-----------------------------------, 
   \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.