Re: how to clone a disk

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

 



Since its raid5 you would be fine just pulling the disk out and
letting the raid driver rebuild the array. If you have a hot spare
then that disk will automatically take over when you remove the
failing disk.
It would also be reasonable to simply wait for the disk to fail. When
that happens the array will be keep running. When the disk does fail
the system will use the hot spare to rebuild the array.
The short answer is your way will work but it not necessarily.
-Paul

On 3/10/06, Ming Zhang <mingz@xxxxxxxxxxx> wrote:
> Hi folks
>
> 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.
>
> so i am trying to do this
>
> 1) pull that disk (A) out
> 2) using dd to copy that disk (A) to another same one (B);
> 3) put disk (B) back to raid5 and assume that bitmap can help me resync
> quickly.
>
> now my question is
> 1) can this achieve my goal?
> 2) is there any better/correct way?
>
> thanks!
>
> Ming
>
>
> -
> 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