On 7/29/11 9:45 PM, Benjamin Smith wrote:
I have a tested copy of EL6 that I would like to duplicate to a number of similar servers, but can't seem to find a sane howto on the subject. TLDP's "Hard disk upgrade howto" is embarrassingly antiquated: when's the last time you saw LILO?
What's the recommended procedure for doing an HDD copy/upgrade from one disk to another? Is there a nice, detailed howto that explains this in detail?
My set up is pretty straight forward. My partitions are all set up as simple partitions, with UUID's in /etc/fstab. I'm not using LVM or RAID.
If the machines are pretty much identical, clonezilla should work. Boot the machine with a 'clonezilla-live' CD or USB drive. If you can attach the target drive to the same machine you can go disk->disk. Otherwise, connect to something on the network with enough space to hold the image (ssh, nfs, or a windows share) and clone disk->image, then boot the target machines and copy image->disk. There is also a server version that will pxe-boot the targets if you need to do a large number of them.