Re: Very slow filesystem

2014-06-05 Thread Igor M
(800M) filefrag reports 63282 extents and for ex. 8G file that only have 9 extents read speed is normal. I'll put freqently modified files in directory with NOCOW attribute. Thanks. On Thu, Jun 5, 2014 at 5:05 AM, Duncan 1i5t5.dun...@cox.net wrote: Igor M posted on Thu, 05 Jun 2014 00:15:31 +0200

Re: Very slow filesystem

2014-06-05 Thread Igor M
One more question. Is there any other way to find out file fragmentation ? I just copied 35Gb file on new btrfs filesystem (compressed) and filefrag reports 282275 extents found. This can't be right ? On Thu, Jun 5, 2014 at 5:05 AM, Duncan 1i5t5.dun...@cox.net wrote: Igor M posted on Thu, 05 Jun

Very slow filesystem

2014-06-04 Thread Igor M
Hello, Why btrfs becames EXTREMELY slow after some time (months) of usage ? This is now happened second time, first time I though it was hard drive fault, but now drive seems ok. Filesystem is mounted with compress-force=lzo and is used for MySQL databases, files are mostly big 2G-8G. Copying

Re: Very slow filesystem

2014-06-04 Thread Igor M
On Thu, Jun 5, 2014 at 12:27 AM, Fajar A. Nugraha l...@fajar.net wrote: On Thu, Jun 5, 2014 at 5:15 AM, Igor M igor...@gmail.com wrote: Hello, Why btrfs becames EXTREMELY slow after some time (months) of usage ? # btrfs fi show Label: none uuid: b367812a-b91a-4fb2-a839-a3a153312eba

Re: No space left on device, problem

2013-10-28 Thread Igor M
On Mon, Oct 28, 2013 at 12:27 AM, Chris Murphy li...@colorremedies.com wrote: On Oct 27, 2013, at 4:46 PM, Chris Murphy li...@colorremedies.com wrote: On Oct 27, 2013, at 3:53 PM, Igor M igor...@gmail.com wrote: I made some more tests. Disk is 3TB, first cca 225GB is copied without errors

Re: No space left on device, problem

2013-10-28 Thread Igor M
On Mon, Oct 28, 2013 at 6:57 PM, Chris Murphy li...@colorremedies.com wrote: On Oct 28, 2013, at 1:40 AM, Igor M igor...@gmail.com wrote: dmesg: http://pastebin.com/t2H1QYye You've got a warning related to pcie bridge on boot, with a trace that follows. I don't know if this could

Re: No space left on device, problem

2013-10-28 Thread Igor M
On Mon, Oct 28, 2013 at 8:05 PM, Josef Bacik jba...@fusionio.com wrote: On Sun, Oct 27, 2013 at 09:50:37AM +0100, Igor M wrote: On Sun, Oct 27, 2013 at 2:00 AM, Tomasz Chmielewski t...@virtall.com wrote: Still no messages. Parameter seems to be active as /sys/module/printk/parameters

Re: No space left on device, problem

2013-10-27 Thread Igor M
On Sun, Oct 27, 2013 at 2:00 AM, Tomasz Chmielewski t...@virtall.com wrote: 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

Re: No space left on device, problem

2013-10-27 Thread Igor M
On Sun, Oct 27, 2013 at 9:56 AM, Brendan Hide bren...@swiftspirit.co.za wrote: On 2013/10/27 10:50 AM, Igor M wrote: On Sun, Oct 27, 2013 at 2:00 AM, Tomasz Chmielewski t...@virtall.com wrote: Still no messages. Parameter seems to be active as /sys/module/printk/parameters/ignore_loglevel

Re: No space left on device, problem

2013-10-27 Thread Igor M
. But some of data was on rather slow disk, so maybe that's why no more errors. On Sun, Oct 27, 2013 at 9:50 AM, Igor M igor...@gmail.com wrote: On Sun, Oct 27, 2013 at 2:00 AM, Tomasz Chmielewski t...@virtall.com wrote: Still no messages. Parameter seems to be active as /sys/module/printk

No space left on device, problem

2013-10-26 Thread Igor M
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

Re: No space left on device, problem

2013-10-26 Thread Igor M
Some more info, exact error message is: cp: writing ‘/usr/local/mysql/data/gbdata/parts_0015.MYI’: No space left on device cp: failed to extend ‘/usr/local/mysql/data/gbdata/parts_0015.MYI’: No space left on device Files are 2.7G - 7.7G big. On Sat, Oct 26, 2013 at 9:46 PM, Igor M igor

Re: No space left on device, problem

2013-10-26 Thread Igor M
On Sat, Oct 26, 2013 at 11:35 PM, Chris Murphy li...@colorremedies.com wrote: On Oct 26, 2013, at 1:46 PM, Igor M igor...@gmail.com wrote: # mount -t btrfs -o compress=lzo,compress-force=lzo / Why do you have two compression mount options? You need to pick one of these. I removed one. I

Re: No space left on device, problem

2013-10-26 Thread Igor M
On Sun, Oct 27, 2013 at 12:17 AM, Chris Murphy li...@colorremedies.com wrote: On Oct 26, 2013, at 3:53 PM, Igor M igor...@gmail.com wrote: I even added enospc_debug mount option, still no messages. If it were kernel enospc, you should have messages in dmesg. What version of btrfs progs

Re: No space left on device, problem

2013-10-26 Thread Igor M
On Sun, Oct 27, 2013 at 12:22 AM, Igor M igor...@gmail.com wrote: On Sun, Oct 27, 2013 at 12:17 AM, Chris Murphy li...@colorremedies.com wrote: On Oct 26, 2013, at 3:53 PM, Igor M igor...@gmail.com wrote: I even added enospc_debug mount option, still no messages. If it were kernel enospc

Re: No space left on device, problem

2013-10-26 Thread Igor M
Didn't see before. btrfs progs were compiled today form git. # btrfs version Btrfs v0.20-rc1-358-g194aa4a -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at