`btrfs receive` almost coming to a halt

2013-05-09 Thread Remco Hosman - Yerf IT
kernel: 3.9.0 btrfs-progs: pulled from git this morning Trying to receive a 5gig send file. the first bit is fast, doing 10 - 50MB/sec. then it slows down. cpu usage is 50% (dual core machine). when i do a strace, it looks like this, repeating over an over, about 1 piece each second: -- read(3,

Re: `btrfs receive` almost coming to a halt

2013-05-10 Thread Remco Hosman - Yerf IT
On May 10, 2013, at 9:27 AM, Arne Jansen sensi...@gmx.net wrote: On 09.05.2013 17:14, Remco Hosman - Yerf IT wrote: kernel: 3.9.0 btrfs-progs: pulled from git this morning Trying to receive a 5gig send file. the first bit is fast, doing 10 - 50MB/sec. then it slows down. cpu usage is 50

Re: Btrfs balance invalid argument error

2013-05-10 Thread Remco Hosman - Yerf IT
On May 10, 2013, at 10:21 PM, Hugo Mills h...@carfax.org.uk wrote: On Fri, May 10, 2013 at 10:07:56PM +0200, Marcus Lövgren wrote: Hi list, I am using kernel 3.9.0, btrfs-progs 0.20-rc1-253-g7854c8b. I have a three disk array of level single: # btrfs fi sh Label: none uuid:

Sparsify / hole punching tool

2012-11-18 Thread Remco Hosman - Yerf IT
I wrote a little tool you can use to scan a file and punch holes, so make it sparse. Confirmed to work on 3.7.0-rc6 Feel free to use it in any way you like, and of course improve it. http://pastebin.com/8SjEsBLD Remco Hosman-- To unsubscribe from this list: send the line unsubscribe

Re: Sparsify / hole punching tool

2012-11-18 Thread Remco Hosman - Yerf IT
:19 PM, Hugo Mills h...@carfax.org.uk wrote: On Sun, Nov 18, 2012 at 10:04:29PM +0100, Remco Hosman - Yerf IT wrote: I wrote a little tool you can use to scan a file and punch holes, so make it sparse. Confirmed to work on 3.7.0-rc6 Feel free to use it in any way you like, and of course

find_mount_root() issue

2014-08-31 Thread Remco Hosman - Yerf IT.nl
issue: on my system i have 2 entries for /, one with the type ‘rootfs’ and a 2nd one with the type ‘btrfs’. find_mount_root() uses the first one and reports a fail. My change: if (longest_matchlen len) { into: if (longest_matchlen = len) { i have not tested this, but in my understanding it

Re: add, remove; how about merge?

2012-12-21 Thread Remco Hosman - Yerf IT
I think thats possible with btrfs-send/receive Remco On Dec 21, 2012, at 7:16 PM, Gene Czarcinski g...@czarc.net wrote: I am new at this btrfs stuff! As I understand it, you can add a physical disk or partition and have data spread into the new space. You can also move data off a disk or

Re: lvm volume like support

2013-02-25 Thread Remco Hosman - Yerf-IT
Can't thus be done with a regular file and a loop back device? Remco On 26 Feb 2013, at 06:35, Suman C schakr...@gmail.com wrote: Yes, zvol like feature where a btrfs subvolume like construct can be made available as a LUN/block device. This device can then be used by any application that

Re: lvm volume like support

2013-02-25 Thread Remco Hosman - Yerf IT
would be really cool if a TRIM to the loopback device would do a 'hole punch' on the file Remco On Feb 26, 2013, at 7:25 AM, Suman C schakr...@gmail.com wrote: Thanks for the sparse file idea, I am actually using that solution already. I am not sure if its the best way, however. Suman

Re: converting to raid5

2013-03-19 Thread Remco Hosman - Yerf-IT
Op 15-3-2013 13:47, David Sterba schreef: On Mon, Mar 11, 2013 at 09:15:44PM +0100, Remco Hosman wrote: first, i did the following: `btrfs val start -dconvert=raid5,usage=1` to convert the mostly empty chunks. This resulted in a lot of allocated space (10's of gigs), with only a few 100 meg

Re: [PATCH] Btrfs: disallow 'btrfs {balance,replace} cancel' on ro mounts

2013-10-11 Thread Remco Hosman - Yerf-IT
Op 11-10-2013 11:23, Stefan Behrens schreef: On Fri, 11 Oct 2013 09:13:24 +0800, Wang Shilong wrote: On 10/11/2013 01:40 AM, Ilya Dryomov wrote: I have a question in my mind. Can we reach a state that there is operation in progress when filesystem has been readonly?If we do cancel operations

ENOSPC during balance

2014-01-12 Thread Remco Hosman - Yerf IT
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

Re: ENOSPC during balance

2014-01-17 Thread Remco Hosman - Yerf IT
On 13 Jan 2014, at 18:43, David Sterba dste...@suse.cz wrote: On Sun, Jan 12, 2014 at 03:49:12PM +0100, Remco Hosman - Yerf IT wrote: 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

hitting BUG_ON on troublesome FS

2014-02-03 Thread Remco Hosman - Yerf-it.com
FIrst, a bit of history of the filesystem: used to be 6 disks, now 5. partially raid1 / raid10. been migrating back and forth a few times. As some point, a balance would not complete and would end with 164 ENOSPC’ses, while there was plenty of unallocated space on each disk. i scanned for

Re: hitting BUG_ON on troublesome FS

2014-02-04 Thread Remco Hosman - Yerf-it.com
to provide useful information? Remco On 03 Feb 2014, at 21:51, Remco Hosman - Yerf-it.com re...@yerf-it.com wrote: FIrst, a bit of history of the filesystem: used to be 6 disks, now 5. partially raid1 / raid10. been migrating back and forth a few times. As some point, a balance would not complete

Re: hitting BUG_ON on troublesome FS

2014-02-04 Thread Remco Hosman - Yerf-it.com
, used=3D36.00KiB i made a image with `btrfs-image`, when i do -c 9, the file size is 7k, = so eazy enough to mail if it would be of any use. Remco On 04 Feb 2014, at 22:48, Josef Bacik jba...@fb.com wrote: On 02/03/2014 03:51 PM, Remco Hosman - Yerf-it.com wrote: FIrst, a bit of history