btrfs vs data deduplication

2011-07-09 Thread Paweł Brodacki
Hello, I've stumbled upon this article: http://storagemojo.com/2011/06/27/de-dup-too-much-of-good-thing/ Reportedly Sandforce SF1200 SSD controller does internally block-level data de-duplication. This effectively removes the additional protection given by writing multiple metadata copies. This

A lot of writing to FS only read (Was: Memory leak?)

2011-07-09 Thread Stephane Chazelas
2011-07-09 08:09:55 +0100, Stephane Chazelas: 2011-07-08 16:12:28 -0400, Chris Mason: [...] I'm running a dstat -df at the same time and I'm seeing substantive amount of disk writes on the disks that hold the source FS (and I'm rsyncing from read-only snapshot subvolumes in case

Re: balance on only one subvolume

2011-07-09 Thread Hugo Mills
On Sat, Jul 09, 2011 at 01:40:19AM +0200, krz...@gmail.com wrote: btrfs balance takes very long time on large filesystems. Possibility of running balance on only one subvolume That doesn't make a great deal of sense in terms of the on-disk data structures. or running balance to reclaim

Re: Raid root filesystem?

2011-07-09 Thread Hugo Mills
On Fri, Jul 08, 2011 at 09:45:05PM -0700, Evert Vorster wrote: A year ago a btrfs raid needs to be scanned before it can be mounted. Is this still the case? I would like to have a btrfs raid as root, but so far this was not possible due to the scanning thing, and thus I still need a /boot

Re: btrfs hang in flush-btrfs-5

2011-07-09 Thread Jeremy Sanders
Jeremy Sanders wrote: Hi - I'm trying btrfs with kernel 2.6.38.8-32.fc15.x86_64 (a Fedora kernel). I'm just doing a tar-to-tar copy onto the file system with compress- force=zlib. Here are some traces of the stuck processes. Does anyone have any idea what caused this? Is it fixed in a recent

Kernel Modules

2011-07-09 Thread CACook
Just compiled a custom kernel, but unable to mount a btrfs partition. It essentially says 'unrecognized filesystem'. What could be missing? # File systems # CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y # CONFIG_EXT2_FS_XIP is not set

Re: Memory leak?

2011-07-09 Thread Stephane Chazelas
2011-07-08 12:17:54 -0400, Chris Mason: [...] How easily can you recompile your kernel with more debugging flags? That should help narrow it down. I'm looking for CONFIG_SLAB_DEBUG (or slub) and CONFIG_DEBUG_PAGEALLOC [...] I tried that (with CONFIG_DEBUG_SLAB_LEAK as well) but no difference

Re: Kernel Modules

2011-07-09 Thread CACook
On Saturday 9 July, 2011 10:12:43 you wrote: If your btrfs lives on two or more devices you will have to run 'btrfs device scan' prior to mount or give all devices as arguments to mount.btrfs. Ohhh, I'd added a disk drive without modifying fstab. Thanks. Where would you put a device scan to

Re: Kernel Modules

2011-07-09 Thread Helmut Hullen
Hallo, Cacook, Du meintest am 09.07.11: Just compiled a custom kernel, but unable to mount a btrfs partition. It essentially says 'unrecognized filesystem'. What could be missing? Perhaps you only need a newer kernel. Sounds funny, but some days ago I had a similar problem, with kernel

Re: Kernel Modules

2011-07-09 Thread Hugo Mills
On Sat, Jul 09, 2011 at 10:28:03AM -0700, cac...@quantum-sci.com wrote: On Saturday 9 July, 2011 10:12:43 you wrote: If your btrfs lives on two or more devices you will have to run 'btrfs device scan' prior to mount or give all devices as arguments to mount.btrfs. Ohhh, I'd added a disk

Re: Memory leak?

2011-07-09 Thread cwillu
On Sat, Jul 9, 2011 at 11:09 AM, Stephane Chazelas stephane_chaze...@yahoo.fr wrote: 2011-07-08 11:06:08 -0400, Chris Mason: [...] I would do two things.  First, I'd turn off compress_force.  There's no explicit reason for this, it just seems like the mostly likely place for a bug. [...] I

Re: Memory leak?

2011-07-09 Thread Stephane Chazelas
2011-07-09 13:25:00 -0600, cwillu: On Sat, Jul 9, 2011 at 11:09 AM, Stephane Chazelas stephane_chaze...@yahoo.fr wrote: 2011-07-08 11:06:08 -0400, Chris Mason: [...] I would do two things.  First, I'd turn off compress_force.  There's no explicit reason for this, it just seems like the

Re: Memory leak?

2011-07-09 Thread Stephane Chazelas
2011-07-09 08:09:55 +0100, Stephane Chazelas: 2011-07-08 16:12:28 -0400, Chris Mason: [...] I'm running a dstat -df at the same time and I'm seeing substantive amount of disk writes on the disks that hold the source FS (and I'm rsyncing from read-only snapshot subvolumes in case