HDD error found in system log - SOLVED

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bushyiii
Level 4
Level 4
Posts: 258
Joined: Thu Apr 07, 2016 12:42 am

HDD error found in system log - SOLVED

Post by bushyiii »

Periodically my system locks up and I have to do a hard boot. Today I checked the syslog and the 1st item I find that is concerning is errors for an attached hdd. Using gparted the drive was checked and came back clean so I am wondering why the boot process is flagging the drive and putting it into read only.

Code: Select all

Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.221617] blk_update_request: I/O error, dev sdf, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC systemd[1]: Unmounting /media/guy...
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC systemd[1]: systemd-fsck@dev-disk-by\x2duuid-b32557b5\x2da056\x2d456b\x2d97b0\x2d5557abbce8d4.service: Deactivated successfully.
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC systemd[1]: Stopped File System Check on /dev/disk/by-uuid/b32557b5-a056-456b-97b0-5557abbce8d4.
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854851] Buffer I/O error on dev sdf1, logical block 976781312, lost sync page write
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854862] JBD2: Error -5 detected when updating journal superblock for sdf1-8.
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854866] Aborting journal on device sdf1-8.
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854869] Buffer I/O error on dev sdf1, logical block 976781312, lost sync page write
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854873] JBD2: Error -5 detected when updating journal superblock for sdf1-8.
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854890] EXT4-fs error (device sdf1): ext4_put_super:1188: comm umount: Couldn't clean up the journal
Mar 26 08:57:17 guy-HP-Compaq-8200-Elite-SFF-PC kernel: [43246.854896] EXT4-fs (sdf1): Remounting filesystem read-only
Last edited by LockBot on Sun Oct 01, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4286
Joined: Tue May 28, 2019 4:27 pm

Re: HDD error found in system log

Post by gittiest personITW »

Can you follow number 5 in the following link:
viewtopic.php?f=17&t=83444
bushyiii
Level 4
Level 4
Posts: 258
Joined: Thu Apr 07, 2016 12:42 am

Re: HDD error found in system log

Post by bushyiii »

I was able to finally figure out why the error occurred and ultimately cured it since I caused it through my ignorance of Linux.
I did not know that LM21.1 would automount attached drives to /media/guy.
Before I added 4 attached USB drives using fstab to my desktop I used the terminal to mount /sdf1 to /media/guy, later when added the drives to fstab it caused conflict that was recorded in the syslog that was also trying to use /media /guy

After clearing the mount point for sdf1 the syslog came back clean.
Locked

Return to “Storage”