LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-17-2008, 09:21 AM   #1
kr0w
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Rep: Reputation: 0
Ext3 - writing problem


Hi Everyone:

I'm having a weird problem for the second time, so I don't think it's a casuality...


When I do a "big" data write (200mb or more) to my ext3 partition, it "crashes" giving me "input/output error" with every command I try.

Last time it happened, the partition had several errors but fsck couldn't fix it. I had to re-format the partition.
This time, it shows no errors (yet...?) and every time I reboot, everything gets back to normal. But I can't write data because it would crash again, and sooner or later, the errors will appear again I suppose.

My root partition is also an ext3 but that one works fine.
However, the problem didn't appeared again instantly: I've been writing things for a while until it crashed again, so the root partition could present the same problem if I do constants writings.

The disk itself is not the problem as it is new and works fine in another computer.


BTW, I was using Zenwalk 4.8 and upgraded the whole system (except for aaa_base, kernel, kernelsource and ndiswrapper)... so, except for those packages, it's a Zenwalk 5.0


Thanks in advance...
 
Old 02-17-2008, 09:25 AM   #2
Deleriux
Member
 
Registered: Nov 2003
Posts: 89

Rep: Reputation: 16
Sounds like a disk problem to me. Probably faulty hardware.
 
Old 02-17-2008, 09:49 AM   #3
kr0w
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Deleriux View Post
Sounds like a disk problem to me. Probably faulty hardware.
not sure: I've scanned the disk with HDD Regenerator and some other soft from a Hiren's Boot CD and I found nothing... =S
 
Old 02-17-2008, 10:40 AM   #4
otheus
LQ Newbie
 
Registered: Jun 2006
Location: Austria
Distribution: RHEL AS 4
Posts: 25

Rep: Reputation: 16
How big is the partition, and what command are you using (including options) to format the disk?

Once the error occurs, can you unmount it and remount it, and then write to it??
Code:
umount /partition
fsck /dev/????
mount /partition
dd if=/dev/zero of=/partition/test.$$ bs=1k count=200000
 
Old 02-17-2008, 02:59 PM   #5
kr0w
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
it's a 60gb partition and no, I can't umount it and mount it again because once the error occurs the whole system stops working: every command I try turns into a "input/output error" message.

I used "mkfs.ext3 /dev/xxx" to format the partition. No options.
Maybe I'll try XFS and see how that one goes.
 
Old 02-18-2008, 01:36 AM   #6
otheus
LQ Newbie
 
Registered: Jun 2006
Location: Austria
Distribution: RHEL AS 4
Posts: 25

Rep: Reputation: 16
Quote:
Originally Posted by kr0w View Post
it's a 60gb partition and no, I can't umount it and mount it again because once the error occurs the whole system stops working: every command I try turns into a "input/output error" message.

I used "mkfs.ext3 /dev/xxx" to format the partition. No options.
Maybe I'll try XFS and see how that one goes.
I'm thinking there is an incompatibility with the kernel and either the drive or the controller. When you get up to certain sizes of transfers, I think the kernel uses different types of IO access, and if there are problems, the driver essentially shuts down.

Find everything you can about the hardware disk controller and drive model with respect to Linux hardware compatibility lists. Also, there's a way to disable dma transfer from the kernel at boot time (via grub or lilo bootloaders). Disabling dma transfer might allow you to determine if the problem is that for sure. However, the disk performance will be noticeably slower.

Keep us up-to-date on your progress, please.
 
Old 02-18-2008, 12:01 PM   #7
kr0w
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I'll check that when I get back to home...

Altough, if that's the case, I don't understand why it worked fine for a month after the last format... it should have failed the first week =S

anyway... thanks for the reply!
 
  


Reply

Tags
ext3, inputoutput


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
Trouble writing to a second ext3 partition Tomermory Linux - Hardware 6 05-12-2007 04:22 AM
writing on ext3 partition with ext2 driver. Journal? rokkon Linux - Hardware 4 06-07-2006 07:05 PM
Ext3 & tune2fs tweaking question for ext3 experts wrc1944 Linux - General 8 12-11-2005 07:45 AM
cd writing problem thundershtorm Linux - Software 1 03-26-2005 10:34 AM
ext3 FS problem MrJoshua Linux - General 1 01-14-2003 06:04 PM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration