From: Jussi Kansanen <jussi.kansanen@gmail.com>
To: "Lucas Rückert" <lucas.rueckert@gmx.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [HELP] open_ctree failed when mounting RAID1
Date: Thu, 2 Jun 2022 15:49:34 +0300 [thread overview]
Message-ID: <d26ecc30-409a-ad22-74cb-39da3d83b6f9@gmail.com> (raw)
In-Reply-To: <9c3fec36-fc61-3a33-4977-a7e207c3fa4e@gmx.de>
On 5/31/22 22:50, Lucas Rückert wrote:
> Hi,
>
> i run two HHD's(sda;sdb) in RAID1.
>
> Kernel: 4.9
>
> Distro: Linux odroid 4.9.277-83 #1 SMP PREEMPT Mon Feb 28 15:16:26 UTC
> 2022 aarch64 aarch64 aarch64 GNU/Linux
>
> btrfs-progs: 5.4.1
>
> I created the filesystem with:
>
> mkfs.btrfs -d raid1 -m raid1 -L somelable -f /dev/sda /dev/sdb
>
>
> And added it to my fstab:
>
> UUID=<uuid> /mnt/somefolder btrfs compress=zstd 0 2
>
>
> When running:
>
> mount -a
>
> i get an error:
>
> mount: /mnt/backup: wrong fs type, bad option, bad superblock on
> /dev/sda, missing codepage or helper program, or other error.
>
>
> and dmesg reports:
>
> BTRFS error (device sdb): open_ctree failed
>
>
>
> Yours sincerely
>
> Lucas
>
Hi Lucas,
Invalid mount options can be reported as "BTRFS error (device sdb): open_ctree
failed". The reason for the error is that your kernel version doesn't support
zstd. 4.14 kernel added support for zstd or 5.1 if you want to set zstd
compression levels by mount option.
-Jussi Kansanen
next prev parent reply other threads:[~2022-06-02 12:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 19:50 [HELP] open_ctree failed when mounting RAID1 Lucas Rückert
2022-05-31 19:59 ` Roman Mamedov
2022-06-02 12:49 ` Jussi Kansanen [this message]
2022-06-02 14:33 ` Lucas Rückert
2022-06-06 11:19 ` David Sterba
[not found] <7dd23222-1f85-2313-b708-fe00b1349799@gmx.de>
2022-05-31 20:05 ` Lucas Rückert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d26ecc30-409a-ad22-74cb-39da3d83b6f9@gmail.com \
--to=jussi.kansanen@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lucas.rueckert@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox