Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Hugo Mills <hugo@carfax.org.uk>
To: "Jakob Schöttl" <jschoett@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Cannot resize filesystem: not enough free space
Date: Sun, 24 Jan 2021 18:28:28 +0000	[thread overview]
Message-ID: <20210124182828.GF4090@savella.carfax.org.uk> (raw)
In-Reply-To: <8735yqw5wm.fsf@gmail.com>

On Sun, Jan 24, 2021 at 07:23:21PM +0100, Jakob Schöttl wrote:
> 
> Help please, increasing the filesystem size doesn't work.
> 
> When mounting my btrfs filesystem, I had errors saying, "no space left
> on device". Now I managed to mount the filesystem with -o skip_balance but:
> 
> # btrfs fi df /mnt
> Data, RAID1: total=147.04GiB, used=147.02GiB
> System, RAID1: total=8.00MiB, used=48.00KiB
> Metadata, RAID1: total=1.00GiB, used=458.84MiB
> GlobalReserve, single: total=181.53MiB, used=0.00B

   Can you show the output of "sudo btrfs fi show" as well?

   Hugo.
 
> It is full and resize doesn't work although both block devices sda and
> sdb have more 250 GB and more nominal capacity (I don't have partitions,
> btrfs is directly on sda and sdb):
> 
> # fdisk -l /dev/sd{a,b}*
> Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
> [...]
> Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors
> [...]
> 
> I tried:
> 
> # btrfs fi resize 230G /mnt
> runs without errors but has no effect
> 
> # btrfs fi resize max /mnt
> runs without errors but has no effect
> 
> # btrfs fi resize +1G /mnt
> ERROR: unable to resize '/mnt': no enough free space
> 
> Any ideas? Thank you!

-- 
Hugo Mills             | Attempted murder, now honestly, what is that? Do
hugo@... carfax.org.uk | they give a Nobel Prize for attempted chemistry?
http://carfax.org.uk/  |
PGP: E2AB1DE4          |                                          Sideshow Bob

  reply	other threads:[~2021-01-24 18:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 18:23 Cannot resize filesystem: not enough free space Jakob Schöttl
2021-01-24 18:28 ` Hugo Mills [this message]
2021-01-24 19:11   ` Jakob Schöttl
2021-01-24 19:46     ` Hugo Mills

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=20210124182828.GF4090@savella.carfax.org.uk \
    --to=hugo@carfax.org.uk \
    --cc=jschoett@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox