--- On Sat, 7/31/10, Steven Stern <subscribed-lists@xxxxxxxxxxxxx> wrote: > From: Steven Stern <subscribed-lists@xxxxxxxxxxxxx> > Subject: Best way to replace a drive with a clone > To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx> > Date: Saturday, July 31, 2010, 10:59 AM > According to the SMART stats, the > single drive in my Fedora server is > starting to fail. Rather than backup, do a clean > install, and rebuild, > I'd like to try to clone the existing drive to a new one, > then swap in > the new one. > > What are the restrictions on doing this and the best way to > accomplish > it? Best way is subjective :(, There is no "Best way", however there are ways to do it :) > I have the Clonezilla Live CD that I use for > backup. Will that do > it? > Clonezilla will do it, provided that the new drive is the same size or bigger :) The "bad thing" might be?, that Clonezilla also copies the "bad sectors" of the original hard drive?, but I am not sure though :( > > Or will a straight dd do it? > This could do it, but I would prefer Clonezilla :) > add new drive as PATA slave > /dev/sdb > dd -if /dev/sda -of /dev/sdb > remove /dev/sda > change the jumpers on /dev/sdb to > match what was /dev/sda > reboot > > In the dd procedure, I'm not sure what to do if sdb is > larger than sda. > > -- > -- Steve > -- Regards, Antonio -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines