You are not logged in.
Pages: 1
I recently changed from linux-lqx kernel to linux-cachyos and I have a problem with btrfs partitions. I've include them to fstab but none of them doesn't mount at boot any more. I can mount them with "mount -all" command without errors after boot though.
In journalctl I get this errors:
archlinux2-pc1 systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 882 (systemd-binfmt)
Αug 30 10:27:13 archlinux2-pc1 systemd[1]: media-gamedisk4.mount: Job media-gamedisk4.mount/start failed with result 'dependency'.
Αug 30 10:27:13 archlinux2-pc1 systemd[1]: media-gamedisk1.mount: Job media-gamedisk1.mount/start failed with result 'dependency'.
Αug 30 10:27:13 archlinux2-pc1 systemd[1]: media-gamedisk3.mount: Job media-gamedisk3.mount/start failed with result 'dependency'.What is missing and they fail to mount?
Offline
Which subvolumes do you have? Can we have a look at your fstab?
Offline
No subvolumes, here is the fstab entries:
#gamedisk1
UUID=9962ff66-f2ce-48a3-b583-507c637793fb /media/gamedisk1 btrfs rw,user,nofail 0 0
#gamedisk3
UUID=3bc67ee2-7709-4952-9d6d-af38d7566fa8 /media/gamedisk3 btrfs rw,noatime,autodefrag,space_cache=v2,compress=zstd,user,nofail 0 0
#gamedisk4
LABEL=gamedisk4 /media/gamedisk4 btrfs rw,noatime,ssd,autodefrag,space_cache=v2,compress=zstd,user,nofail 0 0Offline
Why are you mounting it in /media? I believe /media is in user space (that's why you can mount after boot as user is logged in) but you want to mount them where kernel could see them. I would think /mnt (as the directory implies) should be a better mount point.
Offline
I'm using media for mountpoints many years now and I never had a problem, and also now I have declare those paths in many places, so I don't want to change it. And I don't think that this is the problem. I didn't have problem with the default, zen, and lqx kernels, so I think that something missing on cachyos kenrel which causes the problem.
I will test to mount them in /mnt though.
EDIT:
Diidn't notice any difference. I had exactly the same behaviour. No automount at boot, but mounted without error manually after boot.
Last edited by zaxdan69 (2024-08-30 13:25:09)
Offline
Why are you mounting it in /media? I believe /media is in user space
/media is a historical directory which was used by udisks v1 (IIRC). It was changed to /run/media for udisks2.
Unless you still use udisks v1 (unlikely, it's long since been obsolete and isn't even available in the AUR anymore), it's fine to use as a mount point, and is available as soon as the root filesystem is mounted.
The actual problem is likely due to the configuration of the kernel and/or the contents of the initrd, and probably recorded earlier in the journal. Please post the full journal from an affected session (using a pastebin).
Mod note: Moving to AUR Isuses.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
UPDATE:
Seems that the problem isn't related to cachyos kernel. I just now booted to default kernel and the issue persists. I just mentioned the problem sortly after installed cachyos kernel and I wasn't have it with the default zen, or lqx kernel(I have this setting about 2 years now and I had all those kernels at some point in that period). So maybe some update caused it. I update the system usually every day.
Offline
d_fajardo wrote:Why are you mounting it in /media? I believe /media is in user space
/media is a historical directory which was used by udisks v1 (IIRC). It was changed to /run/media for udisks2.
Unless you still use udisks v1 (unlikely, it's long since been obsolete and isn't even available in the AUR anymore), it's fine to use as a mount point, and is available as soon as the root filesystem is mounted.
The actual problem is likely due to the configuration of the kernel and/or the contents of the initrd, and probably recorded earlier in the journal. Please post the full journal from an affected session (using a pastebin).
Mod note: Moving to AUR Isuses.
Why moved to AUR Issues? This does happen on default linux kernel also. I checked the journal and I didn't find anything in it. I also checked the
"/usr/lib/initcpio/hooks" directory and it is a "btrfs" file there. "lsinitcpio" command doesn't include btrfs though but has udev.
Anyway I managed to fix it by adding btrfs in modules section of mkinitcpio.conf.
Offline
I moved it to AUR Issues because from the information you posted you only had the problem with the cachyos kernel, which is not a standard Arch Linux kernel.
You probably don't need the btrfs hook, as that has a very specific use case:
$ mkinitcpio -H btrfs
==> Help for hook 'btrfs':
This hook provides support for multi-device btrfs volumes. This hook
is only needed for initramfs images which do not use udev.
==> This hook has runtime scripts:
-> pre-mount hookPossibly you just need to include the btrfs module in your initrd, but as you haven't shared the journal from an affected session, we can only speculate.
Since you now attribute this to a update, what packages have been updated since the filesystems mounted at boot?
Moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You have right about that. I thought that was kernel related because I mentioned after the kernel install, but I found that it happens with all kernels(included the standard) and I updated the info. I didn't post the journal because I checked and didn't found any other relative info, while I already added the module to initrd as you mentioned and this fixed the issue. From jounral seems that the issue started at 28th August 17:25, and I found that around that time kmod was updated, so maybe this caused it. I will downgrade it to test it.
Offline
Pages: 1