this post was submitted on 04 Jan 2025
8 points (100.0% liked)

Linux Questions

1317 readers
18 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I recently installed CachyOS and went about setting up fstab as I normally would. For some reason one of my HDD's is not mounting on start as it's supposed to. The one called 'Media III' is the one that won't mount automatically. I can mount it just fine in Dolphin. None of the solutions I have tried seem to work. I'd be grateful for any help offered. Thank you!

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=2F40-2396                            /boot          vfat    defaults,umask=0077 0 2
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /              btrfs   subvol=/@,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /home          btrfs   subvol=/@home,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /root          btrfs   subvol=/@root,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /srv           btrfs   subvol=/@srv,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/cache     btrfs   subvol=/@cache,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
UUID=b1d8992a-192f-4f8a-ba0e-fc438f740670 /var/log       btrfs   subvol=/@log,defaults,noatime,compress=zstd,space_cache=v2,commit=120 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
/dev/disk/by-uuid/3da7d8ac-60c8-4378-ba5d-c7546d5ed4ca /media/user/Games auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/20e5f943-366a-49b4-92c3-fbe013ebb010 /media/user/Media auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/ceaf9b7c-3fb5-4ec1-bf77-c3e45b452d07 /media/user/Media\040II auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/979e1457-7431-4f9c-a5b1-9ce062a6a55a /media/user/Blu-ray auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/27db861a-84ee-4091-aa61-4fda057c5da3 /media/user/Games\040II auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/eb9efe45-bf11-4f30-b9de-26456c5459e6 /media/user/More\040Files auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/a66e2ba8-d4b5-4564-9e4e-c29f34298cad /media/user/Media\040III auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/wwn-0x5000cca0b0e052b0-part1 /media/user/Backup auto nosuid,nodev,nofail,x-gvfs-show 0 0
you are viewing a single comment's thread
view the rest of the comments
[–] daggermoon 5 points 1 month ago (1 children)

I solved the issue. In case anyone else ever has this problem add x-systemd.mount-timeout=60 to your corresponding drive in /etc/fstab. I guess CachyOS doesn't like to wait for slow hard disks.

[–] Skyrmir 2 points 1 month ago (1 children)

Could be slow due to a poor power connection. Or just a slow drive, but worth reseating the connector to check.

[–] daggermoon 2 points 1 month ago

I think it's because it's an 8TB drive at 86% capacity. Everything seems fine in smart. I had issues with cables before which led to a bunch of errors in smart. It might be worth checking anyway however. I was planning on adding another drive anyway. Might as well swap the cable.