[opensuse] Copy hard drive
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something. I assume I would want to use dd or something? -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 03 August 2007 12:50:59 Jonathan Arnold wrote:
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something.
I assume I would want to use dd or something?
Hi Jonathan The last time I did this, I used rsync --archive and it seemed to work well. I don't have any hard links in my home directory, so that wasn't a problem. Good luck Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Jonathan Arnold wrote:
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something.
I assume I would want to use dd or something?
I use dd for this, assuming that the new drive is as big as or bigger than the old one. The resulting harddisk layout of course just mirrors the old disk so that you either will use the remaining space for something else or you will need to resize your partitions. For the latter parted/qtparted will be your friends ;-) regards Eberhard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 8/3/07, Eberhard Roloff <tuxebi@gmx.de> wrote:
Jonathan Arnold wrote:
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something.
I assume I would want to use dd or something?
I use dd for this, assuming that the new drive is as big as or bigger than the old one. The resulting harddisk layout of course just mirrors the old disk so that you either will use the remaining space for something else or you will need to resize your partitions. For the latter parted/qtparted will be your friends ;-)
regards Eberhard
I too would use dd for this, but be sure to use the "conv=sync,noerror" argument. Otherwise if you do have a failed sector read the resulting copy will be garbage. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Fri, 03 Aug 2007, by jdarnold@buddydog.org:
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something.
I assume I would want to use dd or something?
I came across 'Clonezilla' the other day, a wonderful tool. It lets you make clones of drives in mere minutes, copying only the used parts. It works with all the usual Linux filesystems, plus NTFS. You can also make images on servers running SSH, or on a dedicated Image drive, for archive purposes. There is a live cd with GParted and Clonezilla together, just the combo you need when a drive treatens to fail. Highly recommended. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Theo v. Werkhoven wrote:
Fri, 03 Aug 2007, by jdarnold@buddydog.org:
SMART is saying that one of my hard drives is an accident waiting to happen and that I should replace it. No worries there, as I have two 160gb hard drives just sitting around in an unused box I was going to cannibalize anyway. But it does have / and /home on it, so what would be the best way to go about doing this? I think I have an IDE slot to plug in the new drive, or at least I could temporarily replace my CD or something.
I assume I would want to use dd or something?
I came across 'Clonezilla' the other day, a wonderful tool. It lets you make clones of drives in mere minutes, copying only the used parts. It works with all the usual Linux filesystems, plus NTFS. You can also make images on servers running SSH, or on a dedicated Image drive, for archive purposes. There is a live cd with GParted and Clonezilla together, just the combo you need when a drive treatens to fail.
Highly recommended.
Funny - I just noticed Clonezilla today and am in the processing of trying it out. I tried gparted over the weekend, with its copying facility. The partition stuff worked okay, but the copying seemed flaky. I'm going to try Clonezilla tonight. My SMART stopped complaining for a while, but it is back into its whining mode. It probably has to do with the heat in my office. But all that means is that the drive must be teetering on the edge of disaster, so better safe than sorry. -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Eberhard Roloff
-
Greg Freemyer
-
Jonathan Arnold
-
Pete Connolly
-
Theo v. Werkhoven