Ghosting with Linux

Brian Kelsay bkelsay at comcast.net
Fri Aug 22 03:47:55 CDT 2003


Garrett Goebel wrote:
Single or multi-processor system?
> 
> Things you could do to decrease the transfer time:
> o defrag the drive
Can you defrag a EXT2 or 3 partition? Or Zero out the free space for 
that matter.

> o zero all free drive space
>   http://www.sysinternals.com/ntw2k/source/sdelete.shtml
> o set pagefile.sys to zero on shutdown
>   Hive: HKEY_LOCAL_MACHINE
>   Key: SYSTEMCurrentControlSetControlSessionManagerMemory Management
>   Name: ClearPageFileAtShutdown
>   Type: REG_DWORD
>   Value: 1

> What to do? I looked around and found that lzop is considered one of the 
> fastest compression utilities. I've gone back and plugged the times for 
> lzop itself into the above table. I then tried the full command line 
> substituting lzop instead of bzip.
> 

> So in summary:
> 
> backup:
>   dd if=/dev/hda1 | lzop -c | ssh [user at addr] dd of=/hda1.lzo
> 
> restore:
>   ssh [user at addr] lzop -dc /hda1.lzo | dd of=/dev/hda1

Never heard of lzop, I guess I should get out more.

-- 
A Computer without Microsoft is like a chocolate cake without mustard.
-as seen on IRC




More information about the Kclug mailing list