Hello everyone,
I'm having an issue with one of my machines where I had a software raid 1 ( I guess ) on two ADATA Premier Pro SP900, 256 GB SSD drives.
One of the drives died and my system began sending messages like this
Code:
lk_update_request: I/O error, dev sdb, sector 1400976 sd 2:0:0:0: [sdb] tag#13 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Result:
The system does not want to boot anymore and complains that it cannot find a lvm uuid.
When using a live cd I can see one disk id fd, Linux raid autodetect.
The second disk is dead.
I tried recovering using this:
Code:
fsck.ext4 -f -c -v /dev/sda1
Assuming it was due to the raid I did the following:
Code:
mdadm --examine --scan
Then I did an assemble
Code:
mdadm --assemble /dev/md/0
Then later I read that on a raid 1 you can just mount the disk as ext4 since it should be the same but that didn't work.
So my questions, what is the good way to recover from a software raid 1 failure and why did it affect my system in the first place?
Should I do an update grub and will my system boot then?
Should I have done the following instead of rebooting?
Code:
mdadm --manage --set-faulty /dev/md0 /dev/sdb1
software raid issue
Aucun commentaire:
Enregistrer un commentaire