linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No space left on device
@ 2008-12-08  9:46 Gabor MICSKO
  2008-12-08 14:02 ` dcg
  0 siblings, 1 reply; 32+ messages in thread
From: Gabor MICSKO @ 2008-12-08  9:46 UTC (permalink / raw)
  To: linux-btrfs

hi,

I have an 80GB external HDD with one btrfs partition. Latest kernel
module and btrfs-progs from "unstable" git repos.

# mount
[...]
/dev/sdb1 on /media/coolermaster type btrfs (rw)

# df -h
[...]
/dev/sdb1              75G   61G   15G  81% /media/coolermaster

It seems like i have 15GB free space on the btrfs formatted partition,
but when i try to create a file of 4GB on the btrfs filesystem i get the
following error:

root@alderaan:/media/coolermaster/tmp# dd if=/dev/zero of=foobar.img
bs=1024 count=4000K
dd: writing `foobar.img': No space left on device
3372894+0 records in
3372893+0 records out
3453842432 bytes (3.5 GB) copied, 321.087 s, 10.8 MB/s

syslog:

Dec  8 10:35:46 alderaan kernel: [30716.434747] device fsid
46489b7e62f254e0-e306291dd7724d8f devid 1 transid 283 /dev/sdb1
Dec  8 10:35:50 alderaan kernel: [30720.457774] space info full 36

Am i missing something (e.g. reserved space for root, etc.) obvious
here?

Thanks,

--
mg



^ permalink raw reply	[flat|nested] 32+ messages in thread
* no space left on device
@ 2010-07-30  5:31 Lubos Kolouch
       [not found] ` <AANLkTikBRfR45DZxZW9LM6wnREWrbysPCr9Z1d3YuYhC@mail.gmail.com>
  0 siblings, 1 reply; 32+ messages in thread
From: Lubos Kolouch @ 2010-07-30  5:31 UTC (permalink / raw)
  To: linux-btrfs

Hello,

kerner 2.6.35-rc6

btrfs filesystem df /home 
Data: total=1.68TB, used=987.62GB
Metadata: total=56.01GB, used=48.16GB
System: total=12.00MB, used=200.00KB

touch: cannot touch `/home/x': No space left on device

Any ideas what I should do?

Thank you

Lubos


^ permalink raw reply	[flat|nested] 32+ messages in thread
* no space left on device
@ 2011-02-07 21:21 Leonidas Spyropoulos
  2011-02-07 21:27 ` Erik Logtenberg
  2011-02-08  0:09 ` C Anthony Risinger
  0 siblings, 2 replies; 32+ messages in thread
From: Leonidas Spyropoulos @ 2011-02-07 21:21 UTC (permalink / raw)
  To: linux-btrfs

Hey all,

I run into no space left on device on a virtualbox

After installing Debian 6 on a virtual machine
I tried installing the KDE desktop

The system HDD is 8Gb
Both root (/) and /home are btrfs
over LVM.

While installing the packages I run into:

no space left, need 4096, 4096 dealloc bytes, 1776283648 bytes_used, 0
bytes_reserved,
0 bytes_pinned, 0 bytes_readonly, 0 may use 1776287744 total

df shows only 74% used space on /

kernel used: stock debian 6 2.6.32-5-686

At the moment I cannot access it with normal boot, only recovery mode.

I can provide whatever info you would like as long as you think of a
way to load the normal system and not the recovery mode.




-- 
Caution: breathing may be hazardous to your health.

^ permalink raw reply	[flat|nested] 32+ messages in thread
[parent not found: <AANLkTinH225vC8fRbA7zk_iOEmyADFZMBS6b7gx1tOxm@mail.gmail.com>]
* no space left on device
@ 2012-08-03 10:05 Mark Marshall
  2012-08-04  9:14 ` Chris Samuel
  2012-08-04  9:26 ` Martin Steigerwald
  0 siblings, 2 replies; 32+ messages in thread
From: Mark Marshall @ 2012-08-03 10:05 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I am new to btrfs, and just installed a new system with SLED 11 SP2 a
few days ago.

However the system seems to be in a real sad state now, saying there
is no free space left on the device even though there is about 8GB
left on the / filesystem.

A defragment works sometimes but then it goes back to the original
state a day or two later. Other times the command just won't respond.

I've had this happen with 2-3 systems now, is there a solution? I
can't keep going around to users machines and defragmenting all the
time !

Thanks,

Mark

