LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2005, 10:48 PM   #1
matrixcubed
LQ Newbie
 
Registered: May 2004
Location: Gatineau, QC
Distribution: Ubuntu 6.10
Posts: 25

Rep: Reputation: 15
Disk Problems


Hello all,

I thought I'd do a bit of checking around before I go doing anything dumb...

This evening the primary slave disk on my little Redhat 9 server started making disk-access noises when I tried accessing some files on it via FTP, then the web.

I logged in via SSH, and checked the 'du' table, which looked fine. When I cd'd to the offending mount-point of the sec.slave, and did an ls, I got "0 total" response, instead of the expected directory listing.

I tried unmounting the disk, but got a 'device is busy' error.

I haven't attached a monitor to the server to see any error messages that have come up, and I don't know which logfiles might tell me something bad is going on.

I'm assuming that something software-wise messed up, and I'd like to restart the system and hope to hell the file-system fixes it automagically, but have not encountered this behavior before, and was wondering whether there is a behavior pattern and resulting data loss or something similar which I can expect? This is a fairly new disk (maybe 3 months old), so shouldn't be experiencing data loss 'yet'. Additionally, the server was not having problems earlier today.

Any suggestions are appreciated.

Last edited by matrixcubed; 09-24-2005 at 10:52 PM.
 
Old 09-25-2005, 02:12 AM   #2
addy86
Member
 
Registered: Nov 2004
Location: Germany
Distribution: Debian Testing
Posts: 332

Rep: Reputation: 31
Re: Disk Problems

Quote:
Originally posted by matrixcubed
I tried unmounting the disk, but got a 'device is busy' error.
This usually means that at least one program still has its current working directory in the mounted partition (I think this also applies to shells).

Quote:
I haven't attached a monitor to the server to see any error messages that have come up, and I don't know which logfiles might tell me something bad is going on.
/var/log/messages, /var/log/syslog
 
Old 09-25-2005, 06:01 AM   #3
matrixcubed
LQ Newbie
 
Registered: May 2004
Location: Gatineau, QC
Distribution: Ubuntu 6.10
Posts: 25

Original Poster
Rep: Reputation: 15
Killed the processes which would have access to the drive. Unmounted and remounted. Now I get...

Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
       or too many mounted file systems
After digging, came across dmesg, which tells me...

Code:
end_request: I/O error, dev 03:41 (hdb), sector 104
hdb: drive not ready for command
hdb: status error: status=0x00 { }

hdb: drive not ready for command
hdb: status error: status=0x00 { }

end_request: I/O error, dev 03:41 (hdb), sector 4200
hdb: drive not ready for command
EXT3-fs error (device ide0(3,65)): ext3_readdir: directory #2 contains a hole at offset 0
hdb: status error: status=0x00 { }

end_request: I/O error, dev 03:41 (hdb), sector 4240
hdb: drive not ready for command
hdb: status error: status=0x00 { }

end_request: I/O error, dev 03:41 (hdb), sector 312576512
hdb: drive not ready for command
hdb: status error: status=0x00 { }

end_request: I/O error, dev 03:41 (hdb), sector 2
hdb: drive not ready for command
EXT3-fs: unable to read superblock
Sigh... Currently googl'ing for a fix.
 
Old 09-25-2005, 06:13 AM   #4
matrixcubed
LQ Newbie
 
Registered: May 2004
Location: Gatineau, QC
Distribution: Ubuntu 6.10
Posts: 25

Original Poster
Rep: Reputation: 15
Thank the Gods of Rebooting ... it is working again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk 2 Package Problems Patters Mandriva 3 12-27-2004 01:30 PM
Disk usage problems leecming Linux - Newbie 1 06-09-2004 10:29 PM
Hard disk problems Alucard9 Linux - Hardware 2 03-03-2004 08:07 AM
Firewire disk problems adriaanjoubert Linux - Hardware 4 01-30-2004 04:09 AM
Disk Druid problems carlcromer Linux - Software 3 05-16-2001 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:56 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