LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-08-2019, 05:10 AM   #1
rod09
LQ Newbie
 
Registered: Dec 2011
Location: Norwich, UK
Distribution: openSUSE-Leap
Posts: 5

Rep: Reputation: Disabled
Corrupted External HD


Hello everyone!
So it seems I borked my external HD's filesystem by pulling the plug on a rush. I just realized that this morning while plugging in the HD in my openSUSE machine and was greeted with a mount failure message:

Code:
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's 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 the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
A few years ago I was able to restore a damaged ext4 partition just by rebuilding it with fdisk. I was tempted to do that again with my external HD's NTFS partition but I am not so sure it is a good idea. What do you guys think? How can I restore my external HD's data using my Linux environment?

Last edited by rod09; 08-08-2019 at 08:37 AM. Reason: Clarification of problem/request
 
Old 08-08-2019, 08:31 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Stick it into a Microsoft windows machine and let "it" fix "it's" proprietary file system.

You can try ntfs tools, don't know where Suse keeps that.
http://manpages.ubuntu.com/manpages/...ntfsfix.8.html

That's a common problem with NTFS drives, if you get in a hurry. Un mount it, then wait 10 seconds before you pull it out.
 
Old 08-08-2019, 08:41 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
It's part of ntfs-3g
https://www.tuxera.com/community/open-source-ntfs-3g/
 
Old 08-08-2019, 08:44 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
run chkdsk /f on Windows then reboot into Windows twice.
In the words of the late Whitney Houston, "I have nothing!"

What teckk said. But I'm curious, was it in a Windows machine when you pulled the power?

Either case, seen many disks get corrupted, and specifically while using Windows. It takes a disk check under Windows action, and usually gets resolved as part of that.

If not, then advise further about your problem.
 
Old 08-08-2019, 08:48 AM   #5
rod09
LQ Newbie
 
Registered: Dec 2011
Location: Norwich, UK
Distribution: openSUSE-Leap
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Stick it into a Microsoft windows machine and let "it" fix "it's" proprietary file system.

You can try ntfs tools, don't know where Suse keeps that.
http://manpages.ubuntu.com/manpages/...ntfsfix.8.html

That's a common problem with NTFS drives, if you get in a hurry. Un mount it, then wait 10 seconds before you pull it out.
Great tip!
ntfsfix solved it. I just needed to run the following:

Code:
ntfsfix /dev/sdb1
By the way, ntfsfix was already installed in my machine via the ntfs-3g package

Thanks very much

Last edited by rod09; 08-08-2019 at 08:57 AM. Reason: Information correction
 
1 members found this post helpful.
Old 08-08-2019, 08:57 AM   #6
rod09
LQ Newbie
 
Registered: Dec 2011
Location: Norwich, UK
Distribution: openSUSE-Leap
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rtmistler View Post
In the words of the late Whitney Houston, "I have nothing!"

What teckk said. But I'm curious, was it in a Windows machine when you pulled the power?

Either case, seen many disks get corrupted, and specifically while using Windows. It takes a disk check under Windows action, and usually gets resolved as part of that.

If not, then advise further about your problem.
No it was actually on my openSUSE machine. I left Windows behind years ago so I don't have a machine around to fix my hard drive. It was really a dumb move to pull the plug like that, but now the problem's solved
 
  


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
corrupted or not corrupted filesystem? pan64 Linux - General 9 01-03-2015 01:57 PM
[SOLVED] External drive f/s corrupted? woodmaster Linux - Hardware 4 05-19-2010 03:03 PM
Ubuntu 9.x install corrupted NTFS partition; repair corrupted TrueCrypt partition halfer Linux - General 1 06-30-2009 02:59 PM
File directory corrupted on external EXT3 USB drive mocambo Linux - General 3 06-17-2009 09:37 PM
My external backup disk is corrupted by window registry how do I recover the data? cbn302 Linux - General 2 07-09-2006 10:01 PM

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

All times are GMT -5. The time now is 12:58 AM.

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