Re: Use fast device only for metadata?

2016-02-09 Thread Austin S. Hemmelgarn
On 2016-02-08 16:44, Nikolaus Rath wrote: On Feb 07 2016, Martin Steigerwald wrote: Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: Am Sun, 07 Feb 2016 11:06:58 -0800 schrieb Nikolaus Rath : Hello, I have a large home directory on a

Re: Use fast device only for metadata?

2016-02-09 Thread Nikolaus Rath
On Feb 09 2016, Kai Krakow wrote: > You could even format a bcache superblock "just in case", > and add an SSD later. Without SSD, bcache will just work in passthru > mode. Do the LVM concerns still apply in passthrough mode, or only when there's an actual cache? Thanks,

Re: Use fast device only for metadata?

2016-02-09 Thread Nikolaus Rath
On Feb 09 2016, Kai Krakow wrote: > I'm myself using bcache+btrfs and it ran bullet proof so far, even > after unintentional resets or power outage. It's important tho to NOT > put any storage layer between bcache and your devices or between btrfs > and your device as there

Re: Use fast device only for metadata?

2016-02-09 Thread Nikolaus Rath
On Feb 09 2016, Kai Krakow wrote: >> If there's no way to put LVM anywhere into the stack that'd be a >> bummer, I very much want to use dm-crypt (and I guess that counts as >> lvm?). > > Wasn't there plans for integrating per-file encryption into btrfs (like > there's

Re: Use fast device only for metadata?

2016-02-09 Thread Kai Krakow
Am Tue, 09 Feb 2016 08:10:15 -0800 schrieb Nikolaus Rath : > On Feb 09 2016, Kai Krakow wrote: > > You could even format a bcache superblock "just in case", > > and add an SSD later. Without SSD, bcache will just work in passthru > > mode. > > Do the LVM

Re: Use fast device only for metadata?

2016-02-09 Thread Kai Krakow
Am Tue, 09 Feb 2016 08:09:20 -0800 schrieb Nikolaus Rath : > On Feb 09 2016, Kai Krakow wrote: > > I'm myself using bcache+btrfs and it ran bullet proof so far, even > > after unintentional resets or power outage. It's important tho to > > NOT put any

Re: Use fast device only for metadata?

2016-02-09 Thread Chris Murphy
On Tue, Feb 9, 2016 at 2:43 PM, Kai Krakow wrote: > Wasn't there plans for integrating per-file encryption into btrfs (like > there's already for ext4)? I think this could pretty well obsolete your > plans - except you prefer full-device encryption.

Re: Use fast device only for metadata?

2016-02-09 Thread Henk Slager
On Tue, Feb 9, 2016 at 8:29 AM, Kai Krakow wrote: > Am Mon, 08 Feb 2016 13:44:17 -0800 > schrieb Nikolaus Rath : > >> On Feb 07 2016, Martin Steigerwald wrote: >> > Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: >> >>

Re: Use fast device only for metadata?

2016-02-09 Thread Henk Slager
On Tue, Feb 9, 2016 at 11:38 PM, Nikolaus Rath wrote: > On Feb 09 2016, Kai Krakow wrote: >>> If there's no way to put LVM anywhere into the stack that'd be a >>> bummer, I very much want to use dm-crypt (and I guess that counts as >>> lvm?). >> >> Wasn't

Re: Use fast device only for metadata?

2016-02-09 Thread Nikolaus Rath
On Feb 08 2016, Nikolaus Rath wrote: > Otherwise I'll give bcache a shot. I've avoided it so far because of the > need to reformat and because of rumours that it doesn't work well with > LVM or BTRFS. But it sounds as if that's not the case.. I now have the following stack:

Re: Use fast device only for metadata?

2016-02-08 Thread Austin S. Hemmelgarn
On 2016-02-07 15:59, Martin Steigerwald wrote: Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: Am Sun, 07 Feb 2016 11:06:58 -0800 schrieb Nikolaus Rath : Hello, I have a large home directory on a spinning disk that I regularly synchronize between different

