I recently replaced a drive in my mirrored disk array. The smartdisk checks informed me the drive was going to die soon so I replaced it right away. Everything went according to plan, but I am concerned I need to update grub somehow to write the boot sector to the new disk. Is that correct? If so, how do I do that? I do not want to get a nasty surprise when the other drive dies and I can't boot my machine.
Code:
root@DELL:/boot# sfdisk -l
Disk /dev/sda: 121601 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 120360- 120361- 966796288 fd Linux raid autodetect
/dev/sda2 120360+ 121601- 1241- 9963521 5 Extended
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
/dev/sda5 120360+ 121601- 1241- 9963520 82 Linux swap / Solaris
Disk /dev/sdb: 121601 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 * 0+ 120360- 120361- 966796288 fd Linux raid autodetect
/dev/sdb2 120360+ 121601- 1241- 9963521 5 Extended
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
/dev/sdb5 120360+ 121601- 1241- 9963520 82 Linux swap / Solaris
Disk /dev/md0: 241699056 cylinders, 2 heads, 4 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/md0: unrecognized partition table type
No partitions found
Bookmarks