[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 revisionNext revisionBoth sides next revision | ||
howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:20 (UTC)] – [Software RAID troubleshoot] wisedraco | howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:41 (UTC)] – [My fall and sucess story] 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 331: | Line 331: | ||
do a | do a | ||
+ | |||
+ | < | ||
ls / | ls / | ||
+ | </ | ||
or better, go in that location with midnight commander, and youl see, there is a " | or better, go in that location with midnight commander, and youl see, there is a " | ||
Line 350: | Line 353: | ||
</ | </ | ||
- | take a note! | + | <note important> |
disk UUID by | disk UUID by | ||
Line 356: | Line 359: | ||
and that one, who you get via | and that one, who you get via | ||
+ | |||
+ | < | ||
mdadm -D | mdadm -D | ||
mdadm -Db | mdadm -Db | ||
mdadm -Es | mdadm -Es | ||
+ | </ | ||
- | differ! in fstab ( lilo too?) you must use UID from / | + | differ, not the same!!! |
+ | in fstab ( lilo too?) you must use UID from / | ||
Line 367: | Line 374: | ||
- 2. Using initramd. | - 2. Using initramd. | ||
+ | < | ||
# | # | ||
# mkinitrd_command_generator.sh revision 1.45 | # mkinitrd_command_generator.sh revision 1.45 | ||
Line 380: | Line 388: | ||
mkinitrd -c -k 3.2.29 -f ext4 -r /dev/md1 -m mbcache: | mkinitrd -c -k 3.2.29 -f ext4 -r /dev/md1 -m mbcache: | ||
- | rightly edited mdadm.conf then must be copied in/ | + | </ |
+ | \\ | ||
+ | \\ | ||
+ | rightly edited mdadm.conf then must be copied in/ | ||
after you run that mkinitrd, you must update lilo. | after you run that mkinitrd, you must update lilo. | ||
Line 398: | Line 409: | ||
====== Useful commands in this case ====== | ====== Useful commands in this case ====== | ||
+ | < | ||
mdadm -Es | mdadm -Es | ||
+ | </ | ||
+ | |||
+ | < | ||
mdadm -As | mdadm -As | ||
+ | </ | ||
+ | < | ||
mdadm -D /dev/md127 | mdadm -D /dev/md127 | ||
+ | </ | ||
+ | |||
+ | < | ||
mdadm -Db /dev/md127 | mdadm -Db /dev/md127 | ||
+ | </ | ||
+ | < | ||
lsscsi | lsscsi | ||
+ | </ | ||
+ | |||
+ | < | ||
cat / | cat / | ||
+ | </ | ||
+ | |||
+ | < | ||
ls / | ls / | ||
+ | </ | ||
+ | < | ||
dmesg |grep md | dmesg |grep md | ||
+ | </ | ||
+ | < | ||
chroot /mnt/hd /sbin/lilo -v 3 | chroot /mnt/hd /sbin/lilo -v 3 | ||
+ | </ | ||
+ | < | ||
mdadm --stop /dev/md127 | mdadm --stop /dev/md127 | ||
+ | </ | ||
kernel options: | kernel options: | ||
+ | < | ||
+ | $kernelname raid=noautodetect md=1, / | ||
+ | </ | ||