[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:41 (UTC)] – [My fall and sucess story] wisedraco | howtos:misc:software_raid_troubleshoot_howto [2017/06/26 15:08 (UTC)] (current) – [Workarounds for incorrect raid devices naming] wisedraco | ||
---|---|---|---|
Line 338: | Line 338: | ||
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 " | ||
that was the raid array disk uuid - and symlink to /dev/mdx. | that was the raid array disk uuid - and symlink to /dev/mdx. | ||
+ | |||
+ | for automate info feed into fstab you can use this way: | ||
+ | |||
+ | < | ||
+ | |||
+ | cd / | ||
+ | |||
+ | ls -d -l $PWD/* >> /etc/fstab | ||
+ | </ | ||
+ | |||
+ | after that you must immediately edit /etc/fstab and make in a right way, otherwise you may have problems with mounting in next boot... | ||
+ | |||
< | < | ||
Line 409: | Line 421: | ||
====== 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 462: | ||
</ | </ | ||
+ | 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 478: | ||
$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? ) | ||
+ | |||