md168
asked on
clone a linux drive
What is the best way to clone a mirrored drive?
I have a server built that runs on mirrored drives. I have 10 more servers that I want identical to it? Should I pull the drives out of the extra 10 and put them in my first system, then run dd? Will dd let me copy a drive that I'm running from?
http://www.backuphowto.info/linux-backup-hard-disk-clone-dd
That is what I'm thinking of trying. Is this the best way to do it? The OS is Ubuntu.
I have a server built that runs on mirrored drives. I have 10 more servers that I want identical to it? Should I pull the drives out of the extra 10 and put them in my first system, then run dd? Will dd let me copy a drive that I'm running from?
http://www.backuphowto.info/linux-backup-hard-disk-clone-dd
That is what I'm thinking of trying. Is this the best way to do it? The OS is Ubuntu.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I tried DD, but it won't boot from the new drives.
What went wrong?
I could think of two possible issues:
1. Grub errors
Unfortunately, Grub uses unique identifiers (UUID) to denominate partitions. On a new hard disk, these identifiers will change. So if your Grub refuses to boot and dumps you to the Grub prompt, you will have to manually boot the system and update Grub.
2. Problems with RAID
If encountering RAID problems, I'd suggest to test MondoRescue first (I linked to it above) because it supports both hardware and software RAID. Clonezilla, as far as I know, supports only hardware raid.
ASKER
I don't know why DD failed. It wouldn't boot from the drives.
Clonezilla is working.
thanks for the help everyone!
Clonezilla is working.
thanks for the help everyone!
ASKER
I will try clonezilla next.
thanks!