cannot remove files: No space left on device
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.
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org
Quoted 1 line · Tomasz Chmielewski
I'm trying to remove some files on a btrfs filesystem which has 26 GB=
free:
Quoted 2 lines
/dev/sdb4=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 336G =C2=A0310G =C2=
=A0 26G =C2=A093% /mnt/btrfs
Quoted 3 lines
Unfortunately, removing some of the files fails, due to "No space lef=
t on device":
Quoted 5 lines
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
Quoted 8 lines
removed
postgresql-noindex/postgresql/8.4/main/base/16384/16508.9' removedpostgresql-noindex/postgresql/8.4/main/base/16384/16508_fsm' removedpostgresql-noindex/postgresql/8.4/main/base/16384/16511' removedpostgresql-noindex/postgresql/8.4/main/base/16384/16513' removedpostgresql-noindex/postgresql/8.4/main/base/16384/16516' removedpostgresql-noindex/postgresql/8.4/main/base/16384/16516_fsm' removed `postgresql-noindex/postgresql/8.4/main/base/16384/16521'
Quoted 6 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Mike Fleetwood
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.3Fand try these command too:
btrfs filesystem df/mnt/btrfs
btrfs filesystem show/dev/sdb4I'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).
Signature · 2 lines
Tomasz Chmielewski http://wpkg.org