
28th July 2006, 09:56
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
how to setup the diskio module if I have raid running?
the how-to states this:
Quote:
-----command-----
cat /proc/stat |grep disk_io
-----command-----
It is going to report something like this
disk_io: (8,0) 14081770,10200468,182341484,3881302,1004096 78) (8,1) 703,442,15844,261,3586)
Edit the disk_io config file
-----command-----
pico -w mod_diskio
-----command-----
At the bottom add:
DEV=8_0,sda
DEV=8_1,sda
If your system has something other then the (8,0) and (8,1) as listed above make sure to put that in the config above. Again, to save and exit press [ctrl -x] Y then [enter]. At the prompt type.
|
now if I do:
Quote:
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hda1[0] hdc1[1]
497856 blocks [2/2] [UU]
md1 : active raid1 hda3[0] hdc3[1]
79417216 blocks [2/2] [UU]
|
so how would the lines look like?
|
Recent comments
14 hours 4 min ago
19 hours 3 min ago
20 hours 29 min ago
21 hours 22 min ago
23 hours 5 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 19 hours ago
1 day 21 hours ago