Re: Balance scrub defrag

2014-12-12 Thread Erkki Seppala
Robert White rwh...@pobox.com writes: You need to buy better disks. 8-) Where can one buy these better disks with reasonable prices?-) Disks are best thought of as consumables. I use SMART (smartmontools etc) and its tests to keep track of and warn me of such issues. It's way more likely to

Re: Balance scrub defrag

2014-12-12 Thread Tomasz Chmielewski
I use SMART (smartmontools etc) and its tests to keep track of and warn me of such issues. It's way more likely to catch incipient media failures long before scrub would. It's also more likely to correct situations before they become visible to userspace. Its also a way better full-platter scan

Re: Balance scrub defrag

2014-12-12 Thread Robert White
On 12/12/2014 01:17 AM, Erkki Seppala wrote: Robert White rwh...@pobox.com writes: You need to buy better disks. 8-) Where can one buy these better disks with reasonable prices?-) Disks are best thought of as consumables. A good disk is only about 9% more expensive. So like the WD green

Re: Balance scrub defrag

2014-12-12 Thread Zygo Blaxell
On Fri, Dec 12, 2014 at 11:17:58AM +0200, Erkki Seppala wrote: That may be sort of true, but I think even SMART is helped by the fact that the media is read through from the beginning to the end*, so it can detect even the errors that don't bubble through the IO layer. And BTRFS can indeed

Re: Balance scrub defrag

2014-12-11 Thread Duncan
sys.syphus posted on Wed, 10 Dec 2014 16:15:17 -0600 as excerpted: I am working on a script that i can run daily that will do maintenance on my btrfs mountpoints. is there any reason not to concurrently do all of the above? possibly including discards as well. also, is there anything

Re: Balance scrub defrag

2014-12-11 Thread Russell Coker
On Wed, 10 Dec 2014 17:17:28 Robert White wrote: A _monthly_ scrub is maybe worth scheduling if you have a lot of churn in your disk contents. I do weekly scrubs. I recently had 2 disks in a RAID-1 array develop read errors within a month of each other. The first scrub after replacing sdb

Re: Balance scrub defrag

2014-12-11 Thread Robert White
On 12/11/2014 05:00 PM, Russell Coker wrote: On Wed, 10 Dec 2014 17:17:28 Robert White wrote: A _monthly_ scrub is maybe worth scheduling if you have a lot of churn in your disk contents. I do weekly scrubs. I recently had 2 disks in a RAID-1 array develop read errors within a month of each

Re: Balance scrub defrag

2014-12-11 Thread Zygo Blaxell
On Wed, Dec 10, 2014 at 04:15:17PM -0600, sys.syphus wrote: I am working on a script that i can run daily that will do maintenance on my btrfs mountpoints. is there any reason not to concurrently do all of the above? possibly including discards as well. also, is there anything existing

Balance scrub defrag

2014-12-10 Thread sys.syphus
I am working on a script that i can run daily that will do maintenance on my btrfs mountpoints. is there any reason not to concurrently do all of the above? possibly including discards as well. also, is there anything existing currently that will do maintenance on btrfs so i don't have to

Re: Balance scrub defrag

2014-12-10 Thread Robert White
On 12/10/2014 02:15 PM, sys.syphus wrote: I am working on a script that i can run daily that will do maintenance on my btrfs mountpoints. is there any reason not to concurrently do all of the above? possibly including discards as well. also, is there anything existing currently that will do