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
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.Could be slow due to a poor power connection. Or just a slow drive, but worth reseating the connector to check.
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.
dmesg
might shed some light on what it’s doing with the disk. Grep around in the output for drive names and UUIDs.[ 7.757767] BTRFS info (device sdf1): first mount of filesystem 979e1457-7431-4f9c-a5b1-9ce062a6a55a [ 7.757773] BTRFS info (device sdf1): using crc32c (crc32c-intel) checksum algorithm [ 7.757776] BTRFS info (device sdf1): using free-space-tree [ 7.758068] BTRFS: device label Backup devid 1 transid 19082 /dev/sdg1 (8:97) scanned by mount (958) [ 7.758391] BTRFS: device label Media III devid 1 transid 57477 /dev/sdc (8:32) scanned by mount (965) [ 7.758948] BTRFS info (device sdg1): first mount of filesystem d015a24a-9ec6-4390-890b-a61b4837c228 [ 7.758954] BTRFS info (device sdg1): using crc32c (crc32c-intel) checksum algorithm [ 7.758958] BTRFS info (device sdg1): using free-space-tree [ 7.759055] BTRFS info (device sdc): first mount of filesystem a66e2ba8-d4b5-4564-9e4e-c29f34298cad [ 7.759060] BTRFS info (device sdc): using crc32c (crc32c-intel) checksum algorithm [ 7.759063] BTRFS info (device sdc): using free-space-tree [ 7.759085] BTRFS: device label More Files devid 1 transid 253 /dev/sdd1 (8:49) scanned by mount (966) [ 7.759333] BTRFS: device label Media II devid 1 transid 19618 /dev/sdb1 (8:17) scanned by mount (964) [ 7.759398] BTRFS info (device sdd1): first mount of filesystem eb9efe45-bf11-4f30-b9de-26456c5459e6 [ 7.759404] BTRFS info (device sdd1): using crc32c (crc32c-intel) checksum algorithm [ 7.759407] BTRFS info (device sdd1): using free-space-tree [ 7.759544] BTRFS info (device sdb1): first mount of filesystem ceaf9b7c-3fb5-4ec1-bf77-c3e45b452d07 [ 7.759548] BTRFS info (device sdb1): using crc32c (crc32c-intel) checksum algorithm [ 7.759551] BTRFS info (device sdb1): using free-space-tree [ 7.761121] systemd-journald[508]: Received client request to flush runtime journal. [ 7.765723] BTRFS: device label Games II devid 1 transid 780 /dev/sde1 (8:65) scanned by mount (961) [ 7.765973] BTRFS info (device sde1): first mount of filesystem 27db861a-84ee-4091-aa61-4fda057c5da3 [ 7.765978] BTRFS info (device sde1): using crc32c (crc32c-intel) checksum algorithm [ 7.765981] BTRFS info (device sde1): using free-space-tree [ 7.767783] usb 7-4: 1:3 : unsupported format bits 0x100000000 [ 7.907951] EXT4-fs (sda1): mounted filesystem 20e5f943-366a-49b4-92c3-fbe013ebb010 r/w with ordered data mode. Quota mode: none. [ 8.109997] usb 1-4.3.3: 1:3 : unsupported format bits 0x100000000 [ 8.113796] usbcore: registered new interface driver snd-usb-audio [ 8.172483] zswap: loaded using pool zstd/zsmalloc [ 8.853914] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 8.853917] Bluetooth: BNEP filters: protocol multicast [ 8.853921] Bluetooth: BNEP socket layer initialized [ 8.854265] Bluetooth: MGMT ver 1.23 [ 8.857210] NET: Registered PF_ALG protocol family [ 9.138482] iwlwifi 0000:06:00.0: Registered PHC clock: iwlwifi-PTP, with index: 1 [ 11.616221] Bluetooth: RFCOMM TTY layer initialized [ 11.616226] Bluetooth: RFCOMM socket layer initialized [ 11.616229] Bluetooth: RFCOMM ver 1.11 [ 12.705014] wlan0: authenticate with 42:75:c3:4b:f6:aa (local address=3c:9c:0f:8d:0c:d9) [ 12.705757] wlan0: send auth to 42:75:c3:4b:f6:aa (try 1/3) [ 12.755568] wlan0: authenticate with 42:75:c3:4b:f6:aa (local address=3c:9c:0f:8d:0c:d9) [ 12.755572] wlan0: send auth to 42:75:c3:4b:f6:aa (try 1/3) [ 12.760271] wlan0: authenticated [ 12.761234] wlan0: associate with 42:75:c3:4b:f6:aa (try 1/3) [ 12.767229] wlan0: RX AssocResp from 42:75:c3:4b:f6:aa (capab=0x1011 status=0 aid=26) [ 12.772023] wlan0: associated [ 12.819744] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 42:75:c3:4b:f6:aa [ 13.084977] tun: Universal TUN/TAP device driver, 1.6 [ 23.502211] BTRFS error (device sdc): open_ctree failed
Thank you! This seems relevant.