LinuxQuestions.org
Help answer threads with 0 replies.
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 12-25-2020, 11:44 AM   #1
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 75

Rep: Reputation: 0
One partition of external drive won't mount


Hello,
I have a external SCSI drive in an enclosure. It has several EXT4 partitions and a JFS partition that I use for a personal DVR.
All of a sudden today, the JFS partition is refusing to mount. I get the message
Code:
Error mounting system-managed device /dev/sdc7: wrong fs type, bad option, bad superblock on /dev/sdc7, missing codepage or helper program, or other error
Hoping for more clarity, I wend to dmesg and got this:
Code:
    3.547783] usb-storage 1-1:1.0: USB Mass Storage device detected
[    3.547961] scsi host10: usb-storage 1-1:1.0
[    3.548091] usbcore: registered new interface driver usb-storage
[    3.549666] usbcore: registered new interface driver uas
[    4.576963] scsi 10:0:0:0: Direct-Access     WDC WD10 01FALS-00J7B1         PQ: 0 ANSI: 2 CCS
[    4.577201] sd 10:0:0:0: Attached scsi generic sg3 type 0
[    4.577816] sd 10:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    4.578685] sd 10:0:0:0: [sdc] Write Protect is off
[    4.578686] sd 10:0:0:0: [sdc] Mode Sense: 00 38 00 00
[    4.579556] sd 10:0:0:0: [sdc] Asking for cache data failed
[    4.579655] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[    4.625686]  sdc: sdc4 < sdc5 sdc6 sdc7 >
[    4.628306] sd 10:0:0:0: [sdc] Attached SCSI disk
I'm not sure of the drive cache errors are relevant. I've never been able to query the SMART information from this drive due to its being in an enclosure. Moreover, the other two partitions on this drive are working fine.
Fdisk shows the partition:
Code:
Command (m for help): p
Disk /dev/sdc: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: 01FALS-00J7B1   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4242d502

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdc4        115310592 1953523711 1838213120 876.5G  5 Extended
/dev/sdc5       1344114688 1952370687  608256000   290G 83 Linux
/dev/sdc6        115312640  127600639   12288000   5.9G  7 HPFS/NTFS/exFAT
/dev/sdc7        127602688 1344112639 1216509952 580.1G 83 Linux
df does not show the partition:
Code:
mary@mythbox:~$ df
Filesystem     1K-blocks      Used Available Use% Mounted on
udev             3997268         0   3997268   0% /dev
tmpfs             815220      3108    812112   1% /run
/dev/sda7       71528576  21523032  46329028  32% /
tmpfs            4076092         0   4076092   0% /dev/shm
tmpfs               5120         4      5116   1% /run/lock
tmpfs            4076092         0   4076092   0% /sys/fs/cgroup
/dev/sdb1      100658932  26406392  69132628  28% /media/music
/dev/sdb2      100658964  31474700  64064352  33% /media/home_video
/dev/sdb3       41195920   6975164  32121464  18% /media/photos
/dev/sdb6      173120312  72233080  92070196  44% /home
/dev/sda6         523248        24    523224   1% /boot/efi
tmpfs             815216        20    815196   1% /run/user/1000
/dev/sdc5      299223672 217887600  66113292  77% /media/mary/backup
/dev/sdc6        6143996     96844   6047152   2% /media/mary/Windows
What can I look at next? The list of potential errors is so large ...
 
Old 12-25-2020, 11:48 AM   #2
mstrimel
Member
 
Registered: Apr 2004
Location: USA
Distribution: Mint 19 Cinnamon
Posts: 75

Original Poster
Rep: Reputation: 0
Update: the fix was as simple as:
fsck -p /dev/sdc7
and presto the files came back
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 06:30 PM
I keep egtting a "failure to mount" message when I try and logon to my external HD, why won't my laptop work with my external HD? Kboz Linux - Newbie 4 03-22-2018 02:36 PM
Copying a partition from one hard drive to the same partition on another hard drive pylagan Linux - General 1 03-23-2010 12:02 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

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

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