linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No space left on device, problem
@ 2013-10-26 19:46 Igor M
  2013-10-26 21:00 ` Igor M
  2013-10-26 21:35 ` Chris Murphy
  0 siblings, 2 replies; 20+ messages in thread
From: Igor M @ 2013-10-26 19:46 UTC (permalink / raw)
  To: linux-btrfs

Hello,

I just upgraded kernel to 3.11.6 added new disk and created btrfs:

# mkfs.btrfs /dev/sdb
# mount -t btrfs -o compress=lzo,compress-force=lzo /dev/sdb
/usr/local/mysql/data

I started copying files from old disk and then I got 'No space left on
device', but there is a lot of space.

# df -h
Filesystem                Size  Used Avail Use% Mounted on
/dev/sdb                  2.8T  110G  2.7T   4% /usr/local/mysql/data

# btrfs fi show
Label: none  uuid: c0bfcb22-8b7c-4936-afcd-7acdf58f1d6c
        Total devices 1 FS bytes used 108.68GB
        devid    1 size 2.73TB used 113.04GB path /dev/sdb

# btrfs fi df /usr/local/mysql/data
Data: total=111.01GB, used=108.25GB
System, DUP: total=8.00MB, used=20.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=1.00GB, used=441.91MB
Metadata: total=8.00MB, used=0.00

I tried balance from FAQ:

# btrfs fi balance start -dusage=5 /usr/local/mysql/data
Done, had to relocate 4 out of 117 chunks


But it doesn't help. When I try to copy file there is still 'No space
left on device'.

What to do ?


Regards,

Igor

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: No space left on device, problem
@ 2013-10-27  1:00 Tomasz Chmielewski
  2013-10-27  8:50 ` Igor M
  0 siblings, 1 reply; 20+ messages in thread
From: Tomasz Chmielewski @ 2013-10-27  1:00 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org, igork20

> Still no messages. Parameter seems to be active as
> /sys/module/printk/parameters/ignore_loglevel is Y, but there are no
> messages in log files or dmesg. Maybe I need to turn on some kernel
> debugging option and recompile kernel ?
> Also I should mention that cca 230G+ data was copied before this error
> started to occur.

I think I saw a similar issue before.

Can you try using rsync with "--bwlimit XY" option to copy the files?

The option will limit the speed, in kB, at which the file is being
copied; it will work even when source and destination files are on a
local machine.


-- 
Tomasz Chmielewski
http://wpkg.org

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

end of thread, other threads:[~2013-10-28 19:15 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-26 19:46 No space left on device, problem Igor M
2013-10-26 21:00 ` Igor M
2013-10-26 21:35 ` Chris Murphy
2013-10-26 21:53   ` Igor M
2013-10-26 22:17     ` Chris Murphy
2013-10-26 22:22       ` Igor M
2013-10-26 22:50         ` Igor M
2013-10-26 22:54           ` Igor M
  -- strict thread matches above, loose matches on Subject: below --
2013-10-27  1:00 Tomasz Chmielewski
2013-10-27  8:50 ` Igor M
2013-10-27  8:56   ` Brendan Hide
2013-10-27  9:18     ` Igor M
2013-10-27 21:53   ` Igor M
2013-10-27 22:46     ` Chris Murphy
2013-10-27 23:27       ` Chris Murphy
2013-10-28  7:40         ` Igor M
2013-10-28 17:57           ` Chris Murphy
2013-10-28 19:07             ` Igor M
2013-10-28 19:05   ` Josef Bacik
2013-10-28 19:15     ` Igor M

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