All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jingyun He <jingyun.ho@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: unable to run mkfs.btrfs for host managed sata hdd
Date: Fri, 29 Oct 2021 20:48:45 +0800	[thread overview]
Message-ID: <CAHQ7scWxVCuQkbtY_dTo3rPoW+J0ofADW4GYGDMb_bfcha81CA@mail.gmail.com> (raw)

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

the lsscsi shows it is disk, instead of zbc

[6:0:4:0]    disk    ATA      HGST HSH721414AL T10D  /dev/sdb

Can anyone help me with this?

Thanks.

             reply	other threads:[~2021-10-29 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 12:48 Jingyun He [this message]
2021-10-29 13:22 ` unable to run mkfs.btrfs for host managed sata hdd David Sterba
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=CAHQ7scWxVCuQkbtY_dTo3rPoW+J0ofADW4GYGDMb_bfcha81CA@mail.gmail.com \
    --to=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.