Asking for help

From Linux Raid Wiki
(Difference between revisions)
Jump to: navigation, search
(Create initial page)
 
m
Line 3: Line 3:
 
| <span style="float:right; padding-left:5px;">Forward to [[Reconstruction]]</span>
 
| <span style="float:right; padding-left:5px;">Forward to [[Reconstruction]]</span>
 
|}
 
|}
 
== Asking the mailing list for help ==
 
  
 
Linux RAID issues are discussed in the linux-raid mailing list to be found at http://vger.kernel.org/vger-lists.html#linux-raid
 
Linux RAID issues are discussed in the linux-raid mailing list to be found at http://vger.kernel.org/vger-lists.html#linux-raid
 
You do not have to be subscribed to the mailing list to post. Please note that you should "reply all" to any email - not everyone is subscribed to the list. Feel free to post requests for help to the list - just remember that many of us are users of raid who are happy to help other users, so do not expect a prompt reply, although a reply will probably be forthcoming eventually.
 
You do not have to be subscribed to the mailing list to post. Please note that you should "reply all" to any email - not everyone is subscribed to the list. Feel free to post requests for help to the list - just remember that many of us are users of raid who are happy to help other users, so do not expect a prompt reply, although a reply will probably be forthcoming eventually.
 +
 +
== Asking the mailing list for help ==
  
 
There is a whole bunch of stuff you need to do first, before asking the list, however. And, studied carefully, this will hopefully enable you to solve your own problem.
 
There is a whole bunch of stuff you need to do first, before asking the list, however. And, studied carefully, this will hopefully enable you to solve your own problem.
Line 26: Line 26:
  
 
Run --detail on all arrays. This scans the array for information about the drives or partitions which make it up.
 
Run --detail on all arrays. This scans the array for information about the drives or partitions which make it up.
 +
 +
=== lsdrv ===
 +
 +
Download Phil Turmel's lsdrv utility with
 +
 +
git clone git://github.com/pturmel/lsdrv.git lsdrv
 +
 +
It uses Python 2.7 so if your system defaults to Python 3 you will need to edit the shebang line, and then it should work fine. Run it '''and then save the output'''!
 +
 +
=== /proc/mdstat ===
 +
 +
cat /proc/mdstat
 +
 +
== What to do next ==
  
 
{| style="border:1px solid #aaaaaa; background-color:#f9f9f9;width:100%; font-family: Verdana, sans-serif;"
 
{| style="border:1px solid #aaaaaa; background-color:#f9f9f9;width:100%; font-family: Verdana, sans-serif;"

Revision as of 15:10, 21 September 2016

Forward to Reconstruction

Linux RAID issues are discussed in the linux-raid mailing list to be found at http://vger.kernel.org/vger-lists.html#linux-raid You do not have to be subscribed to the mailing list to post. Please note that you should "reply all" to any email - not everyone is subscribed to the list. Feel free to post requests for help to the list - just remember that many of us are users of raid who are happy to help other users, so do not expect a prompt reply, although a reply will probably be forthcoming eventually.

Contents

Asking the mailing list for help

There is a whole bunch of stuff you need to do first, before asking the list, however. And, studied carefully, this will hopefully enable you to solve your own problem.

smartctl

smartctl --all /dev/sda

Run smartctl on all drives. Most requests for help to the list turn out to be because the drives do not support TLER or SCT/ERC. This is easily fixed. If the --all option does not provide sufficient information, use the --xall option.

mdadm

mdadm --examine /dev/sda

Run --examine on all drives. This scans the drive for informtion about what arrays are on the drive.

mdadm --detail /dev/md0

Run --detail on all arrays. This scans the array for information about the drives or partitions which make it up.

lsdrv

Download Phil Turmel's lsdrv utility with

git clone git://github.com/pturmel/lsdrv.git lsdrv

It uses Python 2.7 so if your system defaults to Python 3 you will need to edit the shebang line, and then it should work fine. Run it and then save the output!

/proc/mdstat

cat /proc/mdstat

What to do next

Forward to Reconstruction
Personal tools