Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My one internal drive is failing to mount at boot time after I upgraded to Ubuntu 22.04. In 18.04 it never had an issue. If I mount after boot completes it mounts without a problem (mount -a).
From dmesg the most I could find is this:
Code:
[ 6.929181] sd 4:0:0:0: [sda] tag#31 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[ 6.929184] sd 4:0:0:0: [sda] tag#31 Sense Key : Medium Error [current]
[ 6.929186] sd 4:0:0:0: [sda] tag#31 Add. Sense: Unrecovered read error - auto reallocate failed
[ 6.929189] sd 4:0:0:0: [sda] tag#31 CDB: Read(10) 28 00 2b b6 dc 80 00 00 08 00
[ 6.929190] blk_update_request: I/O error, dev sda, sector 733404288 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 6.929195] Buffer I/O error on dev sda1, logical block 91675280, async page read
I already modified my fstab to prevent the system from failing to boot, but now it boots without mounting, and fails to retry to mount. I'd be happy if it simply kept trying to mount, but didn't block boot.
I've run fsck on the drive. It did fix one issue, but that didn't solve the problem. I've also experience no issues with the drive once it's mounted.
I feel like this might be some setting that's changed that causes a conflict with this drive, but unsure what it might be, or how to fix it. If no fix is easy, then at least a way to keep trying to mount the drive. It only really needs to be mounted by the time my desktop (KDE) starts up.
The output shows 22,069 hours uptime, yet earlier failures were at nearly three times that, indicating bogus data in the history.
Code:
SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Fatal or unknown error 90% 22069 0
is worrisome, along with the media errors, DRDY ERR, auto reallocate failure, etc., suggesting it's time to contact the device maker's warranty/RMA department.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.