[H-GEN] Cloning Linux System

Jason Parker-Burlingham jasonp at panix.com
Tue Jun 7 11:12:00 EDT 2005


On Tue, Jun 07, 2005 at 08:34:24PM +1000, Mark Suter wrote:

>     ## Quiesce the system
>     for daemon in apache cron squid sendmail samba mysql ; do /etc/init.d/$daemon stop ; done

Curious.  Why not just take the system to single-user mode wherein
you're assured that no random processes will be running?  In fact,
absent any unusual circumstances, there's no reason to boot multi-user
after inserting the new disk.

I also prefer to mount all the partitions I'll copy read-only, if
possible, to be absolutely sure nothing will sneak up on me.

(And don't talk to me about the time I forgot to check the copy worked
properly, and was left with d--------- permissions on most directories
under /var.)

jason




More information about the General mailing list