[CentOS] /dev/sda

Reindl Harald h.reindl at thelounge.net
Tue Dec 6 19:02:38 UTC 2011



Am 06.12.2011 19:28, schrieb m.roth at 5-cent.us:
> We're just using Linux software RAID for the first time - RAID1, and the
> other day, a drive failed. We have a clone machine to play with, so it's
> not that critical, but....
> 
> I partitioned a replacement drive. On the clone, I marked the RAID
> partitions on /dev/sda failed, and remove, and pulled the drive.

dd if=/dev/sdx of=/dev/sdy bs=512 count=1
reboot

tp close the whole MBR and partition-table

> several iterations, I waited a minute or two, until all messages had
> stopped, and there was only /dev/sdb*, and then put the new one in... and
> it appears as /dev/sdc. 

the device name is totally uninteresting, the IDs are
mdadm /dev/mdx --add /dev/sdex



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20111206/a3546013/attachment.sig>


More information about the CentOS mailing list