Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Hullen@t-online.de (Helmut Hullen)
To: linux-btrfs@vger.kernel.org
Subject: ENOSPC during balance
Date: 05 May 2013 11:42:00 +0200	[thread overview]
Message-ID: <CWIRQXl9CXB@helmut.hullen.de> (raw)

Hallo,

I've added a fourth device (/dev/sdf1; connected via USB) to my 3-disks- 
btrfs bundle (data raid0, metadata raid1), and then I run "balance".

That needed (for about 6 TByte data) about 17 hours.

It finished with

ERROR: error during balancing '/srv/MM' - No space left on device
There may be more info in syslog - try dmesg | tail

The last lines of "dmesg":

btrfs: found 227973 extents
btrfs: relocating block group 26872905728 flags 20
btrfs: found 217765 extents
btrfs: relocating block group 22577938432 flags 20
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
usb 1-1: reset high-speed USB device number 3 using ehci-pci
btrfs: found 226454 extents
btrfs: relocating block group 21504196608 flags 20
btrfs: found 229068 extents
btrfs: relocating block group 4324327424 flags 20
btrfs: found 214531 extents
btrfs: relocating block group 20971520 flags 18
btrfs: found 92 extents
btrfs: relocating block group 4194304 flags 4
btrfs: 1 enospc errors during balance

What does the last line mean? Is there 1 error during the 17 hours of  
balancing? Or has balance ended with "enospc"?

The actual state:

Commands

        btrfs fi show
        df


Label: 'MM'  uuid: 7e94022a-76e7-47f8-954d-1ad69a872bef
	Total devices 4 FS bytes used 6.10TB
	devid    4 size 1.82TB used 650.03GB path /dev/sdf1
	devid    3 size 2.73TB used 1.91TB path /dev/sdd
	devid    2 size 1.82TB used 1.68TB path /dev/sdc
	devid    1 size 2.73TB used 1.91TB path /dev/sdb

Btrfs Btrfs v0.19

Filesystem             1K-blocks       Used  Available Use% Mounted on
[...]
/dev/sdb              9767561292 6554878088 2815565072  70% /srv/MM


Viele Gruesse!
Helmut

             reply	other threads:[~2013-05-05  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-05  9:42 Helmut Hullen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-01-12 14:49 ENOSPC during balance Remco Hosman - Yerf IT
2014-01-13  7:11 ` Wang Shilong
2014-01-13 17:43 ` David Sterba
2014-01-18  7:54   ` Remco Hosman - Yerf IT

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=CWIRQXl9CXB@helmut.hullen.de \
    --to=hullen@t-online.de \
    --cc=helmut@hullen.de \
    --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