Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Troubleshooting • External HDD on powered usb hub will not mount via fstab, but mounts manually

$
0
0
Pi5 with external powered Seagate HDD connected to powered usb hub will not mount the drive via fstab. However, the drive mounts fine with sudo mount -a. I've been beating my brains out to figure out why as this configuration has been working for years now. I just had a breakthrough and have not found my exact problem on the forum or anywhere else. I just tried an unpowered hub and everything just works. Swapped out for a powered hub of the same brand (Insignia) and the drive does not mount.

Does anyone have ideas on why this is? Here's my configuration:

Raspberry Pi5 8GB
Ubuntu Server 24.04 LTS
Seagate Expansion HDD (reformatted for ext4) and configured in fstab to mount via

Code:

UUID=5321b21b-760c-4fe9-a477-d50fc524c22c /mnt/media1    ext4  defaults,nofail  0    2
With the original Sabrent powered hub, and running journalctl -xb yeilds the following

Code:

ul 13 13:32:12 ubsvr5 kernel: EXT4-fs (sda1): mounted filesystem 69d1ef71-4548-441f-a1d8-f9ec2ce3e0a4 r/w with ordered data mode. Quota mode: none.Jul 13 13:32:12 ubsvr5 kernel: device offline error, dev sda, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0Jul 13 13:32:12 ubsvr5 kernel: EXT4-fs (sda1): shut down requested (2)Jul 13 13:32:12 ubsvr5 kernel: Aborting journal on device sda1-8.Jul 13 13:32:12 ubsvr5 kernel: device offline error, dev sda, sector 9764603904 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 0Jul 13 13:32:12 ubsvr5 kernel: device offline error, dev sda, sector 9764603904 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 0Jul 13 13:32:12 ubsvr5 kernel: Buffer I/O error on dev sda1, logical block 1220575232, lost sync page writeJul 13 13:32:12 ubsvr5 kernel: JBD2: I/O error when updating journal superblock for sda1-8.Jul 13 13:32:12 ubsvr5 kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cacheJul 13 13:32:12 ubsvr5 kernel: EXT4-fs (sda1): unmounting filesystem 69d1ef71-4548-441f-a1d8-f9ec2ce3e0a4.Jul 13 13:32:12 ubsvr5 kernel: sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OKJul 13 13:32:12 ubsvr5 kernel: usb 3-1.4: USB disconnect, device number 4Jul 13 13:32:12 ubsvr5 kernel: usb 3-1.4.4: USB disconnect, device number 5
Thinking it could be an HDD issue I ran

Code:

badblocks -b 8192 /dev/sda1
(it's an 8TB drive) and it was clean.
I also ran

Code:

sudo e2fsck -cfpv /dev/sda1 
and it was also clean. Both checks took an entire day each!

With the unpowered hub everything just works. I've been running a Plex media server with the original powered hub for years and suddenly it just doesn't work anymore. Is there some software updated that killed this?

Hopefully this could help some other user.

Statistics: Posted by theRascal — Tue Jul 15, 2025 10:23 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles