LinuxQuestions.org
Help answer threads with 0 replies.
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 02-18-2008, 12:30 PM   #1
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
Dead NTFS usb drive - Kubuntu 7.10


hi all,
I'm using a USB hard drive (250gb, WD SATA),
Up to today everything worked fine, but today NTFS stopped mounting.
No system updates applied in the last month

root@dim-laptop:/home/dim# uname -a
Linux dim-laptop 2.6.22-14-generic #1 SMP Fri Feb 1 04:59:50 UTC 2008 i686 GNU/Linux


root@dim-laptop:/home/dim# fdisk -l
...
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9c879c87

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 30400 244187968+ 7 HPFS/NTFS


root@dim-laptop:/home/dim# mount -t ntfs-3g /dev/sdc1 /usbdisk
Record 6 has no FILE magic: Input/output error
Failed to open inode: Input/output error
Failed to mount '/dev/sdc1': Input/output error
NTFS is either inconsistent, or you have hardware faults, or you have a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows TWICE. The usage of the /f parameter is very
important! If you have SoftRAID/FakeRAID then first you must activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for the details.


root@dim-laptop:/home/dim# ntfsmount /dev/sdc1 /usbdisk
Failed to open inode : Input/output error
Couldn't mount device '/dev/sdc1' : Input/output error
Mount failed.

/var/log/messages: when plugging the disk in
Feb 18 18:14:20 dim-laptop kernel: [ 1315.048000] usb 5-7: new high speed USB device using ehci_hcd and address 6
Feb 18 18:14:20 dim-laptop kernel: [ 1315.188000] usb 5-7: configuration #1 chosen from 1 choice
Feb 18 18:14:20 dim-laptop kernel: [ 1315.188000] scsi4 : SCSI emulation for USB Mass Storage devices
Feb 18 18:14:25 dim-laptop kernel: [ 1320.188000] scsi 4:0:0:0: Direct-Access WDC WD25 WD-WCANK207 10.0 PQ: 0 ANSI: 2 CCS
Feb 18 18:14:25 dim-laptop kernel: [ 1320.192000] sd 4:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
Feb 18 18:14:25 dim-laptop kernel: [ 1320.192000] sd 4:0:0:0: [sdc] Write Protect is off
Feb 18 18:14:25 dim-laptop kernel: [ 1320.196000] sd 4:0:0:0: [sdc] 488397168 512-byte hardware sectors (250059 MB)
Feb 18 18:14:25 dim-laptop kernel: [ 1320.200000] sd 4:0:0:0: [sdc] Write Protect is off
Feb 18 18:14:25 dim-laptop kernel: [ 1320.200000] sdc: sdc1
Feb 18 18:14:25 dim-laptop kernel: [ 1320.204000] sd 4:0:0:0: [sdc] Attached SCSI disk
Feb 18 18:14:25 dim-laptop kernel: [ 1320.204000] sd 4:0:0:0: Attached scsi generic sg2 type 0


root@dim-laptop:/home/dim# ntfsfix /dev/sdc1
Mounting volume... Failed to open inode : Input/output error
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Failed to open inode : Input/output error
Remount failed : Input/output error


pls help me find a way to get to the data on the disk without having to install windows
 
Old 02-18-2008, 01:10 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can try using testdisk.

If you need to recover data from the disk, you can try using photorec or foremost.
 
Old 02-18-2008, 01:14 PM   #3
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Original Poster
Rep: Reputation: 115Reputation: 115
thanks for the reply mate, apt-getting testdisk right now
 
Old 02-18-2008, 01:18 PM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Original Poster
Rep: Reputation: 115Reputation: 115
I am a bit reluctant to use testdisk on that drive, lots of important info there. are you aware of any other NTFS repairing tools maybe?
 
Old 02-18-2008, 02:34 PM   #5
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
I was having such problems before my disk died (bad sectors, CRC errors, DMA resets, etc).
 
Old 02-18-2008, 02:39 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm not aware of any other programs, though I guess you could try fsck. The linux-ntfs.org site says you can try
Code:
ntfsresize -fi /dev/hdXY
Obviously you want to change /dev/hdXY to /dev/sdc1.
 
Old 02-18-2008, 03:35 PM   #7
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Original Poster
Rep: Reputation: 115Reputation: 115
it has been confirmed - these are bad sectors
I opened this topic at the ntfs-3g forum and they were very quick to diagnose my hdd.

thanks guys, this thread can be closed
 
  


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
kubuntu getting nfs to share a ntfs drive nclaan Linux - Networking 1 09-12-2007 04:58 PM
USB Drive - Is It Dead? carlosinfl Linux - Hardware 7 09-06-2007 06:19 PM
USB drive - dead or just troublesome? nemarona Linux - Hardware 7 06-01-2007 08:31 AM
usb drive in Kubuntu statyk Ubuntu 1 11-28-2006 12:24 AM
Dead NTFS drive Joe Soap General 4 06-10-2005 12:38 PM

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

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