[CentOS] A questiong about replacing my failing drive

Mark Weaver mdw1982 at mdw1982.com
Sun Jun 12 01:48:53 UTC 2005


Dag Wieers wrote:
> On Sat, 11 Jun 2005, Rodrigo Barbosa wrote:
> 
> 
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>On Sat, Jun 11, 2005 at 09:11:47PM -0400, Mark Weaver wrote:
>>
>>>>I have not checked G4U yet, so I really mean this as a question:
>>>>
>>>>How is it easier ? dump | restore is as straightfoward as it gets.
>>>>I have been using it for 15+ years, and never had a problem (except
>>>>for raiserfs filesystems, of course).
>>>>
>>>>Yes, if I were going to produce a lot of copies of the same disk, then
>>>>I would look for something like Ghost (or G4U, will check it later
>>>>tonight). But for this particular task ?
>>>
>>>all right then...I'll bite. All I've ever personally known is Norton 
>>>Ghost which is why I'm so quick to mention its use. I'm, however, 
>>>extremely curious and eagar to learn new techniques such as the one 
>>>you're talking about. Why not lay the process out so's we can get a look 
>>>at how to work it? I've got a few drives around, especially one that I'd 
>>>like to clone that has some bad sectors on it that I really need a file 
>>>from - its a program I wrote a while back that I simply don't want to 
>>>have to re-write.
>>
>>Check my other post regarding this. Dump won't clone wholedisks. It
>>will clone filesystems (with all metadata intact).
> 
> 
> The problem with a broken disk is that your filesystem may not be correct. 
> And you can't do a fsck to correct the inconsistencies because the disk is 
> not reliable.
> 
> That's why you require something like ddrescue, so you can copy everything 
> that is still accessible and fill the blank spaces in with zero-blocks. 
> So it doesn't abort or truncate the output like dd, maybe dd conv=noerror 
> is similar but ddrescue has other features like proper status info during 
> copying and decreasing blocksize when blocks fail to be read.
> 
> I have no experience with ghost, does it work if disks have read errors ? 
> How does it handle them ?
> 

so far I've noticed that if the errors aren't severe it does ok, however 
I've got one disk that is seriously messed up somewhere with some bad 
sectors and even with certain error flags set it still has a horrible 
time meaning it takes literally forever to clone the disk and get the 
data off it.

-- 
Mark
-----------------------------------------------------------
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2, 10.0 & RHEL 4



More information about the CentOS mailing list