linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issue: errno:28 (No space left on device)
@ 2016-08-09  9:06 Thomas
  2016-08-09 16:50 ` Chris Murphy
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas @ 2016-08-09  9:06 UTC (permalink / raw)
  To: linux-btrfs

Hello!

I'm facing a severe issue with Debian installation using BTRFS:
errno:28 (No space left on device)

After a few minutes of system usage I get this error message for any action, means there's really no disk space left.

However, the output of btrfs fi usage / reports that ~10% of disk space should be free.

I have 2 questions:
1. Why is the OS reporting an error "Issue: errno:28 (No space left on device)" whereas "btrfs fi usage" reports free space?
2. How can I solve this issue w/o the possibility of extending the partition?


THX

---------------------------------------------------------------------------------------

thomas@pc8-nb:~$ uname -a
Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 (2016-06-04) x86_64 GNU/Linux


thomas@pc8-nb:~$ sudo btrfs --version
btrfs-progs v4.5.2


thomas@pc8-nb:~$ sudo btrfs fi usage /
Overall:
     Device size:		  20.53GiB
     Device allocated:		  20.53GiB
     Device unallocated:		     0.00B
     Device missing:		     0.00B
     Used:			  18.25GiB
     Free (estimated):		   1.96GiB	(min: 1.96GiB)
     Data ratio:			      1.00
     Metadata ratio:		      1.00
     Global reserve:		 160.00MiB	(used: 400.00KiB)

Data,single: Size:19.76GiB, Used:17.81GiB
    /dev/sda8	  19.76GiB

Metadata,single: Size:776.00MiB, Used:455.73MiB
    /dev/sda8	 776.00MiB

System,single: Size:4.00MiB, Used:16.00KiB
    /dev/sda8	   4.00MiB

Unallocated:
    /dev/sda8	     0.00B


thomas@pc8-nb:~$ sudo btrfs fi show
Label: 'siduction'  uuid: dbb9433e-a84f-4e84-9200-49350b31a3f6
	Total devices 1 FS bytes used 18.25GiB
	devid    1 size 20.53GiB used 20.53GiB path /dev/sda8


thomas@pc8-nb:~$ sudo btrfs su li /
ID 257 gen 5498245 top level 5 path @
ID 258 gen 5498245 top level 5 path @home
ID 259 gen 5488356 top level 5 path @tmp
ID 260 gen 2029641 top level 5 path @var_lib_lxc
ID 261 gen 5480763 top level 5 path @var_log
ID 262 gen 5467204 top level 5 path @var_spool
ID 263 gen 5467205 top level 5 path @var_tmp
ID 290 gen 5464299 top level 257 path .snapshots
ID 291 gen 2026169 top level 258 path @home/.snapshots
ID 293 gen 2029641 top level 260 path @var_lib_lxc/.snapshots
ID 355 gen 163972 top level 290 path .snapshots/17/snapshot
ID 356 gen 167205 top level 290 path .snapshots/18/snapshot
ID 357 gen 5383634 top level 5 path @var_cache_apt_archives
ID 358 gen 5464163 top level 290 path .snapshots/19/snapshot


thomas@pc8-nb:~$ sudo journalctl | grep space
[...]
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: [Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: [Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: [Errno 28] No space left on device
[...]
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://ftp.fau.de/debian/dists/stable/main/Contents-i386  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://debian.mirror.lrz.de/debian/dists/stable/contrib/binary-i386/Packages.gz  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://debian.mirror.lrz.de/debian/dists/stable/contrib/i18n/Translation-en  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-amd64  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-i386  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-amd64/Packages.gz  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-i386/Packages.gz  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://debian.mirror.lrz.de/debian/dists/stable/non-free/i18n/Translation-en  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://mirror.unitedcolo.de/debian/dists/stable/non-free/Contents-amd64  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch http://ftp.fau.de/debian/dists/stable/non-free/Contents-i386  Write error - write (28: No space left on device)
[...]


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Issue: errno:28 (No space left on device)
@ 2016-08-09  9:09 Thomas
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas @ 2016-08-09  9:09 UTC (permalink / raw)
  To: linux-btrfs

Hello!

I'm facing a severe issue with Debian installation using BTRFS:
errno:28 (No space left on device)

After a few minutes of system usage I get this error message for any 
action, means there's really no disk space left.

However, the output of btrfs fi usage / reports that ~10% of disk space 
should be free.

I have 2 questions:
1. Why is the OS reporting an error "Issue: errno:28 (No space left on 
device)" whereas "btrfs fi usage" reports free space?
2. How can I solve this issue w/o the possibility of extending the 
partition?


THX

---------------------------------------------------------------------------------------

thomas@pc8-nb:~$ uname -a
Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 
(2016-06-04) x86_64 GNU/Linux


thomas@pc8-nb:~$ sudo btrfs --version
btrfs-progs v4.5.2


thomas@pc8-nb:~$ sudo btrfs fi usage /
Overall:
      Device size:		  20.53GiB
      Device allocated:		  20.53GiB
      Device unallocated:		     0.00B
      Device missing:		     0.00B
      Used:			  18.25GiB
      Free (estimated):		   1.96GiB	(min: 1.96GiB)
      Data ratio:			      1.00
      Metadata ratio:		      1.00
      Global reserve:		 160.00MiB	(used: 400.00KiB)

Data,single: Size:19.76GiB, Used:17.81GiB
     /dev/sda8	  19.76GiB

Metadata,single: Size:776.00MiB, Used:455.73MiB
     /dev/sda8	 776.00MiB

System,single: Size:4.00MiB, Used:16.00KiB
     /dev/sda8	   4.00MiB

Unallocated:
     /dev/sda8	     0.00B


thomas@pc8-nb:~$ sudo btrfs fi show
Label: 'siduction'  uuid: dbb9433e-a84f-4e84-9200-49350b31a3f6
	Total devices 1 FS bytes used 18.25GiB
	devid    1 size 20.53GiB used 20.53GiB path /dev/sda8


thomas@pc8-nb:~$ sudo btrfs su li /
ID 257 gen 5498245 top level 5 path @
ID 258 gen 5498245 top level 5 path @home
ID 259 gen 5488356 top level 5 path @tmp
ID 260 gen 2029641 top level 5 path @var_lib_lxc
ID 261 gen 5480763 top level 5 path @var_log
ID 262 gen 5467204 top level 5 path @var_spool
ID 263 gen 5467205 top level 5 path @var_tmp
ID 290 gen 5464299 top level 257 path .snapshots
ID 291 gen 2026169 top level 258 path @home/.snapshots
ID 293 gen 2029641 top level 260 path @var_lib_lxc/.snapshots
ID 355 gen 163972 top level 290 path .snapshots/17/snapshot
ID 356 gen 167205 top level 290 path .snapshots/18/snapshot
ID 357 gen 5383634 top level 5 path @var_cache_apt_archives
ID 358 gen 5464163 top level 290 path .snapshots/19/snapshot


thomas@pc8-nb:~$ sudo journalctl | grep space
[...]
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
[...]
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://ftp.fau.de/debian/dists/stable/main/Contents-i386  Write error - 
write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/binary-i386/Packages.gz 
  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/i18n/Translation-en 
  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-amd64 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-i386 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-amd64/Packages.gz 
  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-i386/Packages.gz 
  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/non-free/i18n/Translation-en 
  Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/Contents-amd64 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://ftp.fau.de/debian/dists/stable/non-free/Contents-i386  Write 
error - write (28: No space left on device)
[...]


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Issue: errno:28 (No space left on device)
@ 2016-08-09 11:50 Thomas
  2016-08-09 12:21 ` Tomasz Torcz
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Thomas @ 2016-08-09 11:50 UTC (permalink / raw)
  To: linux-btrfs

