Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raid and strange harddrive activity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kemkem
n00b
n00b


Joined: 26 Feb 2003
Posts: 69

PostPosted: Sat Jan 10, 2004 6:46 pm    Post subject: Raid and strange harddrive activity Reply with quote

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
View user's profile Send private message
zhen
Developer
Developer


Joined: 06 Aug 2003
Posts: 65
Location: Cleveland, OH

PostPosted: Wed Jan 14, 2004 7:28 pm    Post subject: Reply with quote

My guess that it is software RAID being erratic and just keeping the discs synced - nothing to scary I suppose ;)
Back to top
View user's profile Send private message
nE0
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 146
Location: The Netherlands, Breda

PostPosted: Wed Jan 14, 2004 7:38 pm    Post subject: Re: Raid and strange harddrive activity Reply with quote

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
View user's profile Send private message
jmz2
Guru
Guru


Joined: 13 Jan 2004
Posts: 421
Location: Finland

PostPosted: Wed Jan 14, 2004 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Wed Jan 14, 2004 9:29 pm    Post subject: Re: Raid and strange harddrive activity Reply with quote

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
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Wed Jan 14, 2004 9:32 pm    Post subject: Re: Raid and strange harddrive activity Reply with quote

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
View user's profile Send private message
kemkem
n00b
n00b


Joined: 26 Feb 2003
Posts: 69

PostPosted: Thu Jan 15, 2004 1:55 pm    Post subject: thx for replies Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum