LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-15-2009, 10:17 AM   #1
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 89

Rep: Reputation: 16
[SOLVED] df -h suddenly delaying - Possible drive fault?


Hi all,

Maybe I am worrying about nothing here, but I have a CentOS 5.3 box (running Scalix). It's a Dell server with RAID1 setup.

'df -h' produces this:

Code:
[root@mail1 log]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      220G   13G  197G   6% /
/dev/sda1              99M   25M   70M  26% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
I built this system about 6 months ago (production environment), and I added this command to root's .bash_profile so I could keep an eye on the drive usage.

I log into it most days and always found the 'df' command to return to the command prompt pretty much instantly (I admin about 10 other linux servers which behave the same).

But... over the past couple of days, the command stalls after printing the results, for about 18 seconds before showing the command prompt.

This happens upon immediate connection (ie: from bash_profile) or whether I am already at the prompt and type the command manually.

I am worried that there could be a potential drive issue - this would be majorly bad! No log files are pumping out anything recently regarding relevant issues (that I can see).

Could someone suggest where I should start, in diagnosing whether I have a problem or not? I have only got into Linux over the past two years and am just self-taught, so there are plenty of newbie things I haven't picked up yet.

P.S. The server is miles away, in a secure data centre.

Thanks in advance!

Last edited by elliot01; 12-15-2009 at 10:21 AM.
 
Old 12-15-2009, 10:20 AM   #2
elliot01
Member
 
Registered: Jun 2009
Location: UK
Distribution: CentOS / RedHat
Posts: 89

Original Poster
Rep: Reputation: 16
As soon as I clicked send I had a brainwave!

There was a mounted drive in /mnt which required a 'umount -l /mnt/drivename'.

Well I proved how much I have to learn, but maybe this will help someone in the future?

Thanks anyway for the awesome forum.
 
Old 12-15-2009, 12:13 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by elliot01 View Post
As soon as I clicked send I had a brainwave!

There was a mounted drive in /mnt which required a 'umount -l /mnt/drivename'.

Well I proved how much I have to learn, but maybe this will help someone in the future?

Thanks anyway for the awesome forum.
Thanks for coming back and posting the solution, and what worked. I wish more folks did that...
 
  


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
Azureus: Segmentation fault suddenly, caused by java?! Olaus Linux - Software 3 11-22-2009 09:23 AM
Delaying IDE drive startup Jan Tanjo Linux - General 4 06-13-2008 01:43 PM
Floppy drive failed suddenly; knoppix can read diskettes but PC won't boot from them Airidh General 3 03-28-2008 02:36 PM
USB Flash drive suddenly exploded in size Jorophose General 2 02-26-2007 05:37 PM
Hard drive suddenly VERY slow despite UDMA gundelgauk Linux - Hardware 4 10-03-2004 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:24 AM.

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