[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:25 (UTC)] – [Workarounds for incorrect raid devices naming] wisedraco | howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:45 (UTC)] – [Useful commands in this case] wisedraco | ||
---|---|---|---|
Line 65: | Line 65: | ||
Then i do massive system update via slackpkg update-all, including kernel update too.\\ | Then i do massive system update via slackpkg update-all, including kernel update too.\\ | ||
check lilo.conf, restart - all looks ok. then i decide to upgrade system to 14.2 via the same slackpkg \\ | check lilo.conf, restart - all looks ok. then i decide to upgrade system to 14.2 via the same slackpkg \\ | ||
- | ( looks like live on macos is too boring, too predictable - all work, and so on...:D ) | + | ( looks like live on macos is too boring, too predictable - all work, and so on...:D )\\ |
always, i check lilo.conf, check the new kernel is named right, have no old kernel for backup - \\ | always, i check lilo.conf, check the new kernel is named right, have no old kernel for backup - \\ | ||
only one entry in lilo ( who was not good thing at all! ), and do reboot. | only one entry in lilo ( who was not good thing at all! ), and do reboot. | ||
Line 409: | Line 409: | ||
====== Useful commands in this case ====== | ====== Useful commands in this case ====== | ||
+ | |||
+ | show raid array info: | ||
+ | |||
< | < | ||
mdadm -Es | mdadm -Es | ||
</ | </ | ||
+ | Assemble RAID array based on mdadm.conf | ||
< | < | ||
mdadm -As | mdadm -As | ||
</ | </ | ||
+ | show array info: | ||
< | < | ||
mdadm -D /dev/md127 | mdadm -D /dev/md127 | ||
</ | </ | ||
+ | show defined array another info: | ||
< | < | ||
mdadm -Db /dev/md127 | mdadm -Db /dev/md127 | ||
</ | </ | ||
+ | show scsi devices info: | ||
< | < | ||
lsscsi | lsscsi | ||
</ | </ | ||
+ | show assembled raid arrays status: | ||
< | < | ||
cat / | cat / | ||
</ | </ | ||
+ | show UUID info about discs ( or RAID arrays) in system: | ||
< | < | ||
ls / | ls / | ||
Line 441: | Line 450: | ||
</ | </ | ||
+ | re-run lilo, when booted from another source. | ||
< | < | ||
chroot /mnt/hd /sbin/lilo -v 3 | chroot /mnt/hd /sbin/lilo -v 3 | ||
</ | </ | ||
+ | |||
+ | stop named RAID array: | ||
< | < | ||
mdadm --stop /dev/md127 | mdadm --stop /dev/md127 | ||
Line 454: | Line 466: | ||
$kernelname raid=noautodetect md=1, / | $kernelname raid=noautodetect md=1, / | ||
</ | </ | ||
+ | |||
+ | turn on not to autodetect RAID arrays, and define raid array /dev/md1, from two partitions ( members? ) | ||
+ | |||