LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 07-15-2005, 02:16 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Fedora 15
Posts: 628

Rep: Reputation: 35
ReiserFS crashed over night - ALL files gone


Dear Experts,

I woke up this morning to find my external Maxtor drive (reiserfs) with problems.
ls reported "reading directory .: Input/output error" and fsck gave lots of "bad_indirect_item: block 20807694: The Item [212 214 0x1 IND(1)] has the bad pointer (31) to the block (3760329415) etc all over the screen.

When trying to remount the disk is not even recognized as reiserfs.

It's an only 6 months old external Maxtor USB-disk of 160GB and it holds all my backup.

Is this a common problem in Linux? The disk was 74% full when this happened and has not been making any bad noices etc.. I am running Slackware 10.1 with a 2.6 kernel with no particular modifications.

Is reiserfs so unstable? Is Linux so unstable, or should I have stayed away from Maxtor harddrives?

Please help if you can.

Thank you for reading.

-Y1
 
Old 07-15-2005, 06:50 AM   #2
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
ReiserFS is a very stable filesystem. It's been well tested by many people for a long time. Probably ReiserFS and Linux are not the culprits here -- though no-one is perfect.

Either your hard drive has died. That's very bad luck, considering it's only 6 monthes old, but that can happen.

Or your filesystem is corrupt, but the hard drive itself is OK. Filesystem corruption can happen if you make certain mistakes that are particularly easy to do with external drives. Did you always unmount the hard drive before unplugging it ? (and wait for the unmounting to finish ?)
 
Old 07-15-2005, 06:54 AM   #3
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: SuSE (x86), NetBSD (Sparc), Solaris (Sparc & 32-bit x86)
Posts: 278

Rep: Reputation: 30
Probably the hard drive died. ReiserFS is very reliable. I've only had a couple of Maxtor hard drives (years ago, internal models) and neither of them lasted very long. I'm rough on the equipment, so it wasn't totally unexpected, but I have some now ancient IBM and Seagate drives still in service... Is your drive still under warranty?
 
Old 07-15-2005, 07:07 AM   #4
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
Note that, as it's a USB-connected drive, there's always the possibility that the problem comes from your mainboard's USB controller, your USB plug or USB cable.
 
Old 07-15-2005, 07:10 AM   #5
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: SuSE (x86), NetBSD (Sparc), Solaris (Sparc & 32-bit x86)
Posts: 278

Rep: Reputation: 30
Quote:
Originally posted by Ben2210
Note that, as it's a USB-connected drive, there's always the possibility that the problem comes from your mainboard's USB controller, your USB plug or USB cable.
Wow! I completely missed that! Ugh, USB HD = disaster waiting to happen... I have a hard enough time getting USB mice to work reliably, I would never want to use a USB HD with Linux!
 
Old 07-15-2005, 07:18 AM   #6
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
And the big problem with USB plugs is that many of them are very easy to un-plug, often leading to accidental unplugging. USB drives should be endowed with a small controller able to cleanly unmount as many kinds of filesystems as possible (thus probably running linux), and running on a battery with enough power to last 30 seconds. Given the very high price of external drives, that would be feasible. Until then, I won't purchase a USB hard disk.

EDIT :
I guess this scheme goes better with an Ethernet plugging. So that all disk access is done by the disk controller, not by the system. The system would then view the disk as a network share, and the disk controller should probably run a Samba server for compatibility.

Last edited by Ben2210; 07-15-2005 at 07:51 AM.
 
Old 07-15-2005, 11:32 AM   #7
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Fedora 15
Posts: 628

Original Poster
Rep: Reputation: 35
Thank you everyone for the feedback and input.

The USB drive in questions sits put on my server in our storage room, and it has never been unplugged or switched off since I bought it 6 months ago. However, the USB problem brought to attention looks probable, as problems with the USB controller might have caused some serious trouble.

The question is what to do now.. I ran fsck and forced it to reiserfs and tried to reconstruct the inode table, but with no success.... Thus I suspect the data are totally gone. I can however, see some of the tree structure, but that's it. Most files are not readable, but some of the latest addition are..

Is there anything else I can try to fix this, or should I reformat the drive, and start using it for file transfer purposes only, and get a built-in IDE drive for long-term storage?

Any other parameters to fsck or any other tool that can help me recover some files?

Thanks again!
 
Old 07-15-2005, 12:28 PM   #8
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
I googled :
recover reiserfs

that gave the following links :
http://forums.infoprosjoint.net/showthread.php?t=5821
http://www.linuxquestions.org/questi...icle&artid=197
among many others... I hope that helps.
 
Old 07-15-2005, 08:12 PM   #9
kuhazor
Member
 
Registered: Jul 2005
Posts: 36

Rep: Reputation: 15
Harddrive cooling

