[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
howtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:41 (UTC)] – [My fall and sucess story] wisedracohowtos:misc:software_raid_troubleshoot_howto [2016/11/27 12:45 (UTC)] – [Useful commands in this case] wisedraco
Line 409: Line 409:
    
 ====== Useful commands in this case ====== ====== Useful commands in this case ======
 +
 +show raid array info:
 +
 <code> <code>
 mdadm -Es mdadm -Es
 </code> </code>
  
 +Assemble RAID array based on mdadm.conf
 <code> <code>
 mdadm -As mdadm -As
 </code> </code>
  
 +show array info:
 <code> <code>
 mdadm -D /dev/md127 mdadm -D /dev/md127
 </code> </code>
  
 +show defined array another info:
 <code> <code>
 mdadm -Db /dev/md127 mdadm -Db /dev/md127
 </code> </code>
  
 +show scsi devices info:
 <code> <code>
 lsscsi lsscsi
 </code> </code>
  
 +show assembled raid arrays status:
 <code> <code>
 cat /proc/mdstat cat /proc/mdstat
 </code> </code>
  
 +show UUID info about discs ( or RAID arrays) in system:
 <code> <code>
 ls /dev/disk/by-uuid/ ls /dev/disk/by-uuid/
Line 441: Line 450:
 </code> </code>
  
 +re-run lilo, when booted from another source.
 <code> <code>
 chroot /mnt/hd /sbin/lilo -v 3 chroot /mnt/hd /sbin/lilo -v 3
 </code> </code>
  
 +
 +stop named RAID array:
 <code> <code>
 mdadm --stop /dev/md127 mdadm --stop /dev/md127
Line 454: Line 466:
 $kernelname raid=noautodetect md=1, /dev/sda1,/dev/sdb1 $kernelname raid=noautodetect md=1, /dev/sda1,/dev/sdb1
 </code> </code>
 +
 +turn on not to autodetect RAID arrays, and define raid array /dev/md1, from two partitions ( members? )
 +
  
  
 howtos:misc:software_raid_troubleshoot_howto ()