LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My external device SSD not able to mount for my data files
#1
Dear Sir/Madam,

I was using my previous SSD Hard drive as an external hard drive and was working fine but today unfortunately unable to mount my data files. For further convenience, I am enclosing herewith a screenshot message as I am seeing. "Mount Failed

Failed to mount "127 GB Volume"
Error mounting /dev/sdb5 at /media/linuxlite/ 044f817b-c90b-4713-9339-654368a3f452: wrong fs
type, bad option, bad superblock on /dev/sdb5, missing codepage or helper program, or other error

x Close


I shall be very thankful to someone else who can resolve my external SSD device's failure to mount.

Thanks with anticipation,
Muhammad Umar Farooq
Reply
#2
Having a look at the logs may show what is happening as that error message is very general.  Assuming the SSD is in a USB caddy you could do something like this. 

Boot up your system and allow it to sit idle for a while so nothing is going on in the background.
Open a terminal with 'Ctrl Alt T'
Make a note of the system time in the HH:MM format e.g. 17:55
Connect the external SSD.
If it would normally auto-mount allow enough time for this to complete.
Otherwise attempt to mount it as normal e.g. right click and enter password etc

Once the mount operation has failed run these commands in the terminal.
Replace HH:MM with the value you noted earlier.

Code:
journalctl -b --since HH:MM
press space bar to page through the output (or enter to advance line by line) until you see (END), then q to exit

You may get extra information with this command
Code:
sudo dmesg
Edit to correct typing error.

In both cases, you may need to scroll up a bit to find the messages relating to the SSD connection and mount.
A message saying 'New USB device found' would be a typical place to start reviewing.
Check the messages after that and look for any relating to mount errors

Post back with the results if necessary.
stevef
clueless
Reply
#3
Dear Sir/Madam,

I have applied the instructions given by you, but the message display failed in both commands. First output "command not found" Second reply "sudo dmseg command not found"
Reply
#4
My apologies.  I made a typing error in the second command - use this

Code:
sudo dmesg

Regarding the first command can you post back with the result of
Code:
whereis journalctl
stevef
clueless
Reply
#5
how i can share the results from the Xfce terminal? Kindly guide me
Reply
#6
=2
[  614.804243] usb 2-1.3: Product: USB Mass Storage Device
[  614.804248] usb 2-1.3: Manufacturer: Generic   
[  614.804253] usb 2-1.3: SerialNumber: 116AC2101219
[  614.908594] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[  614.908908] scsi host6: usb-storage 2-1.3:1.0
[  614.909009] usbcore: registered new interface driver usb-storage
[  614.927305] usbcore: registered new interface driver uas
[  615.923585] scsi 6:0:0:0: Direct-Access        Mass  Storage Device        PQ: 0 ANSI: 0
[  615.924593] sd 6:0:0:0: Attached scsi generic sg2 type 0
[  615.925884] sd 6:0:0:0: [sdc] 250069678 512-byte logical blocks: (128 GB/119 GiB)
[  615.926521] sd 6:0:0:0: [sdc] Write Protect is off
[  615.926530] sd 6:0:0:0: [sdc] Mode Sense: 03 00 00 00
[  615.927140] sd 6:0:0:0: [sdc] No Caching mode page found
[  615.927150] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[  615.938386]  sdc: sdc1 sdc2 < sdc5 >
[  615.940517] sd 6:0:0:0: [sdc] Attached SCSI disk
[  627.005841] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  632.975301] JBD2: no valid journal superblock found
[  632.975307] EXT4-fs (sdc5): error loading journal
linuxlite  ~ 
ation="open" profile="snap-update-ns.firefox" name="/var/lib/" pid=12883 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[  949.393556] audit: type=1107 audit(1697968761.529:53): pid=931 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.0" pid=12832 label="snap.firefox.firefox" peer_pid=947 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[  950.104149] audit: type=1107 audit(1697968762.237:54): pid=931 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.230" pid=12832 label="snap.firefox.firefox" peer_pid=13246 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
[  950.314572] audit: type=1107 audit(1697968762.449:55): pid=931 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.230" pid=12832 label="snap.firefox.firefox" peer_pid=13246 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
 linuxlite  ~  
Reply
#7
Sharing the results from a terminal is usually done using the code tags.
When writing a message you should see a number of face icons above the text entry box.
Above those icons are some button icons.
Locate the '#' button and place the mouse over it.  It should say 'Insert Code'.
Clicking once on the # button should place a pair of code tags into the text entry box.
The tags will be enclosed by square brackets.  Anything you put between the tags will be formatted properly in a blue box when posted.  Use the preview option to check what your post will look like.

