LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2018, 09:44 AM   #1
chrisfsi
LQ Newbie
 
Registered: Feb 2018
Posts: 11

Rep: Reputation: Disabled
Error mounting ext4 disk..


I had a few issues running an external Maxtor drive via a USB hub, the disk was hanging and beeping on boot up. I traced this down to being due to the fact that the USB hub was not powered, and the drive was no getting enough power. That I resolved by using a powered USB hub, and the drive now boots fine and doesn't beep.

But! During the troubleshooting of the above I had to do a hard power-off of the whole system, and now when I try and access the disk I get the following message:

Error mounting /dev/sdb2 at /media/chris/6b237ae0-e75e-4990-a8dd-3cb5f1d2dcc6: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdb2" "/media/chris/6b237ae0-e75e-4990-a8dd-3cb5f1d2dcc6"' exited with non-zero exit status 32: mount: mount /dev/sdb2 on /media/chris/6b237ae0-e75e-4990-a8dd-3cb5f1d2dcc6 failed: Structure needs cleaning
(udisks-error-quark, 0)

It's got 2 partitions on, one NTFS and one ext4; it seems the NTFS partition just fine, it's just the ext4 partition that seems to be having a problem.

Any ideas on how to troubleshoot and resolve this one? I have done a Google search on the error but not found anything useful so far...

TIA...
 
Old 02-16-2018, 10:22 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Did you try running fsck on the ext4 device?
 
Old 02-16-2018, 10:46 AM   #3
chrisfsi
LQ Newbie
 
Registered: Feb 2018
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks - what's the complete command? I'm a noob in the linux world..
 
Old 02-16-2018, 11:16 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Given the output in your original post, the command would be:
Code:
# fsck -a /dev/sdb2
The command should be run with /dev/sdb2 unmounted. The above command will attempt to automatically repair the filesystem on sdb2.
 
  


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
[SOLVED] An error occurred while mounting disk partition adkPrasanna Slackware 7 03-16-2016 11:05 AM
[SOLVED] mounting a scsi disk fails with unknown filesystem error Greebstreebling Linux - Hardware 12 03-29-2013 03:18 PM
migrated from ext3-disk to a ext4 disk - now linux wont boot zilogZ80 Linux - Newbie 4 02-05-2010 03:19 AM
mounting ext3 FS as ext4 info1686 Linux - General 1 07-08-2009 07:16 AM
error in mounting external disk iandroul Linux - Hardware 1 07-18-2008 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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