On Wed, 2019-02-27 at 14:43 +0000, Gary Stainburn wrote: > Hi folks > > I've got an old F9 server which has been running forever without any > problems > has just failed to reboot. > > I have 2 x RAID1 setup > > sda and sdb are the first raid device > sdc and add are the second device. > > Also, to make life even more fun I only have 4 SATA ports so I have > to remove > one HDD to get the DVD to work, and the m/b doesn't support USB DVD > > it looks like sda has failed - it doesn't even appear in the BIOS > list. > > I am currently cloning sdb before doing anything, but once that's > done, I want > to replace sda and rebuild the array. From memory, I do not think > that the > boot partitons could be RAID'ed back then so I'm not sure what state > the boot > partition is in on sdb. I'm pretty sure you could raid, but you needed grub trickery on the MBR to get the second disk to boot. > Does anyone have any instructions on how to do this based on the age > of the > system? So far, Google only seems to want to give me more recent > solutions. Err, from memory, so please measure twice, cut once. If you do get a bootable kernel and grub (or lilo): - write down serial numbers so you know sda/sdb, ... they might swap. - sfdisk -d /dev/sdb | sfdisk /dev/sda # copy partitions - find /dev/md0 or /dev/md127 (some kernels that era start at 0, some start at 127) - mdadm /dev/md0 --fail /dev/sda1 # unnecessary? - mdadm /dev/md0 --remove /dev/sda1 # remove broken - mdadm /dev/md0 --add /dev/sda1 # add new - watch "cat /proc/mdstat" to see when it's finished. I'm sure there's a better rebuild command than remove/add; but you did ask about old installs. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx