LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-26-2010, 08:06 AM   #1
Kal Bob
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
MD RAID5 Hangs on Directory Creation


Hello Everyone,
I hope this is the best forum for this question.

So here it is, I have a fileserver setup on Ubuntu Server 9.10 AMD64.
In this system is 4 1.5TB SATAII drives.
They are configured in RAID5 using MD.

Now everything is working beautify, except when you need to create a directory. When you do, the system hangs for about 30 seconds. The I/O wait in top jumps up as well. Then the directory is created and everything works once again.

The odd part is it is only Directory creation that does this. I can copy, move, download and stream files off the server perfectly.

I am baffeled as to what is causing it.

It might be related to the fact that I expanded the array from 3 to 4 drives, it was after that, that I first noticed the problem.

If anyone one has any advise, it would be much apprechated. I can post what ever info you require.

Thanks in advance.
Robert
 
Old 04-05-2010, 09:25 PM   #2
backblaze.pl
LQ Newbie
 
Registered: Apr 2010
Distribution: Slackware
Posts: 23

Rep: Reputation: 6
There may be two reasons of this behaviour I can think of:

1. First - filesystem related. Write what fs is it, check dmesg output just after directory creation etc., but this is wrong way to go, because

2. Second - strange delays are *ALWAYS* DNS-related. Or NIS-related. And 30-second delay is like a fingerprint. And this is Ubuntu, so I am pretty sure about this. Check your NIS configuration: /etc/nssswitch.conf /etc/yp.conf etc. Unfortunatelly I have solved such problem only once and about two years ago and didn't have to do with Ubuntu server since.

Good luck,
backblaze.pl - reliable, hassle-free online backup

Last edited by backblaze.pl; 04-20-2010 at 02:50 PM.
 
Old 04-13-2010, 07:42 PM   #3
Kal Bob
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Many Many Thanks!

I dug around and found the nis config, it looked good so I kept digging and ended up at the resolv.conf.

There were two lines
domain something.com
search something.com

and then a bunch of nameserver addresses.

So i deleted the Domain and Search and bang, problem gone.

Again, thanks a million
Bob
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 Directory Creation? EternalDecoy Fedora 2 11-21-2006 12:29 AM
Modprobe Raid5 hangs humbletech99 Linux - General 0 07-07-2006 07:28 PM
Move /home directory on RAID5 elyounsi SUSE / openSUSE 3 12-07-2005 12:10 PM
Raid5 creation issue, using fedora 4 DirtySanchez Linux - General 2 11-15-2005 04:10 AM
Knoppix: Hangs during creation /etc/fstab rohandhruva Linux - Distributions 0 12-27-2004 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration