All of lore.kernel.org
 help / color / mirror / Atom feed
* ENOSPC during balance
@ 2014-01-12 14:49 Remco Hosman - Yerf IT
  2014-01-13  7:11 ` Wang Shilong
  2014-01-13 17:43 ` David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: Remco Hosman - Yerf IT @ 2014-01-12 14:49 UTC (permalink / raw)
  To: linux-btrfs

HI,

I am trying to convert my array from raid10 to 1, and its partially completed, but at the moment i am getting a '59366.459092] btrfs: 185 enospc errors during balance’ when i try to balance anything more with `btrfs bal start -dconvert=raid1,soft /mountpoint`

I have already scanned for files with extends over 1gig gig, and there is at least 100gig unallocated on each of the disks, and scrub reports no error at all.
Kernel is 3.13-rc7 and tools are latest from git.

Anything else i can try ?

Thanks,
Remco

^ permalink raw reply	[flat|nested] 5+ messages in thread
* ENOSPC during balance
@ 2013-05-05  9:42 Helmut Hullen
  0 siblings, 0 replies; 5+ messages in thread
From: Helmut Hullen @ 2013-05-05  9:42 UTC (permalink / raw)
  To: linux-btrfs

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

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

end of thread, other threads:[~2014-01-18  7:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2013-05-05  9:42 Helmut Hullen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.