Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread ronnie sahlberg
On Wed, Jan 22, 2014 at 1:16 PM, Chris Mason wrote: > On Wed, 2014-01-22 at 13:06 -0800, ronnie sahlberg wrote: >> On Wed, Jan 22, 2014 at 12:45 PM, Chris Mason wrote: >> > On Tue, 2014-01-21 at 17:08 +, Duncan wrote: >> >> Graham Fleming posted on Tue, 21 Jan 2014 01:06:37 -0800 as excerpted

Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread Chris Mason
On Wed, 2014-01-22 at 13:06 -0800, ronnie sahlberg wrote: > On Wed, Jan 22, 2014 at 12:45 PM, Chris Mason wrote: > > On Tue, 2014-01-21 at 17:08 +, Duncan wrote: > >> Graham Fleming posted on Tue, 21 Jan 2014 01:06:37 -0800 as excerpted: > >> > >> > Thanks for all the info guys. > >> > > >> >

Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread ronnie sahlberg
On Wed, Jan 22, 2014 at 12:45 PM, Chris Mason wrote: > On Tue, 2014-01-21 at 17:08 +, Duncan wrote: >> Graham Fleming posted on Tue, 21 Jan 2014 01:06:37 -0800 as excerpted: >> >> > Thanks for all the info guys. >> > >> > I ran some tests on the latest 3.12.8 kernel. I set up 3 1GB files and >

Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread Chris Mason
On Tue, 2014-01-21 at 17:08 +, Duncan wrote: > Graham Fleming posted on Tue, 21 Jan 2014 01:06:37 -0800 as excerpted: > > > Thanks for all the info guys. > > > > I ran some tests on the latest 3.12.8 kernel. I set up 3 1GB files and > > attached them to /dev/loop{1..3} and created a BTRFS RAI

Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread Duncan
Jim Salter posted on Tue, 21 Jan 2014 12:18:01 -0500 as excerpted: > Would it be reasonably accurate to say "btrfs' RAID5 implementation is > likely working well enough and safe enough if you are backing up > regularly and are willing and able to restore from backup if necessary > if a device fail

Re: Scrubbing with BTRFS Raid 5

2014-01-22 Thread Duncan
Graham Fleming posted on Tue, 21 Jan 2014 10:03:26 -0800 as excerpted: > I want to keep playing around with BTRFSS RAID 5 and testing with it... > assuming I have a drive with bad blocks, or let's say some inconsistent > parity am I right in assuming that a) a btrfs scrub operation will not > fix

Re: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Jim Salter
There are different values of "testing" and of "production" - in my world, at least, they're not atomically defined categories. =) On 01/21/2014 12:38 PM, Chris Murphy wrote: It's for testing purposes. If you really want to commit a production machine for testing a file system, and you're prepa

RE: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Graham Fleming
Thanks again for the added info; very helpful. I want to keep playing around with BTRFSS RAID 5 and testing with it... assuming I have a drive with bad blocks, or let's say some inconsistent parity am I right in assuming that a) a btrfs scrub operation will not fix the stripes with bad parity a

Re: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Chris Murphy
On Jan 21, 2014, at 10:18 AM, Jim Salter wrote: > Would it be reasonably accurate to say "btrfs' RAID5 implementation is likely > working well enough and safe enough if you are backing up regularly and are > willing and able to restore from backup if necessary if a device failure goes > horri

Re: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Jim Salter
Would it be reasonably accurate to say "btrfs' RAID5 implementation is likely working well enough and safe enough if you are backing up regularly and are willing and able to restore from backup if necessary if a device failure goes horribly wrong", then? This is a reasonably serious question.

Re: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Duncan
Graham Fleming posted on Tue, 21 Jan 2014 01:06:37 -0800 as excerpted: > Thanks for all the info guys. > > I ran some tests on the latest 3.12.8 kernel. I set up 3 1GB files and > attached them to /dev/loop{1..3} and created a BTRFS RAID 5 volume with > them. > > I copied some data (from dev/ura

RE: Scrubbing with BTRFS Raid 5

2014-01-21 Thread Graham Fleming
Thanks for all the info guys. I ran some tests on the latest 3.12.8 kernel. I set up 3 1GB files and attached them to /dev/loop{1..3} and created a BTRFS RAID 5 volume with them. I copied some data (from dev/urandom) into two test files and got their MD5 sums and saved them to a text file. I t

Re: Scrubbing with BTRFS Raid 5

2014-01-20 Thread Duncan
Graham Fleming posted on Sun, 19 Jan 2014 16:53:13 -0800 as excerpted: > From the wiki, I see that scrubbing is not supported on a RAID 5 volume. > > Can I still run the scrub routing (maybe read-only?) to check for any > issues. I understand at this point running 3.12 kernel there are no > routi

Scrubbing with BTRFS Raid 5

2014-01-19 Thread Graham Fleming
>From the wiki, I see that scrubbing is not supported on a RAID 5 volume. Can I still run the scrub routing (maybe read-only?) to check for any issues. I understand at this point running 3.12 kernel there are no routines to fix parity issues with RAID 5 while scrubbing but just want to know if I