|
|||||||||||
|
Re: copying a disk image to restore on linux
From: Kevin Currie <kcurrie(at)cisco.com>
Date: Mon Dec 30 2002 - 17:09:24 EST If you are going to use dd to backup a partition, you might want to zero out all of the unused space first, so it will compress better. dd if=/dev/zero of=/bigZEROfile ; rm /bigZEROfile The dd will fill the disk with a large file full of zeros, then exit when the disk is full, then delete the file. Now all "free" space on the disk should have highly compressable zeros in it.
stefmit wrote:
>>hi all, >> I would like to know if there are any utilities on linux (preferably >>freeware) which can create a complete image of the hard-drive. I know dd >>exists, but that would create the image of the entire drive. If the drive >>was (say) 40 GB and the free space is 20 GB then that would be a waste of >>space. Is there a tool which would let me create the image of the used >>space on the drive ? >> >>thank you >>gangadhar > > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Currie | | | | SysAdmin/ECS Security | .|||. .|||. | Email: Cisco Systems | ..:|||||||:...:|||||||:.. | kcurrie(at)cisco.com Austin, Texas |---------------------------| ~~~~~~~~GPG/PGP public key: https://undertow.2y.net/kcurrie.pub ~~~~~~~~~Received on Tue Dec 31 14:11:42 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:33 EDT |
||||||||||
|
|||||||||||