Re: Ceph journal

2012-11-03 Thread Gregory Farnum
On Thu, Nov 1, 2012 at 10:33 PM, Gandalf Corvotempesta wrote: > 2012/11/1 Mark Nelson : >> It will do that for a while, based on how you've tweaked the flush intervals >> and various journal settings to determine how much data ceph will allow to >> hang out in the journal while still accepting new

Re: Ceph journal

2012-11-01 Thread Mark Nelson
On 11/01/2012 04:18 PM, Gandalf Corvotempesta wrote: 2012/10/31 Stefan Kleijkers : As far as I know, this is correct. You get a ACK (on the write) back after it landed on ALL three journals (or/and osds in case of BTRFS in parallel mode). So If you lose one node, you still have it in two more no

Re: Ceph journal

2012-10-31 Thread Sébastien Han
Hi, Personally I won't take the risk to loose transactions. If a client writes into a journal, assuming it's the first write and if the server crashs for whatever reason, you have high risk of un-consistent data. Because you just lost what was in the journal. Tmpfs is the cheapest solution for ach

Re: Ceph journal

2012-10-31 Thread Stefan Kleijkers
Hello, On 10/31/2012 10:58 PM, Gandalf Corvotempesta wrote: 2012/10/31 Tren Blackburn : Unless you're using btrfs which writes to the journal and osd fs concurrently, if you lose the journal device (such as due to a reboot), you've lost the osd device, requiring it to be remade and re-added. I

Re: Ceph journal

2012-10-31 Thread Sage Weil
On Wed, 31 Oct 2012, Tren Blackburn wrote: > On Wed, Oct 31, 2012 at 2:18 PM, Gandalf Corvotempesta > wrote: > > In a multi replica cluster (for example, replica = 3) is safe to set > > journal on a tmpfs? > > As fa as I understood with journal enabled all writes are wrote on > > journal and then

Re: Ceph journal

2012-10-31 Thread Stefan Kleijkers
Hello, On 10/31/2012 10:24 PM, Tren Blackburn wrote: On Wed, Oct 31, 2012 at 2:18 PM, Gandalf Corvotempesta wrote: In a multi replica cluster (for example, replica = 3) is safe to set journal on a tmpfs? As fa as I understood with journal enabled all writes are wrote on journal and then to dis

Re: Ceph journal

2012-10-31 Thread Tren Blackburn
On Wed, Oct 31, 2012 at 2:18 PM, Gandalf Corvotempesta wrote: > In a multi replica cluster (for example, replica = 3) is safe to set > journal on a tmpfs? > As fa as I understood with journal enabled all writes are wrote on > journal and then to disk in a second time. > If node hangs when datas ar