Hello,
With ext4 filesystems, I used to set
ext4 noauto,errors=remount-ro 1 2
in the fstab.
With btrfs FS it does not like the option errors=remount-ro mount: /mnt/backup_2: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call.
btrfs: Unknown parameter 'errors'
Is there another option?
Thanks
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com ===========================================================================
man btrfs
But In general I always use defaults for the option and then override any others.
And remount-readonly is a default option on ext4 and I don't believe it was ever necessary to supply it.
On the above I would use defaults,noauto,nofail
On Sat, Jun 1, 2024 at 10:06 AM Patrick Dupre via users users@lists.fedoraproject.org wrote:
Hello,
With ext4 filesystems, I used to set
ext4 noauto,errors=remount-ro 1 2
in the fstab.
With btrfs FS it does not like the option errors=remount-ro mount: /mnt/backup_2: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call.
btrfs: Unknown parameter 'errors'
Is there another option?
Thanks
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com =========================================================================== -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Sat, Jun 1, 2024, at 11:06 AM, Patrick Dupre via users wrote:
Hello,
With ext4 filesystems, I used to set
ext4 noauto,errors=remount-ro 1 2
in the fstab.
With btrfs FS it does not like the option errors=remount-ro
That is an ext4 specific mount option. Btrfs already does this by default.