linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingyun He <jingyun.ho@gmail.com>
To: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
Cc: "dsterba@suse.cz" <dsterba@suse.cz>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: unable to use all spaces
Date: Sat, 18 Dec 2021 01:57:04 +0800	[thread overview]
Message-ID: <CAHQ7scWwFxXCexCx-Sm4J6uujzv24gWXuMzvq-0qC2dgC_HZQg@mail.gmail.com> (raw)
In-Reply-To: <PH0PR04MB741678D21AA0328B07AD69689B789@PH0PR04MB7416.namprd04.prod.outlook.com>

Hello,
Here is output of fi usage:

Overall:
    Device size:   14.55TiB
    Device allocated:   14.55TiB
    Device unallocated:   1.75GiB
    Device missing:     0.00B
    Device zone unusable:     0.00B
    Device zone size:     0.00B
    Used:   14.42TiB
    Free (estimated): 129.49GiB (min: 129.49GiB)
    Free (statfs, df): 129.49GiB
    Data ratio:       1.00
    Metadata ratio:       1.00
    Global reserve: 512.00MiB (used: 112.00KiB)
    Multiple profiles:         no
Data,single: Size:14.53TiB, Used:14.41TiB (99.14%)
   /dev/sds   14.53TiB
Metadata,single: Size:18.00GiB, Used:14.75GiB (81.95%)
   /dev/sds   18.00GiB
System,single: Size:256.00MiB, Used:6.05MiB (2.36%)
   /dev/sds 256.00MiB
Unallocated:
   /dev/sds   1.75GiB

And I'm unable to add another file at 30GiB.
Do you have any advice?

BTW,
blkzone report /dev/sds
returns:
"blkzone: /dev/sds: unable to determine zone size"

Thank you.

On Fri, Dec 17, 2021 at 3:51 PM Johannes Thumshirn
<Johannes.Thumshirn@wdc.com> wrote:
>
> On 15/12/2021 16:51, David Sterba wrote:
> > On Wed, Dec 15, 2021 at 10:31:13PM +0800, Jingyun He wrote:
> >> Hello,
> >> I have a 14TB WDC HM-SMR disk formatted with BTRFS,
> >> It looks like I'm unable to fill the disk full.
> >> E.g. btrfs fi usage /disk1/
> >> Free (estimated): 128.95GiB (min: 128.95GiB)
> >>
> >> It still has 100+GB available
> >> But I'm unable to put more files.
> >
> > We'd need more information to diagnose that, eg. output of 'btrfs fi df'
> > to see if eg. the metadata space is not exhausted or if the remaining
> > 128G account for the unusable space in the zones (this is also in the
> > 'fi df' output).
>
> Can you also share the output of 'blkzone report /dev/sdX'?
>
>
> Thanks a lot,
>         Johannes

  reply	other threads:[~2021-12-17 17:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 14:31 unable to use all spaces Jingyun He
2021-12-15 15:50 ` David Sterba
2021-12-15 23:58   ` Qu Wenruo
2021-12-21  3:38     ` Zygo Blaxell
2021-12-21  4:45       ` Qu Wenruo
2021-12-17  7:50   ` Johannes Thumshirn
2021-12-17  7:51   ` Johannes Thumshirn
2021-12-17 17:57     ` Jingyun He [this message]
2021-12-17 18:00       ` Jingyun He
2021-12-19 18:04         ` Jingyun He
2021-12-20  3:06           ` Jingyun He

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=CAHQ7scWwFxXCexCx-Sm4J6uujzv24gWXuMzvq-0qC2dgC_HZQg@mail.gmail.com \
    --to=jingyun.ho@gmail.com \
    --cc=Johannes.Thumshirn@wdc.com \
    --cc=dsterba@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).