* cannot remove files: No space left on device
@ 2011-06-11 23:32 Tomasz Chmielewski
2011-06-12 8:31 ` Mike Fleetwood
[not found] ` <BANLkTinUKfYwGT0iaig5072bQ33AgRuQ5g@mail.gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Tomasz Chmielewski @ 2011-06-11 23:32 UTC (permalink / raw)
To: linux-btrfs
I'm trying to remove some files on a btrfs filesystem which has 26 GB free:
/dev/sdb4 336G 310G 26G 93% /mnt/btrfs
Unfortunately, removing some of the files fails, due to "No space left 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
http://wpkg.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cannot remove files: No space left on device
2011-06-11 23:32 cannot remove files: No space left on device Tomasz Chmielewski
@ 2011-06-12 8:31 ` Mike Fleetwood
[not found] ` <BANLkTinUKfYwGT0iaig5072bQ33AgRuQ5g@mail.gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Mike Fleetwood @ 2011-06-12 8:31 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cannot remove files: No space left on device
[not found] ` <BANLkTinUKfYwGT0iaig5072bQ33AgRuQ5g@mail.gmail.com>
@ 2011-06-12 9:48 ` Tomasz Chmielewski
0 siblings, 0 replies; 3+ messages in thread
From: Tomasz Chmielewski @ 2011-06-12 9:48 UTC (permalink / raw)
To: Mike Fleetwood, linux-btrfs
On 12.06.2011 10:27, Mike Fleetwood wrote:
> 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.
Yes, I know this FAQ.
I've deleted around 40 GB files, but still occasionally see "No space
left on device" when removing files, or when copying new files to btrfs
filesystem (i.e. copying one file fails with "No space left on the
device", while there is ~70 GB free on btrfs filesystem; and copying
some other files, with similar or bigger size, succeeds).
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-12 9:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11 23:32 cannot remove files: No space left on device Tomasz Chmielewski
2011-06-12 8:31 ` Mike Fleetwood
[not found] ` <BANLkTinUKfYwGT0iaig5072bQ33AgRuQ5g@mail.gmail.com>
2011-06-12 9:48 ` Tomasz Chmielewski
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).