Thread: HotSaNIC
View Single Post
  #11  
Old 28th July 2006, 10:56
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

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?
Reply With Quote
Sponsored Links