Cannot automount filesystem via /etc/fstab

This problem:

  1. Created mdadm RAID1 array with two devices => /dev/md126
  2. $ mkfs.btrfs ... /dev/md126
  3. $ mount /dev/md126 /mnt works as expected.
  4. Edited /etc/fstab:
/dev/md126	/mnt	btrfs	defaults,noatime,compress=lz4,commit=120	0 2

now the test mount -a gives:

$ mount -a
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/md126, missing codepage or helper program, or other error.

Am I missing some package? Same behavior with f2fs and/or using UUIDs. Manjaro installed manually, stable branch updated.

see man mount :
-t is required , here btrfs

Oh… stupid thing. Assumed LZ4 is also supported, changed LZ4 into LZO and obviously works.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.