Hi Steve, I've run e2fsck -c on the drive, although even it fails to deal with the specific sectors. I'm hoping a complete reformat will fix it, but I'm not holding my breath :-).
Thanks for the hinr on dump/restore, I will look into these. I do remember though that there was a method of using tar to do it without creating and files (stdout->stdin) which I might look into. Thanks, Kieran -----Original Message----- >From: "Stephen Robert Norris"<[EMAIL PROTECTED]> >Sent: 3/11/02 9:35:04 AM >To: "Kieran"<[EMAIL PROTECTED]> >Cc: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Subject: Re: [SLUG] Duplicating Hard Disks > >On Sun, 2002-11-03 at 09:07, Kieran wrote: >> Hi All, >> >> The machine I am currently sitting on has a hard drive that makes aweful grating >noises at random intervals (usually I hear once or twice a day, but it's up 24 hours >so there may be other times). This appears to happen more frequently now that I have >my squid cache and swap on the same disk. >> >> Anyway, to my question. How can I duplicate the old hard disk (which I know to >have atleast 2-3 areas which fail to read) onto a new one (free tools preferred)? Is >it worth attempting or should I just create a new install of Debian on the machine? >:-). >> >> Any input on this would be greatly appreciated. >> >> Thx, >> Kieran > >Run e2fsck -c on the (unmounted) filesystems. Then put the new drive in >the same box (on the other IDE bus) and partition it. Then for each >partition use dump & restore (or tar with the right options) to copy the >files over. > >It's easiest to do all of the above while booted from a rescue >CD/floppy. > > Stephen > >-- >SLUG - Sydney Linux User's Group - http://slug.org.au/ >More Info: http://lists.slug.org.au/listinfo/slug > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