Re: Use fast device only for metadata?

2016-02-08 Thread Kai Krakow
Am Mon, 08 Feb 2016 13:44:17 -0800 schrieb Nikolaus Rath : > On Feb 07 2016, Martin Steigerwald wrote: > > Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: > >> Am Sun, 07 Feb 2016 11:06:58 -0800 > >> > >> schrieb Nikolaus Rath

Re: Use fast device only for metadata?

2016-02-08 Thread Qu Wenruo
On 02/08/2016 09:29 PM, Austin S. Hemmelgarn wrote: On 2016-02-08 08:20, Qu Wenruo wrote: On 02/08/2016 08:24 PM, Austin S. Hemmelgarn wrote: On 2016-02-07 15:59, Martin Steigerwald wrote: Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: Am Sun, 07 Feb 2016 11:06:58 -0800

Re: Use fast device only for metadata?

2016-02-08 Thread Austin S. Hemmelgarn
On 2016-02-08 08:20, Qu Wenruo wrote: On 02/08/2016 08:24 PM, Austin S. Hemmelgarn wrote: On 2016-02-07 15:59, Martin Steigerwald wrote: Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: Am Sun, 07 Feb 2016 11:06:58 -0800 schrieb Nikolaus Rath : Hello, I have

Re: Use fast device only for metadata?

2016-02-08 Thread Qu Wenruo
On 02/08/2016 08:24 PM, Austin S. Hemmelgarn wrote: On 2016-02-07 15:59, Martin Steigerwald wrote: Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: Am Sun, 07 Feb 2016 11:06:58 -0800 schrieb Nikolaus Rath : Hello, I have a large home directory on a spinning

Re: Use fast device only for metadata?

2016-02-08 Thread Duncan
Nikolaus Rath posted on Mon, 08 Feb 2016 13:44:17 -0800 as excerpted: > Otherwise I'll give bcache a shot. I've avoided it so far because of the > need to reformat and because of rumours that it doesn't work well with > LVM or BTRFS. But it sounds as if that's not the case.. Bcache used to have

Re: Use fast device only for metadata?

2016-02-08 Thread Nikolaus Rath
On Feb 07 2016, Martin Steigerwald wrote: > Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: >> Am Sun, 07 Feb 2016 11:06:58 -0800 >> >> schrieb Nikolaus Rath : >> > Hello, >> > >> > I have a large home directory on a spinning disk that I

Re: Use fast device only for metadata?

2016-02-07 Thread Martin Steigerwald
Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: > Am Sun, 07 Feb 2016 11:06:58 -0800 > > schrieb Nikolaus Rath : > > Hello, > > > > I have a large home directory on a spinning disk that I regularly > > synchronize between different computers using unison. That

Re: Use fast device only for metadata?

2016-02-07 Thread Kai Krakow
Am Sun, 07 Feb 2016 11:06:58 -0800 schrieb Nikolaus Rath : > Hello, > > I have a large home directory on a spinning disk that I regularly > synchronize between different computers using unison. That takes ages, > even though the amount of changed files is typically small. I

Use fast device only for metadata?

2016-02-07 Thread Nikolaus Rath
Hello, I have a large home directory on a spinning disk that I regularly synchronize between different computers using unison. That takes ages, even though the amount of changed files is typically small. I suspect most if the time is spend walking through the file system and checking mtimes. So

Re: Use fast device only for metadata?

2016-02-07 Thread Duncan
Martin Steigerwald posted on Sun, 07 Feb 2016 21:59:48 +0100 as excerpted: > Am Sonntag, 7. Februar 2016, 21:07:13 CET schrieb Kai Krakow: >> Am Sun, 07 Feb 2016 11:06:58 -0800 >> >> schrieb Nikolaus Rath : >>> >>> I have a large home directory on a spinning disk that I