Posting guidelines can be found at https://www.freecinema2022.gq/forums/intro...uidelines/
Just after the 'Thread Title' section there is a guide to pasting terminal output into the forum using codes tags.

It appears your disk is failing to mount because of corruption, possibly it was incorrectly disconnected on a previous use and the system is suggesting to use fsck.

Accepting advice off the internet is risky.  Research to double check advice offered. Take extreme care when entering commands.  Ensure you have a working backup of your system and essential data.  If the data on the disk is important you may want to get advice locally from a reputable expert.

Your first post referred to 'Error mounting /dev/sdb5' whereas the most recent post refers to 'sdc5'
It is important that the correct parameter is used when trying to fix disk problems.

Identifying the disk and attempting repair may be easier with a GUI.  If you prefer to use a GUI, the tool you need is 'Partition Drives' aka Gparted.  Let us know if you need help with this.

If you prefer to use command line,  start by showing the hard disks on the system with this.

Code:
blkid

Identify the device name used by the external SSD, it will be in the form /dev/xxxx
Make a note of the device and also the TYPE listed.

Post back if you can't identify the drive and TYPE.

When you have the correct device and TYPE for the external SSD, run file system check to see what it reports.
If for example, blkid reported "/dev/sdc5" and TYPE="ext4" for your SSD, you would run the command below, but the command you use may be different.

Code:
sudo fsck.ext4 -v /dev/sdc5

Post back with the results.
stevef
clueless
Reply
#8
Dear Sir/Madam,
Force rewrite<y>? yes
Error reading block 3147598 (Input/output error) while getting next inode from scan.  Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 3147599 (Input/output error) while getting next inode from scan.  Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 3147600 (Input/output error) while getting next inode from scan.  Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 3147601 (Input/output error) while getting next inode from scan.  Ignore error<y>? no
Error while scanning inodes (815872): Can't read next inode

/dev/sdc5: ***** FILE SYSTEM WAS MODIFIED *****
Recreate journal<y>? yes
Creating journal (131072 blocks): Error reading block 1040 (Input/output error).  Error reading block 14680065 (Input/output error).  Error reading block 22020097 (Input/output error).  Ignore error<y>? Ignore error<y>? Ignore error<y>? Error reading block 7340033 (Input/output error).  Ignore error<y>? yes
Force rewrite<y>? yes
Force rewrite<y>? yes
Force rewrite<y>? yes
Force rewrite<y>?

After applying the commands as suggested by you the above is result
Welcome to Linux Lite 6.6 linuxlite

Sunday 22 October 2023, 20:18:03
Memory Usage: 662/3790MB (17.47%)
Disk Usage: 52/73GB (75%)
Support - https://www.freecinema2022.gq/forums/ (Right click, Open Link)

linuxlite  ~  blkid
/dev/sdb5: UUID="00566cc5-d853-46bc-b4ff-2649a3450fd5" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e32b244f-05"
/dev/sdb1: UUID="C461-7069" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="e32b244f-01"
/dev/sda2: UUID="EDCC-3FF8" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="6a7d196f-11cf-49a5-b301-d38f93ba95a0"
/dev/sda3: UUID="c2ac39a4-b96e-4cad-872a-1b887eb472af" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="417b4b18-6ee4-47e8-ba6a-19db66c38a17"
linuxlite  ~ 

should i use the second command if yes, just like given or to be modified?

Reply
#9
The second part of your post (since edited) shows you entered "blkid", then "ext4" and then the fsck command exited with "Possibly non-existent device?"

I don't understand where the messages beginning "Force rewrite" come from.  What command was that ?
stevef
clueless
Reply
#10
Welcome to Linux Lite 6.6 linuxlite

Sunday 22 October 2023, 20:18:03
Memory Usage: 662/3790MB (17.47%)
Disk Usage: 52/73GB (75%)
Support - https://www.freecinema2022.gq/forums/ (Right click, Open Link)

 linuxlite  ~  blkid
/dev/sdb5: UUID="00566cc5-d853-46bc-b4ff-2649a3450fd5" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e32b244f-05"
/dev/sdb1: UUID="C461-7069" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="e32b244f-01"
/dev/sda2: UUID="EDCC-3FF8" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="6a7d196f-11cf-49a5-b301-d38f93ba95a0"
/dev/sda3: UUID="c2ac39a4-b96e-4cad-872a-1b887eb472af" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="417b4b18-6ee4-47e8-ba6a-19db66c38a17"
 linuxlite  ~  

Should I use the second command just like as you depicted or to be changed if changed please give rewrite command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)