Re: how to clone a disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-03-11 at 08:55 -0800, Mike Hardy wrote:
> I can think of two things I'd do slightly differently...
> 
> Do a smartctl -t long on each disk before you do anything, to verify
> that you don't have single sector errors on other drives

will this test interfere with normal disk io activity?

> 
> Use ddrescue for better results copying a failing drive

yes, ddrescue will be better here than dd.

> 
> -Mike
> 
> PFC wrote:
> > 
> >>> I have a raid5 array that contain 4 disk and 1 spare disk. now i saw one
> >>> disk have sign of going fail via smart log.
> > 
> > 
> >     Better safe than sorry... replace the failing disk and resync,
> > that's all.
> > 
> >     You might want to do "cat /dev/md# > /dev/null", or "cat /dev/hd? 
> > 
> >> /dev/null" first. This is to be sure there isn't some yet-unseen bad  
> > 
> > sector on some other drive which would screw your resync.
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux