Re: Questions about multi-device behavior

2013-08-02 Thread David Sterba
On Thu, Jul 18, 2013 at 02:05:31PM -0600, Chris Murphy wrote: On Jul 18, 2013, at 11:33 AM, David Sterba dste...@suse.cz wrote: The missing data blocks return IO error and the valid data can be read. Sounds like if I have a degraded 'single' volume, I can simply cp or rsync

Re: Questions about multi-device behavior

2013-07-18 Thread Chris Murphy
On Jul 18, 2013, at 11:33 AM, David Sterba dste...@suse.cz wrote: The missing data blocks return IO error and the valid data can be read. Sounds like if I have a degraded 'single' volume, I can simply cp or rsync everything from that volume to another, and I'll end up with a successful copy

Re: Questions about multi-device behavior

2013-07-18 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/07/13 13:05, Chris Murphy wrote: Sounds like if I have a degraded 'single' volume, I can simply cp or rsync everything from that volume to another, and I'll end up with a successful copy of the surviving data. True? Not quite. I did it with

Re: Questions about multi-device behavior

2013-07-18 Thread Hugo Mills
On Thu, Jul 18, 2013 at 02:59:58PM -0700, Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/07/13 13:05, Chris Murphy wrote: Sounds like if I have a degraded 'single' volume, I can simply cp or rsync everything from that volume to another, and I'll end up with a

Questions about multi-device behavior

2013-07-17 Thread Florian Lindner
Hello! I create a btrfs volume comprised of two partitions: # mkfs.btrfs -m dup -d single /dev/sdd1 /dev/sde1 metadata ist mirrored on each device, data chunks are scattered more or less randomly on one disk. a) If one disk fails, is there any chance of data recovery? b) If not, is there

Re: Questions about multi-device behavior

2013-07-17 Thread Chris Murphy
On Jul 17, 2013, at 3:24 PM, Florian Lindner mailingli...@xgm.de wrote: a) If one disk fails, is there any chance of data recovery? Slim to none it seems so far. Maybe with more specialized tools. b) If not, is there any advantage over a raid0 configuration. raid0 allocates equal chunks,

Re: Questions about multi-device behavior

2013-07-17 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/07/13 14:24, Florian Lindner wrote: metadata ist mirrored on each device, data chunks are scattered more or less randomly on one disk. a) If one disk fails, is there any chance of data recovery? b) If not, is there any advantage over a