LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-09-2006, 06:29 AM   #1
knyght_ryder
LQ Newbie
 
Registered: Dec 2005
Distribution: Slackware 10.1
Posts: 3

Rep: Reputation: 0
Ext3fs chaos


Hi,
I have two hard drives which have recently decided to become completely erroneus to the extent that often I cannot access data from them. Both drives are ext3.
Granted, one is a rather old 80Gb Samsung SP0802N that has seen a lot of action. This drive mounts fine, but after a short while of trying to access it, it just gives up - cfdisk says there are no partitions there! Smartctl lists quite a few errors for the drive - errors 38144, 38143, 38142, 38141 (if they actually mean anything!)

However the puzzling bit concerns my other HD, a recently purchased 300Gb Maxtor 6L300R0 - which is only a couple of months old, but is already racking up a load of 'kernel: end_request: I/O error, dev 16:01' errors - actually hundreds of these with varying sector numbers. Performance seems fine except after a few hours of apparent inactivity, no files are visible on the partition! Remounting doesnt solve the problem, but the files are definately still there - according to df anyway.
I'm quite worried about this as I have no means to backup the entirety of my data at the moment. Could there be any smart, hdparm or kernel issues at the root of these problems?
My kernel is 2.4.29. I have also noticed an error with insmod and pciehp in my syslog - won't load properly.
thanks.
 
Old 04-10-2006, 06:56 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
I have no idea. You can install smartmontools to monitor SMART stuff, and you can use TestDisk if anything is wrong with your partitions. But I doubt any of this is the problem.
 
Old 04-10-2006, 11:43 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Disconnect the old drive. I don't know how you have this configured, but let's assume it is IDE master slave. The old drive needs to be the slave. The new drive needs to be master. Each drive has a jumper cap that you have to move around to set the drive for its position on the cable. Once you get the jumpers set correctly, attach the old drive to the middle IDE connector on the cable, and the new master drive to the end connector on the cable. Now, the 300 GB controller is controlling both drives. That is what you are telling the computer when you make one drive master and the other slave; use master's controller for both drives. When you get done with that, go get dd_rescue http://www.garloff.de/kurt/linux/ddrescue/

Transfer all the data off the old drive with

dd_rescue if=/dev/sdb of=/home/sam/olddrive.img

After it gets done, mount the image

mkdir /mnt/olddrive
mount -o loop /home/sam/olddrive.img /mnt/olddrive ext3 defaults 0 0
cd /mnt/olddrive
there's all the files.
I recommend this method because if there is damage to the disk at least you will have some files. See how it goes.
 
  


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
Why can't I fix ext3fs always getting mounted read-only? chadwick Linux - General 19 12-14-2006 04:20 PM
Re: Getting back deleted files in ext3fs talpa_sai Linux - Software 1 04-04-2006 03:10 PM
Encrypted Root Filesystem (dm-crypt/loopAES +ext3fs) - Problem dragoncity99 Slackware 6 08-01-2005 12:14 AM
nondestructive reformat (ext2fs to ext3fs)? SocialEngineer Linux - General 2 05-23-2004 05:00 PM
clone linux ext3fs possible? Jeroen Linux - General 7 10-31-2003 11:05 AM

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

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