If you stack Maxtor drives without sufficient cooling the life expentancy will be VERY SHORT as with any harddrive. I have had 2 Maxtors blow up like this, till I moved myself to Super Lan Boy case which provides 120mm fans that will blow thru your harddrives (there is sufficient air cap between the drives). Check your SMART status on the harddrives to see if they are reporting problem, you can enable that from the BIOS (typically disabled by default).

Juha
 
Old 07-16-2005, 04:02 AM   #10
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Fedora 15
Posts: 628

Original Poster
Rep: Reputation: 35
I think I know the problem - it occured precicely when my disk filled beyond 137GB. I've read somewhere that older BIOS don't support this, and when writing beyond 137GB just wrap around and start at 0 again, completely trashing the disk. This seems very likely, as the disk makes no "just crashed noises".

My BIOS is an ASUS CUV4X ACPI BIOS Revision 1006, with serial 07/25/2000-VT694Z-CUV4X.

Can anyone tell me if this motherboard will function with so big disks?

I am *completely* new to this. My understanding was that as long as I used a USB harddrive, it would not appear in BIOS (doesn't) and thus not be affected by any BIOS limitation. However, having seen it mess some but not all files up precicely at 137GB, I'm pretty sure this is what happened.

I was just on my way out the door to buy a new, internal 300GB disk when I noticed this - good thing I didn't waste my money just yet...

The computer and harddrive is in a cooled environment with 3 external fans taking care of it, even in hot summer days, so while the suggestion is good, I doubt that's the case here...

Any input, anyone? Thanks!!
 
Old 07-16-2005, 04:52 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,453

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Erk !!!!
Looks like you have bumped into (a lack of) support for "Ultra ATA".
BIOS update - *NOW*

ASUS are pretty good with the current gear (I have 3 x P4P800) - go get an update, or spend some dollars on new kit.
 
Old 07-16-2005, 05:03 AM   #12
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Fedora 15
Posts: 628

Original Poster
Rep: Reputation: 35
Thanks for replying syg00,

I found the latest BIOS upgrade on ASUS support web, but how do I know if it supports Ultra-ATA? I am worried about upgrading the BIOS and then either crashing my computer, or finding out that it doesn't work anyway, after spending $2-300 on a new disk.

Do you have any experience in this field? Would it be OK if I PM you for some more input?

-Y1
 
Old 07-16-2005, 07:57 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,453

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Will it support the big disks ??? - who knows. Generally when a BIOS comes out, it lists what it is adding.
One that old - should, but again who knows. Can't see it doing any harm.
To test it out, I try dd'ing 150 Gig of data - you'll know if it crosses the "limit".

The installs I've done have been pretty good; occasionally a bit of screwing around, but always eventually worked. They should offer a backup on the way - never needed it myself, but worth creating.
The installers are generally DOS - if you can't create a DOS boot disk, go to www.bootdisk.com, and download an image.

There are plenty of people happy to help here on LQ - we'll all be here; even if at different times of the day.
 
Old 07-17-2005, 12:03 AM   #14
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Linux ignores geometry information that is gathered from the BIOS, so Linux will recalculate the geometry information. Linux can handle up to a terabyte and counting.

I had my fair share of ReiserFS failing. Also ReiserFS has problems with LILO. When mounting ReiserFS, make sure you add notail or else corruption. I prefer people use XFS over ReiserFS because files can retrieve from a corrupt medium easier than you think with XFS. The problem using XFS is you need at least 512 MB of memory.

I have no problems with USB, so why it people pointing a finger at it. When mounting USB storage devices, include the sync option. This will make sure data that is sent to the medium is hopefully written to the disk.

You do not need to update the firmware of the motherboard unless you want better support for memory brands and be able to handle faster processors.
 
Old 07-18-2005, 06:18 AM   #15
eeades
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 113

Rep: Reputation: 15
Yalla, one thing to note, your BIOS will not effect USB drives, only internal ones. It is more likely that the USB Mass Storage driver is the culprit, or maybe the Maxtor firmware in the usb case (unlikely). Your MB will generally not care about any drives that are not plugged into an IDE/SATA or SCSI controller. Has anybody else had problems, or know of problems/size limits with USB Mass Storage system?

Eric
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cant delete (or do anything else) to files, reiserfs c0uchm0nster Linux - Software 5 10-06-2005 04:46 PM
Konqueror get crashed once being used to play internet audio files such as ram bravehao Linux - Newbie 0 06-03-2005 10:04 AM
Undelete files from ReiserFS mneves Linux - General 1 04-23-2004 09:31 AM
Undeleting ReiserFS Files KingofBLASH Linux - General 1 12-29-2003 04:10 PM
Recovering precious files from a crashed system MasterC Linux - General 7 12-16-2002 03:21 AM


All times are GMT -5. The time now is 07:58 PM.

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
Open Source Consulting | Domain Registration