Richard G
Verified User
Not really Directadmin but maybe I still can get some help.
I want to replace a harddisk (/dev/sdb) in a raid 1 system on Centos 6.9.
At this moment the system is booting from this drive, I'm sure about that. Booting from /dev/sda will result in no booting due to a missing bootloader.
The drive /dev/sdb/ is now in the system, but not in the raid 1 anymore. I removed it with mdadm.
I gave the command:
which is my first harddisk in fact and which is still in raid mode.
Will this be enough to boot from /dev/sda when I remove /dev/sdb from the system?
Or do I need to manually do some grub commands? How can I test to be sure the bootloader is on both drives and will automatically boot one drive if the other is not present?
I want to replace the drive and would not like to end up with a non booting system.
I want to replace a harddisk (/dev/sdb) in a raid 1 system on Centos 6.9.
At this moment the system is booting from this drive, I'm sure about that. Booting from /dev/sda will result in no booting due to a missing bootloader.
The drive /dev/sdb/ is now in the system, but not in the raid 1 anymore. I removed it with mdadm.
I gave the command:
Code:
grub-install /dev/sda
Will this be enough to boot from /dev/sda when I remove /dev/sdb from the system?
Or do I need to manually do some grub commands? How can I test to be sure the bootloader is on both drives and will automatically boot one drive if the other is not present?
I want to replace the drive and would not like to end up with a non booting system.