Hello!

I'm facing a severe issue with Debian installation using BTRFS:
errno:28 (No space left on device)

After a few minutes of system usage I get this error message for any 
action, means there's really no disk space left.

However, the output of btrfs fi usage / reports that ~10% of disk space 
should be free.

I have 2 questions:
1. Why is the OS reporting an error "Issue: errno:28 (No space left on 
device)" whereas "btrfs fi usage" reports free space?
2. How can I solve this issue w/o the possibility of extending the 
partition?


THX

---------------------------------------------------------------------------------------

thomas@pc8-nb:~$ uname -a
Linux pc8-nb 4.6.1-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.6-1 
(2016-06-04) x86_64 GNU/Linux


thomas@pc8-nb:~$ sudo btrfs --version
btrfs-progs v4.5.2


thomas@pc8-nb:~$ sudo btrfs fi usage /
Overall:
       Device size:		  20.53GiB
       Device allocated:		  20.53GiB
       Device unallocated:		     0.00B
       Device missing:		     0.00B
       Used:			  18.25GiB
       Free (estimated):		   1.96GiB	(min: 1.96GiB)
       Data ratio:			      1.00
       Metadata ratio:		      1.00
       Global reserve:		 160.00MiB	(used: 400.00KiB)

Data,single: Size:19.76GiB, Used:17.81GiB
      /dev/sda8	  19.76GiB

