You are not logged in.
Here is the /etc/fstab:
# /dev/nvme0n1p4 LABEL=ROOT
UUID=5e586c3d-a6c6-4f77-bf51-2ddcfa4d584d / bcachefs rw,noatime,fsck,fix_errors,noshard_inode_numbers,norecovery,noexcl,discard,nofail 0 0
but
$ mount | grep ' / '
/dev/nvme0n1p4 on / type bcachefs (rw,noatime,noshard_inode_numbers)
I've tried using dracut, mkinitcpio, and booster with the same results.
kernel ops in /etc/default/grub:
GRUB_CMDLINE_LINUX="quiet rootfstype=bcachefs nmi_watchdog=0 nowatchdog modprobe.blacklist=iTCO_wdt mitigations=off loglevel=3 rd.udev.log_level=3 zswap.enabled=1 zswap.compressor=lz4 zswap.max_pool_percent=20 zswap.zpool=z3fold scsi_mod.use_blk_mq=1 resume=UUID=99bed8ba-ada6-4a01-88dc-48a83b656955"
I'm thinking that this might have something to do with systemd remounting, but I'm not sure which service does it.
Any ideas?
Offline
Do you have "bcachefs" in the mkinitcpio HOOKS?
Offline
Do you have "bcachefs" in the mkinitcpio HOOKS?
I added it as such:
MODULES=(lz4 bcachefs)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect modconf kms keyboard keymap block bcachefs filesystems resume fsck)
COMPRESSION="lz4"
COMPRESSION_OPTIONS=(-9)
MODULES_DECOMPRESS="no"
and then I ran:
mkinitcpio -P
And still not mounting with options in /etc/fstab.
Offline
If you remount the partition, do the settings get picked up?
Offline
If you remount the partition, do the settings get picked up?
Initially I had tried that with no change:
mount -a
In any event, I made a bunch of changes, and I'm not really sure which one it was, but now the mount options in /etc/fstab are being respected. I also tried editing /etc/fstab with more sane defaults, using relatime instead of the others I had used. Perhaps those others resulted in an error and systemd forced the a remount? Anywho, it's fixed and the install script is updated so it won't happen again.
Offline