All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Jingyun He <jingyun.ho@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: unable to run mkfs.btrfs for host managed sata hdd
Date: Fri, 29 Oct 2021 15:22:32 +0200	[thread overview]
Message-ID: <20211029132232.GA20319@twin.jikos.cz> (raw)
In-Reply-To: <CAHQ7scWxVCuQkbtY_dTo3rPoW+J0ofADW4GYGDMb_bfcha81CA@mail.gmail.com>

On Fri, Oct 29, 2021 at 08:48:45PM +0800, Jingyun He wrote:
> Hello, all
> I have a LSI 2308 HBA in IT mode, and attached a sata host managed disk.
> And run mkfs.btrfs /dev/sdb -O zoned -d single -m single -f
> get following errors:
> btrfs-progs v5.13.1
> ERROR: superblock magic doesn't match
> Resetting device zones /dev/sdb (67056 zones) ...
> ERROR: error during mkfs: Operation not permitted

Can you also reset the zones by 'blkzone reset' under the same user
account that also runs the 'mkfs.btrfs' command?

  reply	other threads:[~2021-10-29 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 12:48 unable to run mkfs.btrfs for host managed sata hdd Jingyun He
2021-10-29 13:22 ` David Sterba [this message]
2021-10-29 13:52   ` Jingyun He
2021-10-29 14:21     ` David Sterba

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=20211029132232.GA20319@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=jingyun.ho@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.