Metadata,single: Size:776.00MiB, Used:455.73MiB
      /dev/sda8	 776.00MiB

System,single: Size:4.00MiB, Used:16.00KiB
      /dev/sda8	   4.00MiB

Unallocated:
      /dev/sda8	     0.00B


thomas@pc8-nb:~$ sudo btrfs fi show
Label: 'siduction'  uuid: dbb9433e-a84f-4e84-9200-49350b31a3f6
	Total devices 1 FS bytes used 18.25GiB
	devid    1 size 20.53GiB used 20.53GiB path /dev/sda8


thomas@pc8-nb:~$ sudo btrfs su li /
ID 257 gen 5498245 top level 5 path @
ID 258 gen 5498245 top level 5 path @home
ID 259 gen 5488356 top level 5 path @tmp
ID 260 gen 2029641 top level 5 path @var_lib_lxc
ID 261 gen 5480763 top level 5 path @var_log
ID 262 gen 5467204 top level 5 path @var_spool
ID 263 gen 5467205 top level 5 path @var_tmp
ID 290 gen 5464299 top level 257 path .snapshots
ID 291 gen 2026169 top level 258 path @home/.snapshots
ID 293 gen 2029641 top level 260 path @var_lib_lxc/.snapshots
ID 355 gen 163972 top level 290 path .snapshots/17/snapshot
ID 356 gen 167205 top level 290 path .snapshots/18/snapshot
ID 357 gen 5383634 top level 5 path @var_cache_apt_archives
ID 358 gen 5464163 top level 290 path .snapshots/19/snapshot


thomas@pc8-nb:~$ sudo journalctl | grep space
[...]
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
Jun 16 17:52:39 pc8-nb unattended-upgrade-shutdown[13530]: OSError: 
[Errno 28] No space left on device
[...]
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://ftp.fau.de/debian/dists/stable/main/Contents-i386  Write error - 
write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/binary-i386/Packages.gz 
   Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/i18n/Translation-en 
   Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-amd64 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/contrib/Contents-i386 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-amd64/Packages.gz 
   Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/binary-i386/Packages.gz 
   Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://debian.mirror.lrz.de/debian/dists/stable/non-free/i18n/Translation-en 
   Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://mirror.unitedcolo.de/debian/dists/stable/non-free/Contents-amd64 
Write error - write (28: No space left on device)
Jul 17 04:43:02 pc8-nb cron-apt[2658]: E: Failed to fetch 
http://ftp.fau.de/debian/dists/stable/non-free/Contents-i386  Write 
error - write (28: No space left on device)
[...]


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

end of thread, other threads:[~2016-08-09 16:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09  9:06 Issue: errno:28 (No space left on device) Thomas
2016-08-09 16:50 ` Chris Murphy
  -- strict thread matches above, loose matches on Subject: below --
2016-08-09  9:09 Thomas
2016-08-09 11:50 Thomas
2016-08-09 12:21 ` Tomasz Torcz
2016-08-09 12:56 ` Austin S. Hemmelgarn
2016-08-09 13:39   ` Noah Massey
2016-08-09 13:56     ` Roman Mamedov
2016-08-09 13:47 ` Josef Bacik

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