View previous topic :: View next topic |
Author |
Message |
kemkem n00b


Joined: 26 Feb 2003 Posts: 69
|
Posted: Sat Jan 10, 2004 6:46 pm Post subject: Raid and strange harddrive activity |
|
|
Hi all,
I recently set up a raid 1 on my fileserver.
I have a /dev/md0 composed of my /dev/hde1 & /dev/hdg1
All things related to raid read/write is ok, and seems to work.
But I saw in top that two programs
raid1d and raidsyncd
are always running (around 1% / 2% of cpu time)...
One of the two hardrive LED is ALWAYS ON,
the other is ALWAYS OFF... strange ?
thanks for replies... |
|
Back to top |
|
 |
zhen Developer

Joined: 06 Aug 2003 Posts: 65 Location: Cleveland, OH
|
Posted: Wed Jan 14, 2004 7:28 pm Post subject: |
|
|
My guess that it is software RAID being erratic and just keeping the discs synced - nothing to scary I suppose  |
|
Back to top |
|
 |
nE0 Tux's lil' helper


Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Wed Jan 14, 2004 7:38 pm Post subject: Re: Raid and strange harddrive activity |
|
|
kemkem wrote: | Hi all,
One of the two hardrive LED is ALWAYS ON,
the other is ALWAYS OFF... strange ?
thanks for replies... |
That should be normal operation, whereas RAID 1 (A mirrorset) is using 1 disk for reading and writing, and the raidsoftware (or hardware in hardware raid) is keeping the other drive exactly the same as the first. _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
 |
jmz2 Guru


Joined: 13 Jan 2004 Posts: 421 Location: Finland
|
Posted: Wed Jan 14, 2004 7:48 pm Post subject: |
|
|
Add noatime to the mount options for the RAID partition. It will stop the filesystem from updating inode access times, and thus reduce I/O load on the disks. |
|
Back to top |
|
 |
Crg Guru


Joined: 29 May 2002 Posts: 345 Location: London
|
Posted: Wed Jan 14, 2004 9:29 pm Post subject: Re: Raid and strange harddrive activity |
|
|
nE0 wrote: | kemkem wrote: | Hi all,
One of the two hardrive LED is ALWAYS ON,
the other is ALWAYS OFF... strange ?
thanks for replies... |
That should be normal operation, whereas RAID 1 (A mirrorset) is using 1 disk for reading and writing, and the raidsoftware (or hardware in hardware raid) is keeping the other drive exactly the same as the first. |
That's not correct. |
|
Back to top |
|
 |
Crg Guru


Joined: 29 May 2002 Posts: 345 Location: London
|
Posted: Wed Jan 14, 2004 9:32 pm Post subject: Re: Raid and strange harddrive activity |
|
|
kemkem wrote: |
One of the two hardrive LED is ALWAYS ON,
the other is ALWAYS OFF... strange ?
|
Just for interest emerge and setup smartmontools and see if there is an error with your drive.
Also can you download and install iostat (http://linux.inet.hr/) and see what it shows.
jmz2 has a good point about atime and shouldn't this be under hardware not networking? |
|
Back to top |
|
 |
kemkem n00b


Joined: 26 Feb 2003 Posts: 69
|
Posted: Thu Jan 15, 2004 1:55 pm Post subject: thx for replies |
|
|
Thanks for all this advices...
I've noticed that each time the computer reboot after
a crash (in my case power has been shut-down),
a raidsync is started. I can see it with a
> cat /proc/mdstat
For the LEDS thing, I've got a promise TX2 card
(2 ide canals).
There's two LED connectror on it BUT only one is blinking.
This LED indicates activity on both canals!
That's why I was disoriented...
My software raid is working nice, with smart perfomance like 30Mo/s.
(one HD per IDE canal, two diamondmax 9 maxtor)
I have one more question :
I've created my raid like this :
1/ creating a /etc/raidtab file and fill it
2/ create raid with mkraid /dev/md0
[drives are syncing, 1 hour for 100Go]
3/ mount raid partition
My question is :
If I create raid with raidtools (emerge raidtools),
can I use mdadm tools by the way ?
Is there good tools for raid administration (mdadm ?) ?
Thanks. |
|
Back to top |
|
 |
|