^ permalink raw reply	[flat|nested] 32+ messages in thread
* no space left on device.
@ 2012-11-01 13:35 Kenneth Johansson
  2012-11-02 15:54 ` Kyle Gates
  0 siblings, 1 reply; 32+ messages in thread
From: Kenneth Johansson @ 2012-11-01 13:35 UTC (permalink / raw)
  To: linux-btrfs

So I have ended up in a state where I can't delete files with rm.

the error I get is no space on device. however I'm not even close to empty.
/dev/sdb1 38G 27G 9.5G 75%
there is about 800k files/dirs in this filesystem

extra strange is that I can in another directory create and delete files.

So I tried pretty much all I could google my way to but problem 
persisted. So I decided to do a backup and a format. But when the backup 
was done I tried one more time and now it was possible to delete the 
directory and all content?

using the 3.5 kernel in ubuntu 12.10. Is this a known issue ? is it 
fixed in later kernels?

fsck /btrfs scrub and kernel log. nothing indicate any problem of any kind.


^ permalink raw reply	[flat|nested] 32+ messages in thread
* No space left on device
@ 2014-02-12  9:51 Jakob Truelsen
  2014-02-12 10:26 ` Hugo Mills
  2014-02-12 10:34 ` Leonidas Spyropoulos
  0 siblings, 2 replies; 32+ messages in thread
From: Jakob Truelsen @ 2014-02-12  9:51 UTC (permalink / raw)
  To: linux-btrfs

Hello. I am experiencing "No space left on device" with a btrfs file
system, yet I cannot seem to find any exhausted resource. Could some
resource I do not know about be exhausted, or is this caused by
something else. Below is a trace of information that might be usefull,
please let me know if there is anything I can do to resolve the issue.

/Jakob

[jakobt@soda ~]$ uname -a
Linux soda 3.12.8-1-ARCH #1 SMP PREEMPT Thu Jan 16 09:16:34 CET 2014
x86_64 GNU/Linux

[jakobt@soda ~]$ btrfs --version
Btrfs v3.12

[jakobt@soda ~]$ mount
...
/dev/sda on /data type btrfs (rw,relatime,nospace_cache)

[jakobt@soda ~]$ df /data
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdb2       76594224 49247368  23433028  68% /

[jakobt@soda ~]$ btrfs filesystem df /data
Data, single: total=1.82TiB, used=518.04GiB
System, DUP: total=8.00MiB, used=204.00KiB
System, single: total=4.00MiB, used=0.00
Metadata, DUP: total=1.00GiB, used=767.70MiB
Metadata, single: total=8.00MiB, used=0.00

[jakobt@soda ~]$ touch /data/jakobt/hat
touch: cannot touch ‘/data/jakobt/hat’: No space left on device

[jakobt@soda ~]$ sudo btrfs fi balance start /data
ERROR: error during balancing '/data' - No space left on device
There may be more info in syslog - try dmesg | tail

[jakobt@soda ~]$ dmesg | grep tail -n 2
[1113177.878157] btrfs: device label Data devid 1 transid 44784 /dev/sda
[1113507.641752] btrfs: 1866 enospc errors during balance

[jakobt@soda ~]$ sudo umount /data

[jakobt@soda ~]$ sudo btrfsck /dev/sda
...
cache and super generation don't match, space cache will be invalidated
..
found 172181366447 bytes used err is 0
total csum bytes: 418841160
total tree bytes: 805187584
total fs tree bytes: 247164928
total extent tree bytes: 26329088
btree space waste bytes: 164771401
file data blocks allocated: 561564688384
 referenced 511759908864
Btrfs v3.12

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2014-02-12 11:08 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08  9:46 No space left on device Gabor MICSKO
2008-12-08 14:02 ` dcg
  -- strict thread matches above, loose matches on Subject: below --
2010-07-30  5:31 no " Lubos Kolouch
     [not found] ` <AANLkTikBRfR45DZxZW9LM6wnREWrbysPCr9Z1d3YuYhC@mail.gmail.com>
2010-07-30 12:27   ` Lubos Kolouch
     [not found]     ` <AANLkTinBj1O-LapAeBCT2Y3A1ZhfFZ3AotCk6SZ-e-2U@mail.gmail.com>
2010-07-30 14:30       ` Leonidas Spyropoulos
2010-07-30 15:02         ` Lubos Kolouch
2010-07-30 15:09           ` Lubos Kolouch
2010-08-14 20:15             ` Lubos Kolouch
2011-02-07 21:21 Leonidas Spyropoulos
2011-02-07 21:27 ` Erik Logtenberg
2011-02-07 23:58   ` Robert G.
2011-02-08  0:09 ` C Anthony Risinger
     [not found] <AANLkTinH225vC8fRbA7zk_iOEmyADFZMBS6b7gx1tOxm@mail.gmail.com>
2011-02-08  9:00 ` Leonidas Spyropoulos
2011-02-08  9:31   ` cwillu
2011-02-08 10:08     ` Leonidas Spyropoulos
2011-02-08 13:19       ` Helmut Hullen
2011-02-08 18:56         ` Erik Logtenberg
2011-02-08 19:43           ` Helmut Hullen
2011-02-12 14:11             ` Erik Logtenberg
2011-02-08 20:36           ` Helmut Hullen
2012-08-03 10:05 Mark Marshall
2012-08-04  9:14 ` Chris Samuel
2012-08-04  9:26 ` Martin Steigerwald
2012-11-01 13:35 Kenneth Johansson
2012-11-02 15:54 ` Kyle Gates
2012-11-02 15:59   ` Hugo Mills
2012-11-06 13:23   ` Kenneth Johansson
2014-02-12  9:51 No " Jakob Truelsen
2014-02-12 10:26 ` Hugo Mills
2014-02-12 10:45   ` Jakob Truelsen
2014-02-12 11:07     ` Hugo Mills
2014-02-12 10:34 ` Leonidas Spyropoulos

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).