/proc/mdstat docs (was Re: Few questions)

2007-12-08 Thread David Greaves
Michael Makuch wrote:
 So my questions are:
...
 - Is this a.o.k for a raid5 array?

So I realised that /proc/mdstat isn't documented too well anywhere...

http://linux-raid.osdl.org/index.php/Mdstat

Comments welcome...

David
-
To unsubscribe from this list: send the line unsubscribe linux-raid in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: /proc/mdstat docs (was Re: Few questions)

2007-12-08 Thread Raz
many thanks . david.
It is very useful.

On 12/8/07, David Greaves [EMAIL PROTECTED] wrote:
 Michael Makuch wrote:
  So my questions are:
 ...
  - Is this a.o.k for a raid5 array?

 So I realised that /proc/mdstat isn't documented too well anywhere...

 http://linux-raid.osdl.org/index.php/Mdstat

 Comments welcome...

 David
 -
 To unsubscribe from this list: send the line unsubscribe linux-raid in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Raz
-
To unsubscribe from this list: send the line unsubscribe linux-raid in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: /proc/mdstat docs (was Re: Few questions)

2007-12-08 Thread Michael Makuch

David Greaves wrote:

Michael Makuch wrote:
  

So my questions are:


...
  

- Is this a.o.k for a raid5 array?



So I realised that /proc/mdstat isn't documented too well anywhere...

http://linux-raid.osdl.org/index.php/Mdstat

Comments welcome...

David
  


One thing, in the section md device line you describe how to identify 
spare devices,
but you didn't mention the (S) which appears after a spare device, at 
least it does on mine:


# uname -a
Linux pecan.makuch.org 2.6.23.1-21.fc7 #1 SMP Thu Nov 1 21:09:24 EDT 
2007 i686 i686 i386 GNU/Linux


# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 etherd/e0.0[0] etherd/e0.2[9](S) etherd/e0.9[8] 
etherd/e0.8[7] etherd/e0.7[6] etherd/e0.6[5] etherd/e0.5[4] 
etherd/e0.4[3] etherd/e0.3[2] etherd/e0.1[1]

 3907091968 blocks level 5, 64k chunk, algorithm 2 [9/9] [U]
 [==..]  resync = 91.0% (444527040/488386496) 
finish=560.9min speed=1301K/sec

unused devices: none


Unless that means something else??? But e0.2 is my spare so I'm just 
assuming (S) means spare!


Thanks
Mike


-
To unsubscribe from this list: send the line unsubscribe linux-raid in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html