Cloning a system and copying the partition table to another drive

Patrick_Boyd at Dell.com Patrick_Boyd at Dell.com
Mon Feb 19 15:21:05 CST 2007


1) I haven't had much experience doing this with software RAID. But with
hardware RAID, provided you have two cards from the same manufaturer,
should basically be plug and play
 
2) Easiest way I know of to do this would be just using dd.

________________________________

From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Mukarram Syed
Sent: Monday, February 19, 2007 3:14 PM
To: linux-poweredge-Lists
Subject: Cloning a system and copying the partition table to another
drive



Hi 

Two part question:

1.

Is there a procedure to moving a drive to another system? Meaning...

You could disable a mirrored drive from mdadm or raid controller and put
it in another system, boot it in Single User mode.  Change hostname/IP
address and boot it off.

I tried this on my PE2950's but the other system would not boot.  I
don't remember the error exactly I think it was referring to the MBR.
Is there something in the grub.conf file that we need to modify?

 

2.         

Also in Solaris you could copy the partition table from one drive to
another using the following command:

Prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2

Is there such a command in Linux using fdisk or something?  I haven't
found one in my research.

 

Thanks in advance.

 

 

Mukarram Syed

Unix Systems Administrator.

Stanford University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20070219/5e7791a4/attachment-0001.htm 


More information about the Linux-PowerEdge mailing list