Re: [CentOS] Re: hard drive failing in linux raid

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



Çäðàâñòâóéòå, Scott.

Âû ïèñàëè 15 ?????? 2006 ?., 20:07:27:
> I actually forgot about this post, but I meant to post
> sfdisk -d /dev/hd_GOOD | sfdisk /dev/hd_NEWDISK
> to get the partition table dump that sfdisk is looking for.
On x86 servers I prefer to use another method:

# dd if=/dev/hd_GOOD of=/dev/hd_NEW bs=512 count=1
# sfdisk -R /dev/hd_NEW

This copies full MBR, including bootloader code, to a new disk.
When using md device as a root - this trick allows you to avoid using
GRUB to reinstall stage1 on a new HDD.

-- 
Ñ óâàæåíèåì,
 Alexey                          mailto:aloukianov@xxxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux