From: Mike Fleetwood <mike.fleetwood@googlemail.com>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: cannot remove files: No space left on device
Date: Sun, 12 Jun 2011 09:31:27 +0100 [thread overview]
Message-ID: <BANLkTikprQh1qEUQFJaPHE6hGvKxgqX33w@mail.gmail.com> (raw)
In-Reply-To: <4DF3FB15.1040108@wpkg.org>
On 12 June 2011 00:32, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
> I'm trying to remove some files on a btrfs filesystem which has 26 GB=
free:
>
> /dev/sdb4 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 336G =C2=A0310G =C2=
=A0 26G =C2=A093% /mnt/btrfs
>
>
> Unfortunately, removing some of the files fails, due to "No space lef=
t on device":
>
> root@dom:/mnt/btrfs# rm -rfv postgresql-noindex
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16508.6'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16508.7'
> rm: cannot remove `postgresql-noindex/postgresql/8.4/main/base/16384/=
16508.8': No space left on device
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16508.9'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16508_fsm'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16511'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16513'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16516'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16516_fsm'
> removed `postgresql-noindex/postgresql/8.4/main/base/16384/16521'
>
> This is a snapshot of a different directory (with some changes).
>
> Is it expected? I'm running 2.6.39.1 kernel.
>
> --
> Tomasz Chmielewski
Check out the btrfs FAQ about space usage:
https://btrfs.wiki.kernel.org/index.php/FAQ#Why_are_there_so_many_ways=
_to_check_the_amount_of_free_space.3F
and try these command too:
btrfs filesystem df /mnt/btrfs
btrfs filesystem show /dev/sdb4
I'm no btrfs expert but it's worth trying to delete one file and
syncing the fs, then repeating.
Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-06-12 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-11 23:32 cannot remove files: No space left on device Tomasz Chmielewski
2011-06-12 8:31 ` Mike Fleetwood [this message]
[not found] ` <BANLkTinUKfYwGT0iaig5072bQ33AgRuQ5g@mail.gmail.com>
2011-06-12 9:48 ` Tomasz Chmielewski
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=BANLkTikprQh1qEUQFJaPHE6hGvKxgqX33w@mail.gmail.com \
--to=mike.fleetwood@googlemail.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;
as well as URLs for NNTP newsgroup(s).