Re: [CentOS] creating disk images

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




>Replacing /dev/hda1 in your dd line by /dev/hda used to work.


Thanks, I'll try that...

Any way to drop the size of the created image?
Ex: disk is 100G and I no longer need all the extra space. perhaps only 20Gig image instead of the full 100Gig.
Extracting and compressing images depends on what you're up to. You can compress the created image, even on the fly, but then perhaps dd'ing a whole disk is not such a good idea if all you're interested in is backing up files, as you're saving lots of unused blocks in your filesystems, and also taking a completely useless snapshot of your whole swap partition. If backing up files is your business, you shouldn't be bypassing the filesystem as with dd, so you will want to read about tar or cpio for instance. On the other hand, you may wish to keep a pristine image of a disk for forensics purposes, so dd is the way to go. Feel free to elaborate about your needs and we may be able to help better.


--
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux